From 51630d595d49c57946d71ab5cb06a552dc19d4be Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Sat, 10 Apr 2021 07:40:38 +1000 Subject: [PATCH] MDEV-13115: SKIP LOCKED postfix Move skip_locked near other bools --- sql/sql_lex.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sql/sql_lex.h b/sql/sql_lex.h index 02f5b357c50..7e3fc2fd0e5 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -1295,13 +1295,13 @@ public: bool exclude_from_table_unique_test; /* the select is "service-select" and can not have tables*/ bool is_service_select; - /* index in the select list of the expression currently being fixed */ - int cur_pos_in_select_list; - /* SELECT [FOR UPDATE/LOCK IN SHARE MODE] [SKIP LOCKED] */ + bool skip_locked; enum select_lock_type {NONE, IN_SHARE_MODE, FOR_UPDATE}; enum select_lock_type select_lock; - bool skip_locked; + + /* index in the select list of the expression currently being fixed */ + int cur_pos_in_select_list; List udf_list; /* udf function calls stack */