diff options
author | unknown <knielsen@knielsen-hq.org> | 2009-10-15 23:38:29 +0200 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2009-10-15 23:38:29 +0200 |
commit | 697df6e88efe52392152cee0f7b9b9da4a77ee9a (patch) | |
tree | 9366ff2dea102dc28d90ffad1cf8dff3039650e0 /sql/lock.cc | |
parent | c4ff1265293766d1872e155db0ad88220b9dff12 (diff) | |
parent | fe5b9eff1cb304f157ccf17658ba5998120bb0fc (diff) | |
download | mariadb-git-697df6e88efe52392152cee0f7b9b9da4a77ee9a.tar.gz |
Merge MySQL 5.1.39 into MariaDB 5.1.mariadb-merge-mysql-5.1.39
Diffstat (limited to 'sql/lock.cc')
-rw-r--r-- | sql/lock.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/lock.cc b/sql/lock.cc index e75186d276e..d0076a49232 100644 --- a/sql/lock.cc +++ b/sql/lock.cc @@ -1472,11 +1472,10 @@ void unlock_global_read_lock(THD *thd) bool wait_if_global_read_lock(THD *thd, bool abort_on_refresh, bool is_not_commit) { - const char *old_message; + const char *UNINIT_VAR(old_message); bool result= 0, need_exit_cond; DBUG_ENTER("wait_if_global_read_lock"); - LINT_INIT(old_message); /* Assert that we do not own LOCK_open. If we would own it, other threads could not close their tables. This would make a pretty |