[Libreoffice-bugs] [Bug 103685] SQL... dialog Status: "Commands out of sync" when connecting to MySQL using direct (native) connector

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Sep 20 05:17:41 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=103685

--- Comment #7 from Julien Nabet <serval2412 at yahoo.fr> ---
(In reply to Lionel Elie Mamane from comment #6)
> (In reply to Julien Nabet from comment #5)
> > Lionel:
>...
> This looks like it fetches the first result set and then throws it away.
> Always. Even when the caller wants the result. I'm rather sure this will
> cause other problems. E.g. when the query actually returns multiple result
> sets, the caller will not get the first one, only the second, third, etc.
> 
> The solution is probably in code that _calls_ that. E.g. the code that
> implements the "Execute SQL Statement" dialog.

Also, in case of a Select like here, I wonder if we shouldn't simply call
executeQuery (as when checkbox is checked). The only diff would be not
displaying the result.
Anyway, I'll give a try to your suggestion.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170920/5d72e67c/attachment.html>


More information about the Libreoffice-bugs mailing list