Skip to content
/ server Public

Commit b64db51

Browse files
committed
Fix leaving system table as InnoDB engine
Fix the test case main.servers to restore the table mysql.servers back to Aria engine, not leave it changed to InnoDB. This was causing the test case innodb.innodb_stats to fail sporadically if it was run after main.servers. Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
1 parent 3b2169f commit b64db51

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

mysql-test/main/servers.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,4 @@ CREATE SERVER s1 FOREIGN DATA WRAPPER mysql OPTIONS (HOST '127.0.0.1');
5050
ALTER TABLE mysql.servers ENGINE=innodb;
5151
FLUSH PRIVILEGES;
5252
drop server s1;
53+
ALTER TABLE mysql.servers ENGINE=Aria;

mysql-test/main/servers.test

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,5 @@ CREATE SERVER s1 FOREIGN DATA WRAPPER mysql OPTIONS (HOST '127.0.0.1');
5050
ALTER TABLE mysql.servers ENGINE=innodb;
5151
FLUSH PRIVILEGES;
5252
drop server s1;
53+
# Restore the table back to original engine, to not disrupt following tests.
54+
ALTER TABLE mysql.servers ENGINE=Aria;

0 commit comments

Comments
 (0)