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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
a6087e7d
Commit
a6087e7d
authored
Jun 17, 2015
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-5309 - RENAME TABLE does not check for existence of the table's engine
fix the test case for ps-protocol
parent
5a4c5fa2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
mysql-test/r/plugin.result
mysql-test/r/plugin.result
+3
-0
mysql-test/t/plugin.test
mysql-test/t/plugin.test
+2
-0
No files found.
mysql-test/r/plugin.result
View file @
a6087e7d
...
...
@@ -327,6 +327,9 @@ plugin_name
#
INSTALL PLUGIN example SONAME 'ha_example';
CREATE TABLE t1(a INT) ENGINE=EXAMPLE;
SELECT * FROM t1;
a
FLUSH TABLES;
UNINSTALL PLUGIN example;
RENAME TABLE t1 TO t2;
ERROR 42S02: Table 'test.t1' doesn't exist
...
...
mysql-test/t/plugin.test
View file @
a6087e7d
...
...
@@ -259,6 +259,8 @@ select plugin_name from information_schema.plugins where plugin_library like 'ha
--
echo
#
INSTALL
PLUGIN
example
SONAME
'ha_example'
;
CREATE
TABLE
t1
(
a
INT
)
ENGINE
=
EXAMPLE
;
SELECT
*
FROM
t1
;
FLUSH
TABLES
;
UNINSTALL
PLUGIN
example
;
--
error
ER_NO_SUCH_TABLE
RENAME
TABLE
t1
TO
t2
;
...
...
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