Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
5cb592ac
Commit
5cb592ac
authored
Apr 12, 2006
by
bar@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into mysql.com:/usr/home/bar/mysql-5.1-new
parents
c0a27500
2b970995
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
23 deletions
+23
-23
mysql-test/r/upgrade.result
mysql-test/r/upgrade.result
+12
-12
mysql-test/t/upgrade.test
mysql-test/t/upgrade.test
+11
-11
No files found.
mysql-test/r/upgrade.result
View file @
5cb592ac
...
...
@@ -41,19 +41,19 @@ t1
t-1
drop database `mysqltest1`;
drop database `mysqltest-1`;
drop table if exists `txu@0023
P
@0023p1`;
drop table if exists `txu#
P
#p1`;
create table `txu#
P
#p1` (s1 int);
insert into `txu#
P
#p1` values (1);
select * from `txu@0023
P
@0023p1`;
ERROR 42S02: Table 'test.txu@0023
P
@0023p1' doesn't exist
create table `txu@0023
P
@0023p1` (s1 int);
insert into `txu@0023
P
@0023p1` values (2);
select * from `txu@0023
P
@0023p1`;
drop table if exists `txu@0023
p
@0023p1`;
drop table if exists `txu#
p
#p1`;
create table `txu#
p
#p1` (s1 int);
insert into `txu#
p
#p1` values (1);
select * from `txu@0023
p
@0023p1`;
ERROR 42S02: Table 'test.txu@0023
p
@0023p1' doesn't exist
create table `txu@0023
p
@0023p1` (s1 int);
insert into `txu@0023
p
@0023p1` values (2);
select * from `txu@0023
p
@0023p1`;
s1
2
select * from `txu#
P
#p1`;
select * from `txu#
p
#p1`;
s1
1
drop table `txu@0023
P
@0023p1`;
drop table `txu#
P
#p1`;
drop table `txu@0023
p
@0023p1`;
drop table `txu#
p
#p1`;
mysql-test/t/upgrade.test
View file @
5cb592ac
...
...
@@ -34,16 +34,16 @@ drop database `mysqltest-1`;
# Bug#17142: Crash if create with encoded name
#
--
disable_warnings
drop
table
if
exists
`txu@0023
P
@0023p1`
;
drop
table
if
exists
`txu#
P
#p1`
;
drop
table
if
exists
`txu@0023
p
@0023p1`
;
drop
table
if
exists
`txu#
p
#p1`
;
--
enable_warnings
create
table
`txu#
P
#p1`
(
s1
int
);
insert
into
`txu#
P
#p1`
values
(
1
);
create
table
`txu#
p
#p1`
(
s1
int
);
insert
into
`txu#
p
#p1`
values
(
1
);
--
error
1146
select
*
from
`txu@0023
P
@0023p1`
;
create
table
`txu@0023
P
@0023p1`
(
s1
int
);
insert
into
`txu@0023
P
@0023p1`
values
(
2
);
select
*
from
`txu@0023
P
@0023p1`
;
select
*
from
`txu#
P
#p1`
;
drop
table
`txu@0023
P
@0023p1`
;
drop
table
`txu#
P
#p1`
;
select
*
from
`txu@0023
p
@0023p1`
;
create
table
`txu@0023
p
@0023p1`
(
s1
int
);
insert
into
`txu@0023
p
@0023p1`
values
(
2
);
select
*
from
`txu@0023
p
@0023p1`
;
select
*
from
`txu#
p
#p1`
;
drop
table
`txu@0023
p
@0023p1`
;
drop
table
`txu#
p
#p1`
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment