Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
76 changed files
with
1,593 additions
and
343 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
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
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,11 @@ | ||
| CREATE TABLE t1 (i int); | ||
| connect con1,localhost,root,,test; | ||
| RENAME TABLE t1 TO t2; | ||
| connection default; | ||
| FLUSH TABLES; | ||
| connection con1; | ||
| disconnect con1; | ||
| connection default; | ||
| DROP TABLE IF EXISTS t1, t2; | ||
| Warnings: | ||
| Note 1051 Unknown table 'test.t1' |
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,18 @@ | ||
| # | ||
| # MDEV-16123 ASAN heap-use-after-free handler::ha_index_or_rnd_end | ||
| # MDEV-13828 Segmentation fault on RENAME TABLE | ||
| # | ||
|
|
||
| CREATE TABLE t1 (i int); | ||
| --connect (con1,localhost,root,,test) | ||
| --send | ||
| RENAME TABLE t1 TO t2; | ||
| --connection default | ||
| FLUSH TABLES; | ||
| --connection con1 | ||
| --reap | ||
|
|
||
| # Cleanup | ||
| --disconnect con1 | ||
| --connection default | ||
| DROP TABLE IF EXISTS t1, t2; |
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 was deleted.
Oops, something went wrong.
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,37 @@ | ||
| SELECT VARIABLE_VALUE = 'Synced' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_local_state_comment'; | ||
| VARIABLE_VALUE = 'Synced' | ||
| 1 | ||
| SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size'; | ||
| VARIABLE_VALUE = 2 | ||
| 1 | ||
| CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) Engine=InnoDB; | ||
| INSERT INTO t1 VALUES (1); | ||
| connection node_2; | ||
| SELECT VARIABLE_VALUE = 'Synced' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_local_state_comment'; | ||
| VARIABLE_VALUE = 'Synced' | ||
| 1 | ||
| SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size'; | ||
| VARIABLE_VALUE = 2 | ||
| 1 | ||
| SELECT COUNT(*) = 1 FROM t1; | ||
| COUNT(*) = 1 | ||
| 1 | ||
| DROP TABLE t1; | ||
| connection node_1; | ||
| CREATE TABLE `t1` ( | ||
| `col1` int(11) NOT NULL, | ||
| `col2` varchar(64) NOT NULL DEFAULT '', | ||
| `col3` varchar(32) NOT NULL DEFAULT '0', | ||
| `col4` varchar(64) NOT NULL DEFAULT '', | ||
| `col5` tinyint(4) NOT NULL DEFAULT '0', | ||
| `col6` int(11) NOT NULL DEFAULT '0', | ||
| `col7` varchar(64) NOT NULL DEFAULT '', | ||
| `col8` tinyint(4) NOT NULL DEFAULT '0', | ||
| `col9` tinyint(4) NOT NULL DEFAULT '0', | ||
| `col10` text NOT NULL, | ||
| `col11` varchar(255) NOT NULL DEFAULT '', | ||
| `col12` tinyint(4) NOT NULL DEFAULT '1' | ||
| ) ; | ||
| create table t2 (test int); | ||
| insert into t2 values (1); | ||
| drop table t1,t2; |
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,8 @@ | ||
| !include ../galera_2nodes.cnf | ||
| [mysqld] | ||
|
|
||
| encrypt-tmp-files = 1 | ||
| plugin-load-add= @ENV.FILE_KEY_MANAGEMENT_SO | ||
| file-key-management | ||
| loose-file-key-management-filename= @ENV.MYSQL_TEST_DIR/std_data/keys.txt | ||
| log-bin |
Oops, something went wrong.