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/lp959512.result | |
parent | Initial commit. (diff) | |
download | mariadb-3f619478f796eddbba6e39502fe941b285dd97b1.tar.xz mariadb-3f619478f796eddbba6e39502fe941b285dd97b1.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/lp959512.result')
-rw-r--r-- | mysql-test/suite/galera/r/lp959512.result | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/mysql-test/suite/galera/r/lp959512.result b/mysql-test/suite/galera/r/lp959512.result new file mode 100644 index 00000000..58903000 --- /dev/null +++ b/mysql-test/suite/galera/r/lp959512.result @@ -0,0 +1,26 @@ +connection node_2; +connection node_1; +DROP TABLE IF EXISTS variable; +Warnings: +Note 1051 Unknown table 'test.variable' +DROP TABLE IF EXISTS foo; +Warnings: +Note 1051 Unknown table 'test.foo' +CREATE TABLE variable ( +name varchar(128) NOT NULL DEFAULT '' COMMENT 'The name of the variable.', +value longblob NOT NULL COMMENT 'The value of the variable.', +PRIMARY KEY (name) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Named variable/value pairs created by Drupal core or any...'; +CREATE TABLE foo (a int); +INSERT INTO variable (name, value) VALUES ('menu_expanded', 'a:0:{}'); +START TRANSACTION; +SELECT 1 AS expression FROM variable variable +WHERE ( (name = 'menu_expanded') ) FOR UPDATE; +expression +1 +UPDATE variable SET value='a:0:{}' WHERE ( (name = 'menu_expanded') ); +COMMIT; +INSERT INTO foo VALUES (1); +UPDATE foo SET a = 2 WHERE a = 1; +DROP TABLE foo; +DROP TABLE variable; |