1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

small code cleanup - "good ifdef is no ifdef"

This commit is contained in:
Sergei Golubchik
2010-03-08 14:57:32 +01:00
parent 81424b5bda
commit f0cf48a0c4
6 changed files with 15 additions and 24 deletions

View File

@@ -11014,7 +11014,7 @@ create_internal_tmp_table_from_heap2(THD *thd, TABLE *table,
delete table->file;
table->file=0;
plugin_unlock(0, table->s->db_plugin);
share.db_plugin= my_plugin_lock(0, &share.db_plugin);
share.db_plugin= my_plugin_lock(0, share.db_plugin);
new_table.s= table->s; // Keep old share
*table= new_table;
*table->s= share;