Skip to content
Permalink
Browse files
MYSQL_JSON: Update test case to omit .so or .dll extension
  • Loading branch information
cvicentiu committed Oct 29, 2020
1 parent 8b2800d commit 8cfddda
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
@@ -3,7 +3,7 @@ call mtr.add_suppression("is marked as crashed");
call mtr.add_suppression("Checking");
SET NAMES utf8;
set sql_mode="";
install soname 'type_mysql_json.so';
install soname 'type_mysql_json';
show create table tempty;
ERROR HY000: Table rebuild required. Please do "ALTER TABLE `test.tempty` FORCE" or dump/reload to fix it!
show create table mysql_json_test;
@@ -103,4 +103,4 @@ Total_Number_of_Tests Succesful_Tests String_is_valid_JSON
drop table tempty;
drop table mysql_json_test;
drop table mysql_json_test_big;
uninstall soname 'type_mysql_json.so';
uninstall soname 'type_mysql_json';
@@ -28,7 +28,7 @@ SET NAMES utf8;

set sql_mode="";

--eval install soname '$TYPE_MYSQL_JSON_SO'
install soname 'type_mysql_json';

--error ER_TABLE_NEEDS_REBUILD
show create table tempty;
@@ -63,5 +63,5 @@ drop table tempty;
drop table mysql_json_test;
drop table mysql_json_test_big;

--eval uninstall soname '$TYPE_MYSQL_JSON_SO'
uninstall soname 'type_mysql_json';
--remove_file $MYSQLD_DATADIR/mysql_upgrade_info

0 comments on commit 8cfddda

Please sign in to comment.