mirror of
https://github.com/MariaDB/server.git
synced 2025-11-30 05:23:50 +03:00
Changed wording in error messages from MySQL to MariaDB. In cases where the word server could be used instead it was done. Tests that have these errors recorded were updated.
20 lines
557 B
Plaintext
20 lines
557 B
Plaintext
SET AUTOCOMMIT=0;
|
|
CREATE TABLE t1 (a INT NOT NULL AUTO_INCREMENT, b TEXT, PRIMARY KEY(a)) ENGINE=InnoDB;
|
|
SELECT COUNT(*) FROM t1;
|
|
COUNT(*)
|
|
1000
|
|
SET GLOBAL binlog_cache_size=4096;
|
|
SET GLOBAL max_binlog_cache_size=4096;
|
|
disconnect default;
|
|
connect default,localhost,root,,test;
|
|
START TRANSACTION;
|
|
CREATE TABLE t2 SELECT * FROM t1;
|
|
ERROR HY000: Multi-statement transaction required more than 'max_binlog_cache_size' bytes of storage
|
|
COMMIT;
|
|
SHOW TABLES LIKE 't%';
|
|
Tables_in_test (t%)
|
|
t1
|
|
DROP TABLE t1;
|
|
disconnect default;
|
|
connect default,localhost,root,,test;
|