Open GoogleCodeExporter opened 9 years ago
Here is a patch that fixes the issue. QueryResult::next does not release the
locks when there is an exception.
I suppose the problem appears with any exception that occurs during execute.
Don't know if this is your prefered way of doing this, actually I'm a bit
confused about what the return value of "next" is supposed to be... "true on
success, false if the query is finished executing", hmm? false on error, I
suppose?
Thank you for writing SQLHeavy, very useful!
Regards,
Simon Kågedal Reimer
Original comment by skagedal
on 17 Jul 2013 at 7:37
Hmm, what happened to the attachment? Let's try agian.
Original comment by skagedal
on 17 Jul 2013 at 7:38
Attachments:
Improved patch per feedback from Evan on irc.
Original comment by skagedal
on 18 Jul 2013 at 3:14
Attachments:
Original issue reported on code.google.com by
skagedal
on 17 Jul 2013 at 5:55Attachments: