summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authormarko@hundin.mysql.fi <>2004-10-13 22:54:21 +0300
committermarko@hundin.mysql.fi <>2004-10-13 22:54:21 +0300
commitedb93ca441df3257bccc320496a765b93779ce66 (patch)
treedcfb685f5a1696d2b8d23c9fd6988c7646d6e469 /sql/sql_class.h
parent41ab008a366b67d13431cf4977572713b9e1939e (diff)
downloadmariadb-git-edb93ca441df3257bccc320496a765b93779ce66.tar.gz
Added startup option and settable session variable
innodb_table_locks_old_behavior: do not acquire an InnoDB table lock for LOCK TABLES, as in mysql-4.0.18 and earlier.
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index af53574eeaf..8c383d5848d 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -338,6 +338,9 @@ struct system_variables
my_bool low_priority_updates;
my_bool new_mode;
my_bool query_cache_wlock_invalidate;
+#ifdef HAVE_INNOBASE_DB
+ my_bool innodb_table_locks_old_behavior;
+#endif /* HAVE_INNOBASE_DB */
CONVERT *convert_set;
};