From: Skip M. <sk...@po...> - 2014-03-13 15:00:10
|
> Given this simple stored procedure: > > create stored procedure test_proc > as > return 1 > > Is there a way in 0.40pre2 to get the return value? I believe I have this figured out. There is a bug in the handling of the status result. Unlike 0.38 and earlier, the return value of the stored procedure is processed. Unfortunately, it's saved to a local variable instead of in an attribute of the Cursor object. I've attached a proposed patch. The user here who was stung by this thinks it's the proper fix. Hopefully someone is reading this (Rob?, Sebastien? Andrew? Dave?) and can comment on its accuracy. Skip |