diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 18:00:34 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 18:00:34 +0000 |
commit | 3f619478f796eddbba6e39502fe941b285dd97b1 (patch) | |
tree | e2c7b5777f728320e5b5542b6213fd3591ba51e2 /mysql-test/suite/galera/r/galera_multi_database.result | |
parent | Initial commit. (diff) | |
download | mariadb-upstream.tar.xz mariadb-upstream.zip |
Adding upstream version 1:10.11.6.upstream/1%10.11.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mysql-test/suite/galera/r/galera_multi_database.result')
-rw-r--r-- | mysql-test/suite/galera/r/galera_multi_database.result | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/mysql-test/suite/galera/r/galera_multi_database.result b/mysql-test/suite/galera/r/galera_multi_database.result new file mode 100644 index 00000000..a9d58d5d --- /dev/null +++ b/mysql-test/suite/galera/r/galera_multi_database.result @@ -0,0 +1,35 @@ +connection node_2; +connection node_1; +CREATE DATABASE d1; +CREATE TABLE d1.t1(f1 INTEGER) ENGINE=InnoDB; +CREATE DATABASE d2; +CREATE TABLE d2.t1(f1 INTEGER PRIMARY KEY) ENGINE=InnoDB; +connection node_1; +SET AUTOCOMMIT=OFF; +START TRANSACTION; +INSERT INTO d1.t1 VALUES (1); +connection node_2; +SET AUTOCOMMIT=OFF; +START TRANSACTION; +INSERT INTO d2.t1 VALUES (1); +connection node_1; +COMMIT; +connection node_2; +COMMIT; +SELECT COUNT(*) = 1 FROM d1.t1; +COUNT(*) = 1 +1 +SELECT COUNT(*) = 1 FROM d2.t1; +COUNT(*) = 1 +1 +connection node_1; +SELECT COUNT(*) = 1 FROM d1.t1; +COUNT(*) = 1 +1 +SELECT COUNT(*) = 1 FROM d2.t1; +COUNT(*) = 1 +1 +DROP TABLE d1.t1; +DROP TABLE d2.t1; +DROP DATABASE d1; +DROP DATABASE d2; |