diff options
author | Bill King <bill.king@nokia.com> | 2009-08-04 04:57:36 (GMT) |
---|---|---|
committer | Bill King <bill.king@nokia.com> | 2009-08-04 05:08:37 (GMT) |
commit | 5fb4b30f96679d000086a49a2d25372421193a88 (patch) | |
tree | 30bfb9efe85962f0690c5add6b3acf0447ad0bc1 /doc/src/snippets/code/src_xml_sax_qxml.cpp | |
parent | 0b5511f621159a1a0a13650f94811a218e2c126a (diff) | |
download | Qt-5fb4b30f96679d000086a49a2d25372421193a88.zip Qt-5fb4b30f96679d000086a49a2d25372421193a88.tar.gz Qt-5fb4b30f96679d000086a49a2d25372421193a88.tar.bz2 |
Fixes failed queries when mysql auto-prepares
Queries like "Show Index" etc, fail on mysql when automatically prepared
due to a bug in several versions of mysql. Basically anything but a
select query will fail. This fixes this by making the user explicitly
prepare the query if they want to, and the blame then falls on them
if they try and prepare a statement likely to fail. This fix also
seems to result in a speedup for single-execution queries, possibly
due to reduction in roundtrip communications.
All autotests pass & behaviour conforms to documentation.
Task-number: 252450, 246125
Diffstat (limited to 'doc/src/snippets/code/src_xml_sax_qxml.cpp')
0 files changed, 0 insertions, 0 deletions