mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
22 lines
491 B
Text
22 lines
491 B
Text
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
|
|
INSERT INTO t1 VALUES (1);
|
|
INSERT INTO t1 SELECT * FROM t1;
|
|
INSERT INTO t1 SELECT * FROM t1;
|
|
INSERT INTO t1 SELECT * FROM t1;
|
|
INSERT INTO t1 SELECT * FROM t1;
|
|
INSERT INTO t1 SELECT * FROM t1;
|
|
SET GLOBAL wsrep_max_ws_rows = 2;
|
|
SET AUTOCOMMIT=OFF;
|
|
START TRANSACTION;
|
|
SELECT * FROM t1 GROUP BY f1;
|
|
f1
|
|
1
|
|
SELECT * FROM t1 GROUP BY f1;
|
|
f1
|
|
1
|
|
SELECT * FROM t1 GROUP BY f1;
|
|
f1
|
|
1
|
|
SHOW STATUS LIKE '%wsrep%';
|
|
SET GLOBAL wsrep_max_ws_rows = 0;
|
|
DROP TABLE t1;
|