Commit 3039a7c2 authored by Sergei Golubchik's avatar Sergei Golubchik

fix upgrade.test - update from 5.6

parent 3cd1861a
...@@ -48,10 +48,14 @@ insert into `txu#p#p1` values (1); ...@@ -48,10 +48,14 @@ insert into `txu#p#p1` values (1);
select * from `txu@0023p@0023p1`; select * from `txu@0023p@0023p1`;
ERROR 42S02: Table 'test.txu@0023p@0023p1' doesn't exist ERROR 42S02: Table 'test.txu@0023p@0023p1' doesn't exist
create table `txu@0023p@0023p1` (s1 int); create table `txu@0023p@0023p1` (s1 int);
ERROR 42S01: Table '#mysql50#txu@0023p@0023p1' already exists insert into `txu@0023p@0023p1` values (2);
select * from `txu@0023p@0023p1`;
s1
2
select * from `txu#p#p1`; select * from `txu#p#p1`;
s1 s1
1 1
drop table `txu@0023p@0023p1`;
drop table `txu#p#p1`; drop table `txu#p#p1`;
# #
# Bug#37631 Incorrect key file for table after upgrading from 5.0 to 5.1 # Bug#37631 Incorrect key file for table after upgrading from 5.0 to 5.1
......
...@@ -41,9 +41,11 @@ create table `txu#p#p1` (s1 int); ...@@ -41,9 +41,11 @@ create table `txu#p#p1` (s1 int);
insert into `txu#p#p1` values (1); insert into `txu#p#p1` values (1);
--error 1146 --error 1146
select * from `txu@0023p@0023p1`; select * from `txu@0023p@0023p1`;
--error ER_TABLE_EXISTS_ERROR
create table `txu@0023p@0023p1` (s1 int); create table `txu@0023p@0023p1` (s1 int);
insert into `txu@0023p@0023p1` values (2);
select * from `txu@0023p@0023p1`;
select * from `txu#p#p1`; select * from `txu#p#p1`;
drop table `txu@0023p@0023p1`;
drop table `txu#p#p1`; drop table `txu#p#p1`;
--echo # --echo #
......
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