Skip to content

Commit 51630d5

Browse files
committed
MDEV-13115: SKIP LOCKED postfix
Move skip_locked near other bools
1 parent de119fa commit 51630d5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sql/sql_lex.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1295,13 +1295,13 @@ class st_select_lex: public st_select_lex_node
12951295
bool exclude_from_table_unique_test;
12961296
/* the select is "service-select" and can not have tables*/
12971297
bool is_service_select;
1298-
/* index in the select list of the expression currently being fixed */
1299-
int cur_pos_in_select_list;
1300-
13011298
/* SELECT [FOR UPDATE/LOCK IN SHARE MODE] [SKIP LOCKED] */
1299+
bool skip_locked;
13021300
enum select_lock_type {NONE, IN_SHARE_MODE, FOR_UPDATE};
13031301
enum select_lock_type select_lock;
1304-
bool skip_locked;
1302+
1303+
/* index in the select list of the expression currently being fixed */
1304+
int cur_pos_in_select_list;
13051305

13061306
List<udf_func> udf_list; /* udf function calls stack */
13071307

0 commit comments

Comments
 (0)