Commit dc0df7ee authored by serg@serg.mylan's avatar serg@serg.mylan

after mergemerge

parent aaa4c11d
...@@ -563,6 +563,14 @@ select * from t2; ...@@ -563,6 +563,14 @@ select * from t2;
b b
1 1
drop table t1,t2; drop table t1,t2;
create table t1 (a int);
create table t1 select * from t1;
ERROR HY000: You can't specify target table 't1' for update in FROM clause
create table t2 union = (t1) select * from t1;
ERROR HY000: You can't specify target table 't1' for update in FROM clause
flush tables with read lock;
unlock tables;
drop table t1;
create table t1(column.name int); create table t1(column.name int);
ERROR 42000: Incorrect table name 'column' ERROR 42000: Incorrect table name 'column'
create table t1(test.column.name int); create table t1(test.column.name int);
......
...@@ -408,12 +408,12 @@ connection user1; ...@@ -408,12 +408,12 @@ connection user1;
select database(), user(); select database(), user();
connection default; connection default;
disconnect user1; disconnect user1;
use test;
# #
# Test for Bug 856 'Naming a key "Primary" causes trouble' # Test for Bug 856 'Naming a key "Primary" causes trouble'
# #
use test;
--error 1280 --error 1280
create table t1 (a int, index `primary` (a)); create table t1 (a int, index `primary` (a));
--error 1280 --error 1280
...@@ -470,8 +470,6 @@ drop table t1,t2; ...@@ -470,8 +470,6 @@ drop table t1,t2;
# This tests two additional possible errors and a hang if # This tests two additional possible errors and a hang if
# an improper fix is present. # an improper fix is present.
# #
connection default;
use test;
create table t1 (a int); create table t1 (a int);
--error 1093 --error 1093
create table t1 select * from t1; create table t1 select * from t1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment