Menu

#53 Allow stored procedure calls in 3.0b1

ZMySQLDA
closed
ZMySQLDA (17)
5
2012-09-19
2008-07-22
No

ZMySQLDA doesn't use callproc(); the only option to use stored procedures is via an explicit CALL.
Unfortunately if this is done, the status result won't be fetched, thus leading to _mysql_exceptions.ProgrammingError: (2014, "Commands out of sync; you can't run this command now") exceptions because there is an outstanding result (see http://dev.mysql.com/doc/refman/5.0/en/c-api-multiple-queries.html).
The attached diff fixes it. A different approach would be better, but I lack the time at the moment, so maybe others can come with something better.
Regards,

f.-

Discussion

  • Federico Schwindt

     
  • John Eikenberry

    John Eikenberry - 2008-08-14

    Logged In: YES
    user_id=1573938
    Originator: NO

    Your patch, or a variation, has been applied to the current CVS tree.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.