mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
into bodhi.(none):/opt/local/work/mysql-5.1-27430 include/my_global.h: Auto merged mysql-test/r/grant.result: Auto merged mysql-test/t/disabled.def: Auto merged mysql-test/t/grant.test: Auto merged sql/item.cc: Auto merged sql/mysql_priv.h: Auto merged sql/mysqld.cc: Auto merged sql/set_var.cc: Auto merged sql/sql_acl.cc: Auto merged sql/sql_class.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_parse.cc: Auto merged sql/sql_table.cc: Auto merged sql/sql_yacc.yy: Auto merged sql/table.h: Auto merged storage/myisam/mi_create.c: Auto merged tests/mysql_client_test.c: Auto merged sql/share/errmsg.txt: Manual merge.
This commit is contained in:
@ -3090,6 +3090,7 @@ SHOW_VAR com_status_vars[]= {
|
||||
{"stmt_execute", (char*) offsetof(STATUS_VAR, com_stmt_execute), SHOW_LONG_STATUS},
|
||||
{"stmt_fetch", (char*) offsetof(STATUS_VAR, com_stmt_fetch), SHOW_LONG_STATUS},
|
||||
{"stmt_prepare", (char*) offsetof(STATUS_VAR, com_stmt_prepare), SHOW_LONG_STATUS},
|
||||
{"stmt_reprepare", (char*) offsetof(STATUS_VAR, com_stmt_reprepare), SHOW_LONG_STATUS},
|
||||
{"stmt_reset", (char*) offsetof(STATUS_VAR, com_stmt_reset), SHOW_LONG_STATUS},
|
||||
{"stmt_send_long_data", (char*) offsetof(STATUS_VAR, com_stmt_send_long_data), SHOW_LONG_STATUS},
|
||||
{"truncate", (char*) offsetof(STATUS_VAR, com_stat[(uint) SQLCOM_TRUNCATE]), SHOW_LONG_STATUS},
|
||||
@ -3178,7 +3179,7 @@ static int init_common_variables(const char *conf_file_name, int argc,
|
||||
We have few debug-only commands in com_status_vars, only visible in debug
|
||||
builds. for simplicity we enable the assert only in debug builds
|
||||
|
||||
There are 7 Com_ variables which don't have corresponding SQLCOM_ values:
|
||||
There are 8 Com_ variables which don't have corresponding SQLCOM_ values:
|
||||
(TODO strictly speaking they shouldn't be here, should not have Com_ prefix
|
||||
that is. Perhaps Stmt_ ? Comstmt_ ? Prepstmt_ ?)
|
||||
|
||||
@ -3187,6 +3188,7 @@ static int init_common_variables(const char *conf_file_name, int argc,
|
||||
Com_stmt_execute => com_stmt_execute
|
||||
Com_stmt_fetch => com_stmt_fetch
|
||||
Com_stmt_prepare => com_stmt_prepare
|
||||
Com_stmt_reprepare => com_stmt_reprepare
|
||||
Com_stmt_reset => com_stmt_reset
|
||||
Com_stmt_send_long_data => com_stmt_send_long_data
|
||||
|
||||
@ -3195,7 +3197,7 @@ static int init_common_variables(const char *conf_file_name, int argc,
|
||||
of SQLCOM_ constants.
|
||||
*/
|
||||
compile_time_assert(sizeof(com_status_vars)/sizeof(com_status_vars[0]) - 1 ==
|
||||
SQLCOM_END + 7);
|
||||
SQLCOM_END + 8);
|
||||
#endif
|
||||
|
||||
load_defaults(conf_file_name, groups, &argc, &argv);
|
||||
@ -6762,7 +6764,8 @@ The minimum value for this variable is 4096.",
|
||||
{"table_definition_cache", OPT_TABLE_DEF_CACHE,
|
||||
"The number of cached table definitions.",
|
||||
(uchar**) &table_def_size, (uchar**) &table_def_size,
|
||||
0, GET_ULONG, REQUIRED_ARG, 128, 1, 512*1024L, 0, 1, 0},
|
||||
0, GET_ULONG, REQUIRED_ARG, TABLE_DEF_CACHE_DEFAULT, TABLE_DEF_CACHE_MIN,
|
||||
512*1024L, 0, 1, 0},
|
||||
{"table_open_cache", OPT_TABLE_OPEN_CACHE,
|
||||
"The number of cached open tables.",
|
||||
(uchar**) &table_cache_size, (uchar**) &table_cache_size, 0, GET_ULONG,
|
||||
|
Reference in New Issue
Block a user