1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fix create.test in --ps-protocol broken by the previous push.

This commit is contained in:
kostja@bodhi.(none)
2008-04-17 03:27:14 +04:00
parent 7289eccfbd
commit d42545fbc6
2 changed files with 12 additions and 5 deletions

View File

@ -4775,9 +4775,6 @@ bool mysql_create_like_table(THD* thd, TABLE_LIST* table, TABLE_LIST* src_table,
DBUG_ENTER("mysql_create_like_table");
/* CREATE TABLE ... LIKE is not allowed for views. */
src_table->required_type= FRMTYPE_TABLE;
/*
By opening source table we guarantee that it exists and no concurrent
DDL operation will mess with it. Later we also take an exclusive