mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-34705: Binlog in Engine: Allocate next binlog tablespace as needed.
Only works for two tablespace files though. For the third, we need to implement closing the first one, so that the tablespace id can be reused. Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
This commit is contained in:
@@ -10,3 +10,15 @@ COMMIT;
|
||||
SELECT * FROM t1 ORDER BY a;
|
||||
DROP TABLE t1;
|
||||
SELECT @@GLOBAL.binlog_checksum;
|
||||
|
||||
CREATE TABLE t2 (a INT PRIMARY KEY, b VARCHAR(2048)) ENGINE=InnoDB;
|
||||
|
||||
SET SESSION binlog_format= ROW;
|
||||
--let $i= 0
|
||||
while ($i < 500) {
|
||||
eval INSERT INTO t2 VALUES ($i, REPEAT("x", 2048));
|
||||
inc $i;
|
||||
}
|
||||
SET SESSION binlog_format= MIXED;
|
||||
|
||||
DROP TABLE t2;
|
||||
|
Reference in New Issue
Block a user