mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
Auto-merge from mysql-trunk-merge.
This commit is contained in:
@@ -2496,6 +2496,8 @@ case SQLCOM_PREPARE:
|
||||
{
|
||||
lex->link_first_table_back(create_table, link_to_local);
|
||||
create_table->create= TRUE;
|
||||
/* Base table and temporary table are not in the same name space. */
|
||||
create_table->skip_temporary= 1;
|
||||
}
|
||||
|
||||
if (!(res= open_and_lock_tables(thd, lex->query_tables)))
|
||||
|
Reference in New Issue
Block a user