mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge next-mr -> next-4284.
mysql-test/t/disabled.def: Restore disabled ssl tests: SSL certificates were updated. Disable sp_sync.test, the test case can't work in next-4284. mysql-test/t/partition_innodb.test: Disable parsing of the test case for Bug#47343, the test can not work in next-4284. mysql-test/t/ps_ddl.test: Update results (CREATE TABLE IF NOT EXISTS takes into account existence of the temporary table).
This commit is contained in:
@ -1679,6 +1679,10 @@ static bool mysql_test_create_table(Prepared_statement *stmt)
|
||||
|
||||
if (select_lex->item_list.elements)
|
||||
{
|
||||
/* Base table and temporary table are not in the same name space. */
|
||||
if (!(lex->create_info.options & HA_LEX_CREATE_TMP_TABLE))
|
||||
create_table->open_type= OT_BASE_ONLY;
|
||||
|
||||
if (open_normal_and_derived_tables(stmt->thd, lex->query_tables,
|
||||
MYSQL_OPEN_FORCE_SHARED_MDL))
|
||||
DBUG_RETURN(TRUE);
|
||||
|
Reference in New Issue
Block a user