summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2016-09-11 20:53:16 +0200
committerSergei Golubchik <serg@mariadb.org>2016-09-12 16:42:04 +0200
commit611dc0dcf4b39c670daf229f10e43b8b33f6e8c3 (patch)
tree3f7298e86fb0341d38c2b6892cbf4bd872f0664d /sql/sql_class.h
parenta2290919533df16afdfdbd0679f80734b5a36109 (diff)
downloadmariadb-git-611dc0dcf4b39c670daf229f10e43b8b33f6e8c3.tar.gz
missing element in prelocked_mode_name[] array
different fix for a63a250d40: BUG#23509275 :DBUG_PRINT in THD::decide_logging_format prints incorrectly, access out-of-bound
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index da83382d5e9..27bc40e3761 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -1075,7 +1075,8 @@ enum enum_locked_tables_mode
LTM_NONE= 0,
LTM_LOCK_TABLES,
LTM_PRELOCKED,
- LTM_PRELOCKED_UNDER_LOCK_TABLES
+ LTM_PRELOCKED_UNDER_LOCK_TABLES,
+ LTM_always_last
};