mirror of
https://github.com/MariaDB/server.git
synced 2026-04-26 10:15:29 +02:00
merge mysql-5.0-bugteam to mysql-5.1-bugteam
This commit is contained in:
commit
7bfdc5bbf5
3 changed files with 31 additions and 1 deletions
|
|
@ -3596,7 +3596,7 @@ select_create::prepare(List<Item> &values, SELECT_LEX_UNIT *u)
|
|||
DBUG_EXECUTE_IF("sleep_create_select_before_check_if_exists", my_sleep(6000000););
|
||||
|
||||
if (!(create_info->options & HA_LEX_CREATE_TMP_TABLE) &&
|
||||
create_table->table->db_stat)
|
||||
(create_table->table && create_table->table->db_stat))
|
||||
{
|
||||
/* Table already exists and was open at open_and_lock_tables() stage. */
|
||||
if (create_info->options & HA_LEX_CREATE_IF_NOT_EXISTS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue