mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
merge
This commit is contained in:
@ -1890,5 +1890,24 @@ create table t3 (a int) row_format=page;
|
||||
drop table t1,t2,t3;
|
||||
|
||||
# -- End of Bug#45829
|
||||
# new table creation/renaming blocked if old encoded table present
|
||||
create table `t-1` (a int) engine=myisam;
|
||||
insert into `t-1` values (1);
|
||||
show tables;
|
||||
Tables_in_test
|
||||
t-1
|
||||
flush tables;
|
||||
convert table files in mysql 5.0 file name encoding
|
||||
show tables;
|
||||
Tables_in_test
|
||||
#mysql50#t-1
|
||||
create table `t-1` (a int);
|
||||
ERROR 42S01: Table '#mysql50#t-1' already exists
|
||||
create table t1 (a int);
|
||||
alter table t1 rename `t-1`;
|
||||
ERROR 42S01: Table '#mysql50#t-1' already exists
|
||||
rename table t1 to `t-1`;
|
||||
ERROR 42S01: Table '#mysql50#t-1' already exists
|
||||
drop table `#mysql50#t-1`, t1;
|
||||
|
||||
End of 5.1 tests
|
||||
|
@ -48,14 +48,10 @@ insert into `txu#p#p1` values (1);
|
||||
select * from `txu@0023p@0023p1`;
|
||||
ERROR 42S02: Table 'test.txu@0023p@0023p1' doesn't exist
|
||||
create table `txu@0023p@0023p1` (s1 int);
|
||||
insert into `txu@0023p@0023p1` values (2);
|
||||
select * from `txu@0023p@0023p1`;
|
||||
s1
|
||||
2
|
||||
ERROR 42S01: Table '#mysql50#txu@0023p@0023p1' already exists
|
||||
select * from `txu#p#p1`;
|
||||
s1
|
||||
1
|
||||
drop table `txu@0023p@0023p1`;
|
||||
drop table `txu#p#p1`;
|
||||
#
|
||||
# Bug#37631 Incorrect key file for table after upgrading from 5.0 to 5.1
|
||||
|
Reference in New Issue
Block a user