Skip to content

Commit

Permalink
Merge branch '5.5' into 10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sanja-byelkin committed Jul 26, 2019
2 parents 4177181 + f8a1a26 commit 2382cd1
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 9 deletions.
4 changes: 2 additions & 2 deletions mysql-test/r/plugin.result
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,7 @@ Warnings:
Warning 1300 Invalid utf8 character string: '\xF0\x9D\x8C\x86'
install plugin foo soname 'admin𝌆';
ERROR HY000: No paths allowed for shared library
insert mysql.plugin values ();
delete from mysql.plugin where name = '';
# End of 5.5 test
#
# MDEV-5309 - RENAME TABLE does not check for existence of the table's
# engine
Expand All @@ -341,3 +340,4 @@ UNINSTALL PLUGIN example;
RENAME TABLE t1 TO t2;
ERROR 42S02: Table 'test.t1' doesn't exist
DROP TABLE t1;
# End of 10.1 test
3 changes: 3 additions & 0 deletions mysql-test/r/plugin_not_embedded.result
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ UNINSTALL PLUGIN example;
DROP USER bug51770@localhost;
INSTALL PLUGIN example SONAME '../ha_example.so';
ERROR HY000: No paths allowed for shared library
insert mysql.plugin values ();
delete from mysql.plugin where name = '';
# End of 5.5 tests
10 changes: 3 additions & 7 deletions mysql-test/t/plugin.test
Original file line number Diff line number Diff line change
Expand Up @@ -260,13 +260,7 @@ select convert('admin𝌆' using utf8);
--error ER_UDF_NO_PATHS
install plugin foo soname 'admin𝌆';

#
# Bug#27302459: EMPTY VALUE IN MYSQL.PLUGIN TABLE CAUSES SERVER TO EXIT ON STARTUP
#
insert mysql.plugin values ();
source include/restart_mysqld.inc;
delete from mysql.plugin where name = '';

--echo # End of 5.5 test

--echo #
--echo # MDEV-5309 - RENAME TABLE does not check for existence of the table's
Expand All @@ -280,3 +274,5 @@ UNINSTALL PLUGIN example;
--error ER_NO_SUCH_TABLE
RENAME TABLE t1 TO t2;
DROP TABLE t1;

--echo # End of 10.1 test
9 changes: 9 additions & 0 deletions mysql-test/t/plugin_not_embedded.test
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,12 @@ let $path = `select CONCAT_WS('/', '..', '$HA_EXAMPLE_SO')`;
--replace_regex /\.dll/.so/
--error ER_UDF_NO_PATHS
eval INSTALL PLUGIN example SONAME '$path';

#
# Bug#27302459: EMPTY VALUE IN MYSQL.PLUGIN TABLE CAUSES SERVER TO EXIT ON STARTUP
#
insert mysql.plugin values ();
source include/restart_mysqld.inc;
delete from mysql.plugin where name = '';

--echo # End of 5.5 tests

0 comments on commit 2382cd1

Please sign in to comment.