-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
39 changed files
with
753 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# | ||
# Include this file in your .test file if your testcase uses InnoDB tables | ||
# requiring stable query plans, which likely requires that InnoDB produces | ||
# stable estimates for #records in tables. | ||
# | ||
# How it works: | ||
# Unstable InnoDB estimates are caused by InnoDB's background statistics | ||
# collection. When you include this file, MTR will use server options from | ||
# include/innodb_stable_estimates.opt, which disables background statistics | ||
# collection. | ||
# (and no, InnoDB team objects to using this configuration for all MTR tests) | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--innodb_stats_auto_recalc=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- ./main/innodb_ext_key.result | ||
+++ ./main/innodb_ext_key.reject | ||
@@ -244,7 +244,7 @@ | ||
Variable_name Value | ||
Handler_read_first 0 | ||
Handler_read_key 21 | ||
-Handler_read_last 1 | ||
+Handler_read_last 0 | ||
Handler_read_next 0 | ||
Handler_read_prev 0 | ||
Handler_read_retry 0 | ||
@@ -266,7 +266,7 @@ | ||
Variable_name Value | ||
Handler_read_first 0 | ||
Handler_read_key 6 | ||
-Handler_read_last 1 | ||
+Handler_read_last 0 | ||
Handler_read_next 0 | ||
Handler_read_prev 0 | ||
Handler_read_retry 0 |
20 changes: 20 additions & 0 deletions
20
mysql-test/main/innodb_ext_key,innodb,on,unoptimized.rdiff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- ./main/innodb_ext_key.result | ||
+++ ./main/innodb_ext_key.reject | ||
@@ -244,7 +244,7 @@ | ||
Variable_name Value | ||
Handler_read_first 0 | ||
Handler_read_key 21 | ||
-Handler_read_last 1 | ||
+Handler_read_last 0 | ||
Handler_read_next 0 | ||
Handler_read_prev 0 | ||
Handler_read_retry 0 | ||
@@ -266,7 +266,7 @@ | ||
Variable_name Value | ||
Handler_read_first 0 | ||
Handler_read_key 6 | ||
-Handler_read_last 1 | ||
+Handler_read_last 0 | ||
Handler_read_next 0 | ||
Handler_read_prev 0 | ||
Handler_read_retry 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
connection node_2; | ||
connection node_1; | ||
connect con1,127.0.0.1,root,,test,$NODE_MYPORT_1; | ||
call mtr.add_suppression("WSREP: ALTER TABLE isolation failure"); | ||
CREATE TABLE t1(c1 INT PRIMARY KEY, c2 INT) ENGINE=InnoDB; | ||
SET DEBUG_SYNC = 'wsrep_append_fk_toi_keys_before_close_tables SIGNAL may_alter WAIT_FOR bf_abort'; | ||
ALTER TABLE t1 DROP COLUMN c2; | ||
connection node_1; | ||
SET DEBUG_SYNC = 'now WAIT_FOR may_alter'; | ||
ALTER TABLE t1 ADD COLUMN c3 INT; | ||
connection con1; | ||
ERROR 70100: Query execution was interrupted | ||
INSERT INTO t1 (c1, c2, c3) VALUES (1, 0, 0); | ||
connection node_2; | ||
INSERT INTO t1 (c1, c2, c3) VALUES (2, 0, 0); | ||
connection node_1; | ||
SET DEBUG_SYNC = 'RESET'; | ||
DROP TABLE t1; | ||
disconnect con1; | ||
disconnect node_2; | ||
disconnect node_1; |
Oops, something went wrong.