| 1 |
CREATE TABLE t (a TEXT); |
| 2 |
RESET MASTER; |
| 3 |
INSERT INTO t SET a=repeat('a', 1024); |
| 4 |
SELECT a into @a from t; |
| 5 |
FLUSH LOGS; |
| 6 |
DELETE FROM t; |
| 7 |
FOUND 1 /BINLOG @binlog_fragment_0, @binlog_fragment_1/ in mysqlbinlog.sql |
| 8 |
SELECT a LIKE @a as 'true' FROM t; |
| 9 |
true |
| 10 |
1 |
| 11 |
BINLOG number-of-fragments must be exactly two |
| 12 |
BINLOG @binlog_fragment; |
| 13 |
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 |
| 14 |
BINLOG @binlog_fragment, @binlog_fragment, @binlog_fragment; |
| 15 |
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ' @binlog_fragment' at line 1 |
| 16 |
SET @binlog_fragment_0='012345'; |
| 17 |
SET @binlog_fragment_1='012345'; |
| 18 |
BINLOG @binlog_fragment_0, @binlog_fragment_1; |
| 19 |
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use |
| 20 |
SET @binlog_fragment_0='012345'; |
| 21 |
BINLOG @binlog_fragment_0, @binlog_fragment_not_exist; |
| 22 |
ERROR 42000: Incorrect argument type to variable 'binlog_fragment_not_exist' |
| 23 |
SET @a= '42'; |
| 24 |
BINLOG @a, @a; |
| 25 |
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use |
| 26 |
# Cleanup |
| 27 |
DROP TABLE t; |