Skip to content

Commit aa8af2d

Browse files
FooBarriorjanlindstrom
authored andcommitted
Fix CF_ flags numeration for sql_command_flags
1 parent 1efbba3 commit aa8af2d

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

sql/sql_class.h

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7603,27 +7603,23 @@ class select_dumpvar :public select_result_interceptor {
76037603
If command creates or drops a database
76047604
*/
76057605
#define CF_DB_CHANGE (1U << 23)
7606+
/**
7607+
Statement that deletes existing rows (DELETE, DELETE_MULTI)
7608+
*/
7609+
#define CF_DELETES_DATA (1U << 24)
76067610

76077611
#ifdef WITH_WSREP
76087612
/**
76097613
DDL statement that may be subject to error filtering.
76107614
*/
7611-
#define CF_WSREP_MAY_IGNORE_ERRORS (1U << 24)
7615+
#define CF_WSREP_MAY_IGNORE_ERRORS (1U << 25)
76127616
/**
76137617
Basic DML statements that create writeset.
76147618
*/
7615-
#define CF_WSREP_BASIC_DML (1u << 25)
7616-
7619+
#define CF_WSREP_BASIC_DML (1u << 26)
76177620
#endif /* WITH_WSREP */
76187621

7619-
76207622
/* Bits in server_command_flags */
7621-
7622-
/**
7623-
Statement that deletes existing rows (DELETE, DELETE_MULTI)
7624-
*/
7625-
#define CF_DELETES_DATA (1U << 24)
7626-
76277623
/**
76287624
Skip the increase of the global query id counter. Commonly set for
76297625
commands that are stateless (won't cause any change on the server

0 commit comments

Comments
 (0)