diff options
author | serg@sergbook.mysql.com <> | 2007-04-16 10:37:50 +0200 |
---|---|---|
committer | serg@sergbook.mysql.com <> | 2007-04-16 10:37:50 +0200 |
commit | 6bc9bc92df57f1cc586e2223e23c0e94003fa7eb (patch) | |
tree | df4c92bcf5668ec88685604378ad6dc60bfcf269 /sql/sql_class.h | |
parent | 3f72507d0d9e935b0a6badcf20c0dbff06860658 (diff) | |
parent | c53037af36e1e7af2996299fc6f0d126619f2565 (diff) | |
download | mariadb-git-6bc9bc92df57f1cc586e2223e23c0e94003fa7eb.tar.gz |
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-5.1-wl2936
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index 66914bdf908..2d7cf5ba90a 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -180,6 +180,20 @@ class Time_zone; struct system_variables { + /* + How dynamically allocated system variables are handled: + + The global_system_variables and max_system_variables are "authoritative" + They both should have the same 'version' and 'size'. + When attempting to access a dynamic variable, if the session version + is out of date, then the session version is updated and realloced if + neccessary and bytes copied from global to make up for missing data. + */ + ulong dynamic_variables_version; + char* dynamic_variables_ptr; + uint dynamic_variables_head; /* largest valid variable offset */ + uint dynamic_variables_size; /* how many bytes are in use */ + ulonglong myisam_max_extra_sort_file_size; ulonglong myisam_max_sort_file_size; ulonglong max_heap_table_size; @@ -250,8 +264,6 @@ struct system_variables my_bool old_mode; my_bool query_cache_wlock_invalidate; my_bool engine_condition_pushdown; - my_bool innodb_table_locks; - my_bool innodb_support_xa; my_bool ndb_force_send; my_bool ndb_use_copying_alter_table; my_bool ndb_use_exact_count; @@ -261,7 +273,7 @@ struct system_variables my_bool old_alter_table; my_bool old_passwords; - handlerton *table_type; + plugin_ref table_plugin; /* Only charset part of these variables is sensible */ CHARSET_INFO *character_set_filesystem; |