summaryrefslogtreecommitdiff
path: root/sql/table.cc
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2010-03-08 14:57:32 +0100
committerSergei Golubchik <sergii@pisem.net>2010-03-08 14:57:32 +0100
commitf0cf48a0c450d5cb4f3bd4f89a3e0b2135403e56 (patch)
treea791f95385841ce6ec0f66f1cfa6533461715415 /sql/table.cc
parent81424b5bdaeb841a56519aa6994194c443b32478 (diff)
downloadmariadb-git-f0cf48a0c450d5cb4f3bd4f89a3e0b2135403e56.tar.gz
small code cleanup - "good ifdef is no ifdef"
Diffstat (limited to 'sql/table.cc')
-rw-r--r--sql/table.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/table.cc b/sql/table.cc
index 8ceda6e7513..9bc3058a3bc 100644
--- a/sql/table.cc
+++ b/sql/table.cc
@@ -899,7 +899,7 @@ static int open_binary_frm(THD *thd, TABLE_SHARE *share, uchar *head,
replacing it with a globally locked version of tmp_plugin
*/
plugin_unlock(NULL, share->db_plugin);
- share->db_plugin= my_plugin_lock(NULL, &tmp_plugin);
+ share->db_plugin= my_plugin_lock(NULL, tmp_plugin);
DBUG_PRINT("info", ("setting dbtype to '%.*s' (%d)",
str_db_type_length, next_chunk + 2,
ha_legacy_type(share->db_type())));