diff options
author | unknown <serg@janus.mylan> | 2007-12-28 00:15:29 +0100 |
---|---|---|
committer | unknown <serg@janus.mylan> | 2007-12-28 00:15:29 +0100 |
commit | 4140f76f4e50a0497c8d325fef7e255bb5cf4e68 (patch) | |
tree | ad7653284333477b8b2d0bcb4d2582cbbcb0e47e /sql/set_var.cc | |
parent | 7fdbc4230e68171e17e0dd4f6ae2d3fe3acb7549 (diff) | |
download | mariadb-git-4140f76f4e50a0497c8d325fef7e255bb5cf4e68.tar.gz |
after merge
include/mysql/plugin.h:
move declarations after merge
mysql-test/r/change_user.result:
more tests
mysql-test/t/change_user.test:
more tests
mysys/my_getopt.c:
remove wrong code
BitKeeper/etc/ignore:
Added libmysqld/sql_profile.cc to the ignore list
Diffstat (limited to 'sql/set_var.cc')
-rw-r--r-- | sql/set_var.cc | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sql/set_var.cc b/sql/set_var.cc index 905b02cec7a..144abbb9a2d 100644 --- a/sql/set_var.cc +++ b/sql/set_var.cc @@ -1247,14 +1247,6 @@ uchar *sys_var_enum::value_ptr(THD *thd, enum_var_type type, LEX_STRING *base) return (uchar*) enum_names->type_names[*value]; } - -uchar *sys_var_enum_const::value_ptr(THD *thd, enum_var_type type, - LEX_STRING *base) -{ - return (uchar*) enum_names->type_names[global_system_variables.*offset]; -} - - uchar *sys_var_enum_const::value_ptr(THD *thd, enum_var_type type, LEX_STRING *base) { @@ -1334,7 +1326,7 @@ bool sys_var_thd_ha_rows::update(THD *thd, set_var *var) if (var->type == OPT_GLOBAL) { /* Lock is needed to make things safe on 32 bit systems */ - pthread_mutex_lock(&LOCK_global_system_variables); + pthread_mutex_lock(&LOCK_global_system_variables); global_system_variables.*offset= (ha_rows) tmp; pthread_mutex_unlock(&LOCK_global_system_variables); } |