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
f02f0617
Commit
f02f0617
authored
Dec 04, 2014
by
Elena Stepanova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-7255 Failures in engines/* tests, part 5
RENAME TABLE on a non-existing table produces a better error message
parent
d5f52fec
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mysql-test/suite/engines/funcs/r/tc_rename_error.result
mysql-test/suite/engines/funcs/r/tc_rename_error.result
+1
-1
mysql-test/suite/engines/funcs/t/tc_rename_error.test
mysql-test/suite/engines/funcs/t/tc_rename_error.test
+1
-1
No files found.
mysql-test/suite/engines/funcs/r/tc_rename_error.result
View file @
f02f0617
...
@@ -15,7 +15,7 @@ ERROR 42S01: Table 't1' already exists
...
@@ -15,7 +15,7 @@ ERROR 42S01: Table 't1' already exists
RENAME TABLE t3 TO t1;
RENAME TABLE t3 TO t1;
ERROR 42S01: Table 't1' already exists
ERROR 42S01: Table 't1' already exists
RENAME TABLE t3 TO doesnotexist.t1;
RENAME TABLE t3 TO doesnotexist.t1;
ERROR
HY000: Can't find file: './test/t3.frm' (errno: 2 "No such file or directory")
ERROR
42S02: Table 'test.t3' doesn't exist
SHOW TABLES;
SHOW TABLES;
Tables_in_test
Tables_in_test
t1
t1
...
...
mysql-test/suite/engines/funcs/t/tc_rename_error.test
View file @
f02f0617
...
@@ -11,7 +11,7 @@ let $ENGINE=`select variable_value from information_schema.global_variables wher
...
@@ -11,7 +11,7 @@ let $ENGINE=`select variable_value from information_schema.global_variables wher
RENAME
TABLE
t2
TO
t1
;
RENAME
TABLE
t2
TO
t1
;
--
error
1050
--
error
1050
RENAME
TABLE
t3
TO
t1
;
RENAME
TABLE
t3
TO
t1
;
--
error
1
017
--
error
1
146
RENAME
TABLE
t3
TO
doesnotexist
.
t1
;
RENAME
TABLE
t3
TO
doesnotexist
.
t1
;
SHOW
TABLES
;
SHOW
TABLES
;
let
$ENGINE
=
`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`
;
let
$ENGINE
=
`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`
;
...
...
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