|
[
Permalink
| « Hide
]
Jason Wharton added a comment - 15/Jan/12 06:03 PM
This is a simple app that will cause the error to manifest.
I neglected to mention, I have one of the later daily builds of 2.5.2 installed on a 64 bit Win7 machine.
I would like to BUMP this issue a bit as it is really holding back a lot of customers and creating problems because this is the most efficient way to perform operations my component set needs. I have had others download the sample app and confirm there is indeed a problem in Firebird.
It has nothing to do with the RETURNING clause per se, it should affect any statement that has both input and output parameters and being executed via isc_dsql_exec_immed2(). And this bug seems to be pretty old (inherited from InterBase). The embedded server should work correctly, BTW, as the bug resides inside the remote server code.
Interesting. I have had a history of problems with this API call. Hopefully now with your attention drawn to it you can get things tidied up. I have been waiting a LONG time to be able to rely on this API call.
I have committed a fix into v2.5.2, so please test the next (tomorrow's) snapshot build and report back. Your test case now works without errors, but I'm pretty sure you have other interesting examples to try as well.
I tested this and it indeed appears to be resolved. THANK YOU!
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||