summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
diff options
context:
space:
mode:
authorunknown <kostja@bodhi.(none)>2008-04-17 03:27:14 +0400
committerunknown <kostja@bodhi.(none)>2008-04-17 03:27:14 +0400
commit9590918851d39f323e66514638226993fc034abd (patch)
treea255dcee68bc10d98375a5c262040db6298de6c1 /sql/sql_table.cc
parentbd2a73281243ad5c9f190e4fa17b752e41c11f3d (diff)
downloadmariadb-git-9590918851d39f323e66514638226993fc034abd.tar.gz
Fix create.test in --ps-protocol broken by the previous push.
sql/sql_table.cc: Fix create.test in --ps-protocol broken by the previous push, that added prepared statement validation of CREATE TABLE LIKE: move assignment of src_table->required_type to the parser. sql/sql_yacc.yy: Fix create.test in --ps-protocol broken by the previous push, that added prepared statement validation of CREATE TABLE LIKE: move assignment of src_table->required_type to the parser.
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r--sql/sql_table.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index f69f5fadff3..4997f99fd3a 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -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