diff options
author | monty@hundin.mysql.fi <> | 2002-08-08 15:24:47 +0300 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2002-08-08 15:24:47 +0300 |
commit | 087261482a9bbdaa3bc0e26052a719ebdb73644b (patch) | |
tree | e7f4a2013ed3d66e640f6574e62cb7e534a5d77f /sql/sql_insert.cc | |
parent | 8be1cdeb89ca59be790d58dc0d43993cdc4f4191 (diff) | |
parent | 3f48e0369b2e49026e9ddd4fddcee68ebe17db1e (diff) | |
download | mariadb-git-087261482a9bbdaa3bc0e26052a719ebdb73644b.tar.gz |
merge with 3.23.52
Diffstat (limited to 'sql/sql_insert.cc')
-rw-r--r-- | sql/sql_insert.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc index 61d3544bfe0..e7a85c8262a 100644 --- a/sql/sql_insert.cc +++ b/sql/sql_insert.cc @@ -1454,6 +1454,11 @@ bool select_create::send_eof() table->file->extra(HA_EXTRA_NO_IGNORE_DUP_KEY); VOID(pthread_mutex_lock(&LOCK_open)); mysql_unlock_tables(thd, lock); + /* + TODO: + Check if we can remove the following two rows. + We should be able to just keep the table in the table cache. + */ if (!table->tmp_table) hash_delete(&open_cache,(byte*) table); lock=0; |