mirror of
https://github.com/MariaDB/server.git
synced 2025-11-27 05:41:41 +03:00
If WSREP_ON=ON do not allow GET_LOCK and RELEASE_LOCK functions. Instead print clear error message.
15 lines
306 B
Plaintext
15 lines
306 B
Plaintext
--source include/galera_cluster.inc
|
|
|
|
CREATE TABLE t (c DOUBLE,c2 INT,PRIMARY KEY(c)) ENGINE=InnoDB;
|
|
INSERT INTO t values (1,1);
|
|
--error ER_NOT_SUPPORTED_YET
|
|
SELECT GET_LOCK('a',1);
|
|
SHOW WARNINGS;
|
|
SELECT * FROM t;
|
|
--error ER_NOT_SUPPORTED_YET
|
|
SELECT RELEASE_LOCK('a');
|
|
SHOW WARNINGS;
|
|
COMMIT;
|
|
DROP TABLE t;
|
|
|