Merge lp:~linuxjedi/drizzle/trunk-bug-707842 into lp:drizzle/7.0

Proposed by Andrew Hutchings
Status: Merged
Approved by: Brian Aker
Approved revision: 2115
Merged at revision: 2120
Proposed branch: lp:~linuxjedi/drizzle/trunk-bug-707842
Merge into: lp:drizzle/7.0
Diff against target: 19 lines (+2/-0)
1 file modified
plugin/mysql_protocol/options.h (+2/-0)
To merge this branch: bzr merge lp:~linuxjedi/drizzle/trunk-bug-707842
Reviewer Review Type Date Requested Status
Drizzle Developers Pending
Review via email: mp+47518@code.launchpad.net

Description of the change

Tell clients that we actually do support transactions

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugin/mysql_protocol/options.h'
2--- plugin/mysql_protocol/options.h 2010-12-09 13:44:51 +0000
3+++ plugin/mysql_protocol/options.h 2011-01-26 12:39:12 +0000
4@@ -85,6 +85,7 @@
5 #define CLIENT_PROTOCOL_MYSQL41 512 /* New 4.1 protocol */
6 #define CLIENT_SSL 2048 /* Switch to SSL after handshake */
7 #define CLIENT_IGNORE_SIGPIPE 4096 /* IGNORE sigpipes */
8+#define CLIENT_TRANSACTIONS 8192 /* Support transactions */
9 #define CLIENT_RESERVED 16384 /* Old flag for 4.1 protocol */
10 #define CLIENT_SECURE_CONNECTION 32768 /* New 4.1 authentication */
11 #define CLIENT_MULTI_STATEMENTS (1UL << 16) /* Enable/disable multi-stmt support */
12@@ -106,6 +107,7 @@
13 CLIENT_IGNORE_SPACE | \
14 CLIENT_SSL | \
15 CLIENT_IGNORE_SIGPIPE | \
16+ CLIENT_TRANSACTIONS | \
17 CLIENT_RESERVED | \
18 CLIENT_SECURE_CONNECTION | \
19 CLIENT_MULTI_STATEMENTS | \

Subscribers

People subscribed via source and target branches