diff options
author | unknown <jani@rhols221.adsl.netsonic.fi> | 2002-06-28 19:30:09 +0300 |
---|---|---|
committer | unknown <jani@rhols221.adsl.netsonic.fi> | 2002-06-28 19:30:09 +0300 |
commit | e0d8d62e3934e85f2fc55e707a4c7eb546104991 (patch) | |
tree | 238d79549e511ff13dfddc389128a4e11c3c7d1d /sql/sql_class.h | |
parent | a6ca5cbb9172ba7fb56834d78d6527525a59d1c3 (diff) | |
download | mariadb-git-e0d8d62e3934e85f2fc55e707a4c7eb546104991.tar.gz |
Added interface for first set of dynamic variables.
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index a9548985479..760e96c057b 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -280,6 +280,26 @@ class delayed_insert; #define THD_CHECK_SENTRY(thd) DBUG_ASSERT(thd->dbug_sentry == THD_SENTRY_MAGIC) +struct system_variables +{ + my_bool opt_local_infile; + my_bool opt_warnings; + ulong join_buff_size; + ulong long_query_time; + ulong max_heap_table_size; + ulong max_item_sort_length; + ulong max_join_size; + ulong max_tmp_tables; + ulong myisam_max_extra_sort_file_size; + ulong myisam_max_sort_file_size; + ulong net_interactive_timeout; + ulong net_wait_timeout; + ulong record_rnd_cache_size; + ulong sortbuff_size; + ulong tmp_table_size; +}; /* system variables */ + + /* For each client connection we create a separate thread with THD serving as a thread/connection descriptor */ @@ -292,6 +312,7 @@ public: String packet; // dynamic string buffer used for network I/O struct sockaddr_in remote; // client socket address struct rand_struct rand; // used for authentication + struct system_variables variables; /* query points to the current query, thread_stack is a pointer to the stack frame of handle_one_connection(), |