CREATE TABLE t1 (c1 VARCHAR(255) BINARY CHARACTER SET 'utf8' COLLATE 'utf8_bin',c2 MEDIUMINT(10),c3 MEDIUMTEXT BINARY) ENGINE=MEMORY; # ERROR: 1163 - The used table type doesn't support BLOB/TEXT columns INSERT INTO t2 SELECT * FROM t2; # ERROR: 1146 - Table 'test.t2' doesn't exist UPDATE t2 SET c1='b'; # ERROR: 1146 - Table 'test.t2' doesn't exist DROP TABLE t2; # ERROR: 1051 - Unknown table 'test.t2' UPDATE performance_schema.setup_instruments SET ENABLED = 'YES', TIMED = 'YES' WHERE NAME LIKE '%wsrep%'; # NOERROR UPDATE t3 SET c1=(451 % CRC32((574 + COS(-366) DIV 205) DIV (CONV(208,-565,'!@#$%^-690*()_+{}[]:,./<>?:"') + LOG2(-106) MOD 916 DIV ACOS(-1.e-1) DIV LOG(-97))) + '23-12-2015' DIV SIN(807) MOD LOG2((ATAN(NULL) MOD 63) * (264 + LN(0.001 % -14 DIV 97) - RADIANS(LOG2(-622) - LOG(-478) + 1.e-1)))) / (POWER(397,-314) * TRUNCATE(-592,737) DIV RAND() * LN(-190) * COT('') - LOG10(-561) + -733 + LOG(489 % MOD(685 * DEGREES('cCCCCc'),706))); # ERROR: 1146 - Table 'test.t3' doesn't exist INSERT INTO t3 VALUES ((-193 DIV ACOS(-754)) % (CEIL(543) / RAND(-357) DIV CEIL(1e3 + SIGN(986) MOD 623)),'12-23-2015','2000-12-12 23:61:00'); # ERROR: 1146 - Table 'test.t3' doesn't exist TRUNCATE t3; # ERROR: 1146 - Table 'test.t3' doesn't exist XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID SELECT (ATAN2(461) DIV LN(-816) * 3 / -567 * -573 - ACOS(665) - -703 + ASIN(-696) % CEIL(-124)) - (-108 * FLOOR(91) * LN(-1.e-20)); # NOERROR SELECT -269 * '2000-12-12 23:61:00' DIV CEILING(318) / -476; # NOERROR INSERT INTO t2 VALUES (0.001,'2000-40-12 00:00:00',(RAND(858) * -530 + CEIL(300) * 458 / -639) * (MOD(-779,-77) % LOG2(-446))); # ERROR: 1146 - Table 'test.t2' doesn't exist CREATE TABLE t3 (c1 DATE PRIMARY KEY,c2 CHAR CHARACTER SET 'utf8' COLLATE 'utf8_bin',c3 MEDIUMTEXT CHARACTER SET 'latin1' COLLATE 'latin1_bin') ENGINE=InnoDB; # NOERROR UPDATE t3 SET c1=NOW() ORDER BY c3 DESC; # NOERROR SET SESSION TRANSACTION ISOLATION LEVEL SERIALIZABLE; # NOERROR SELECT * FROM performance_schema.setup_instruments; # NOERROR UPDATE performance_schema.setup_timers SET TIMER_NAME='MILLISECOND' WHERE NAME='statement'; # NOERROR DROP FUNCTION f3; # ERROR: 1305 - FUNCTION test.f3 does not exist SET @@SESSION.max_length_for_sort_data=0; # NOERROR XA COMMIT 'xid2' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID PREPARE stmt FROM @cmd; # ERROR: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'NULL' at line 1 XA PREPARE 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state RENAME TABLE t1 TO t3; # ERROR: 1050 - Table 't3' already exists SET @@GLOBAL.OPTIMIZER_SWITCH="mrr_cost_based=ON"; # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state RESET SLAVE ALL; # ERROR: 1794 - Slave is not configured or failed to initialize properly. You must at least set --server-id to enable either a master or a slave. Additional error messages can be found in the MySQL error log. SET MAX_JOIN_SIZE=1000000; # NOERROR SHOW PRIVILEGES; # NOERROR DEALLOCATE PREPARE stmt; # ERROR: 1243 - Unknown prepared statement handler (stmt) given to DEALLOCATE PREPARE TRUNCATE TABLE t2; # ERROR: 1146 - Table 'test.t2' doesn't exist SELECT f3('ÃÃÃ'); # ERROR: 1305 - FUNCTION test.f3 does not exist SELECT PI() / 792; # NOERROR RENAME TABLE t3 TO t1,t1 TO t3,t2 TO t2; # ERROR: 1017 - Can't find file: './test/t2.frm' (errno: 2 - No such file or directory) CREATE TABLE t2 (c1 SET('a','b','c') PRIMARY KEY,c2 NUMERIC(10),c3 BLOB) ENGINE=MRG_MyISAM; # NOERROR SET GLOBAL innodb_monitor_reset_all='buffer_LRU_single_flush_failure_count'; # NOERROR SELECT -239 DIV COS(-383) MOD CEIL(153); # NOERROR DELETE a1,a1 FROM t2 AS a1 CROSS JOIN t1 AS a2, t1 AS a3; # ERROR: 1066 - Not unique table/alias: 'a1' INSERT INTO t2 SELECT * FROM t1; # ERROR: 1146 - Table 'test.t1' doesn't exist UNLOCK TABLES; # NOERROR SET @cmd:="DEALLOCATE PREPARE stmt"; # NOERROR SELECT (2990 % CRC32(-527) + '2000-12-12 23:59:00') DIV (ASIN(77) * ABS(11) MOD COS(-466)); # NOERROR INSERT INTO t3 VALUES (1.e-30,1.e+10,((-269 + -550 - 493 + RAND()) / (TRUNCATE('2000-12-12 23:61:00',-524) DIV 368 * TRUNCATE(-686,-698)) + -864) / ('cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc' MOD RAND(-599) DIV -118)); # NOERROR SELECT * FROM performance_schema.events_stages_history; # NOERROR SET AUTOCOMMIT=ON; # NOERROR UNLOCK TABLES; # NOERROR TRUNCATE t1; # ERROR: 1146 - Table 'test.t1' doesn't exist SET @@SESSION.SQL_MODE=(SELECT REPLACE(@@SQL_MODE,',HIGH_NOT_PRECEDENCE','')); # NOERROR SHOW ERRORS LIMIT 9; # NOERROR CREATE DEFINER=user2 PROCEDURE p3 (IN i1 VARCHAR(1024) BINARY, INOUT i2 FLOAT(255,10) ZEROFILL) SQL SECURITY DEFINER DETERMINISTIC TRUNCATE t1; # NOERROR LOAD DATA INFILE 'out4' INTO TABLE t3; # ERROR: 13 - Can't get stat of '/dev/shm/424299/3/data/test/out4' (Errcode: 2 - No such file or directory) XA PREPARE 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state INSERT INTO t2 SELECT * FROM t1; # ERROR: 1146 - Table 'test.t1' doesn't exist INSERT INTO t2 SELECT * FROM t3; # ERROR: 1036 - Table 't2' is read only SET @@GLOBAL.OPTIMIZER_SWITCH="use_index_extensions=ON"; # NOERROR INSERT INTO t3 SELECT * FROM t3; # ERROR: 1062 - Duplicate entry '0000-00-00' for key 'PRIMARY' PURGE BINARY LOGS TO '1e1'; # NOERROR SELECT (1e3 MOD -580) - (DEGREES(-119) + TAN(3000000000000000)) + (-298 * EXP(-996)); # NOERROR XA COMMIT 'xid2' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID INSERT INTO t3 VALUES ('x05',01-01-1430,3); # ERROR: 1062 - Duplicate entry '0000-00-00' for key 'PRIMARY' XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state REPAIR NO_WRITE_TO_BINLOG TABLE t2; # NOERROR INSERT INTO t3 SELECT * FROM t3; # ERROR: 1062 - Duplicate entry '0000-00-00' for key 'PRIMARY' SELECT EVENT_ID, EVENT_NAME, TIMER_WAIT FROM performance_schema.events_waits_history WHERE EVENT_NAME LIKE '%galera%'; # NOERROR SET GLOBAL innodb_monitor_enable='innodb_dblwr_pages_written'; # NOERROR OPTIMIZE NO_WRITE_TO_BINLOG TABLE t3; # NOERROR SELECT c1 FROM t2 WHERE (c1) IN (SELECT t2.c3 FROM t1 LEFT JOIN t2 ON t2.c3=2014); # ERROR: 1146 - Table 'test.t1' doesn't exist SHOW WARNINGS; # NOERROR SELECT EVENT_NAME, COUNT_STAR FROM performance_schema.events_waits_summary_global_by_event_name WHERE EVENT_NAME LIKE '%galera%'; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID RENAME TABLE t3 TO t1; # NOERROR SET @@SESSION.profiling_history_size=10; # NOERROR DELETE a2 FROM t1 AS a1 INNER JOIN t1 AS a2 STRAIGHT_JOIN t3 AS a3 WHERE a1.c2>=1.e+10 AND a3.c2>2.0 OR a2.c3>a1.c2; # ERROR: 1146 - Table 'test.t3' doesn't exist SET AUTOCOMMIT=ON; # NOERROR CALL p3(@b); # ERROR: 1318 - Incorrect number of arguments for PROCEDURE test.p3; expected 2, got 1 DELETE QUICK a1,a1,a2 FROM t3 AS a1 CROSS JOIN t1 AS a2 JOIN t1 AS a3; # ERROR: 1066 - Not unique table/alias: 'a1' UPDATE t3 SET c1=(42 - 401 % 21) / (TRUNCATE(839,-156) * LOG(('#01' MOD -58 / ASIN(901) - -58) % (MOD(737,827) % COT(115)))); # ERROR: 1146 - Table 'test.t3' doesn't exist SET @@GLOBAL.SQL_MODE=(SELECT CONCAT(@@SQL_MODE,',NO_AUTO_VALUE_ON_ZERO')); # NOERROR LOCK TABLES t3 AS a3 READ LOCAL, t1 AS a2 READ LOCAL, t3 AS a4 READ LOCAL; # ERROR: 1146 - Table 'test.t3' doesn't exist XA RECOVER; # NOERROR SELECT EVENT_ID, EVENT_NAME, TIMER_WAIT FROM performance_schema.events_waits_history WHERE EVENT_NAME LIKE '%galera%'; # NOERROR INSERT INTO t1 SELECT * FROM t2; # NOERROR XA END 'xid2'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state SET @cmd:="ALTER TABLE t2 ADD UNIQUE (c1)"; # NOERROR SET AUTOCOMMIT=ON; # NOERROR BEGIN; # NOERROR DROP TABLE t1; # NOERROR ROLLBACK TO sp2; # ERROR: 1305 - SAVEPOINT sp2 does not exist TRUNCATE TABLE t2; # NOERROR INSERT INTO t3 VALUES (0.01,NULL,-1.e+2); # ERROR: 1146 - Table 'test.t3' doesn't exist SET MAX_JOIN_SIZE=1000000; # NOERROR INSERT INTO t2 VALUES (1.e+2,-1.e-1,'cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc'); # ERROR: 1036 - Table 't2' is read only SET @@GLOBAL.SQL_MODE=(SELECT CONCAT(@@SQL_MODE,',NO_FIELD_OPTIONS')); # NOERROR LOAD DATA INFILE 'out4' INTO TABLE t2; # ERROR: 13 - Can't get stat of '/dev/shm/424299/3/data/test/out4' (Errcode: 2 - No such file or directory) ALTER TABLE t1 MODIFY c2 INT(10); # ERROR: 1146 - Table 'test.t1' doesn't exist UPDATE performance_schema.setup_objects SET ENABLED = 'YES', TIMED = 'YES'; # NOERROR DROP PROCEDURE p2; # ERROR: 1305 - PROCEDURE test.p2 does not exist SET @@SESSION.optimizer_switch="mrr=on"; # NOERROR SET AUTOCOMMIT=ON; # NOERROR SELECT -239 DIV COS(-383) MOD CEIL(153); # NOERROR INSERT INTO t3 VALUES (NOW(),-1.e+30,'ffFFff'); # ERROR: 1146 - Table 'test.t3' doesn't exist INSERT INTO t1 VALUES ('CC','\x05',0.01); # ERROR: 1146 - Table 'test.t1' doesn't exist SELECT EVENT_ID, EVENT_NAME, TIMER_WAIT FROM performance_schema.events_waits_history WHERE EVENT_NAME LIKE '%wsrep%'; # NOERROR INSERT INTO t3 VALUES (1.e-30,2.0,x01); # ERROR: 1146 - Table 'test.t3' doesn't exist XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state SET GLOBAL innodb_monitor_reset_all='lock_row_lock_time_max'; # NOERROR DROP TABLE IF EXISTS t3; # NOERROR EXECUTE stmt; # ERROR: 1243 - Unknown prepared statement handler (stmt) given to EXECUTE UNLOCK TABLES; # NOERROR INSERT INTO t3 VALUES (2990,0.0,'³³³'); # ERROR: 1146 - Table 'test.t3' doesn't exist SET AUTOCOMMIT=ON; # NOERROR CREATE PROCEDURE p3 (OUT i1 CHAR(40) CHARACTER SET 'latin1' COLLATE 'latin1_bin', IN i2 GEOMETRYCOLLECTION) DETERMINISTIC DETERMINISTIC NO SQL DETERMINISTIC INSERT INTO t3 SELECT * FROM t3; # ERROR: 1304 - PROCEDURE p3 already exists SHOW TABLES; # NOERROR XA COMMIT 'xid2' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID SET @c='2000-12-12 23:59:00'; # NOERROR UNLOCK TABLES; # NOERROR LOCK TABLES t2 AS a1 WRITE, t1 AS a9 READ LOCAL, t2 AS a9 READ; # ERROR: 1066 - Not unique table/alias: 'a9' CREATE TABLE t1 (c1 CHAR(255) PRIMARY KEY,c2 GEOMETRY,c3 DECIMAL(65)) ENGINE=InnoDB; # NOERROR INSERT INTO t2 SELECT * FROM t1; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID SAVEPOINT sp1; # NOERROR TRUNCATE t1; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID INSERT INTO t3 SELECT * FROM t3; # ERROR: 1146 - Table 'test.t3' doesn't exist SELECT (-310 / CEIL(843)) / (576 + LN(399 / LOG2(-99) % TRUNCATE(-963,-927)) % 892 MOD -640) * (-603 MOD TAN(-487) / EXP(-557) DIV ATAN(-794) * RADIANS('#01' MOD LOG(860)) % (FLOOR(12-23-2340) + RADIANS(CURRENT_TIMESTAMP) DIV -460 / -501) - (RAND() MOD 657) DIV SIN(-891) - CRC32(-859)); # NOERROR SELECT (SELECT (SELECT c2,c3 FROM t2 AS a1 STRAIGHT_JOIN t2 AS a2 WHERE a3.c2>-1.e-30 ) OR (SELECT c1,c3 FROM t1)) AND (SELECT (SELECT (SELECT t2.c3 FROM t2 RIGHT JOIN t1 ON t2.c1=-1.e+3) AND (SELECT c3 FROM t3))) OR ((SELECT c3 FROM t1) AND (SELECT t1.c1 FROM t2 RIGHT OUTER JOIN t1 ON t1.c1)) OR (SELECT c2,c3 FROM t2 AS a1 JOIN t3 AS a2 WHERE a2.c3<=(-767 - 942) - (MOD(990,9) % 996) ); # ERROR: 2014 - Commands out of sync; you can't run this command now SET GLOBAL innodb_monitor_disable='buffer_pool_reads'; # NOERROR SELECT * FROM performance_schema.user_variables_by_thread; # NOERROR CALL p3(@a); # ERROR: 1318 - Incorrect number of arguments for PROCEDURE test.p3; expected 2, got 1 DROP TABLE t2; # NOERROR CREATE TABLE t2 (c1 VARCHAR(1) PRIMARY KEY,c2 FLOAT(1,1),c3 VARCHAR(1024) CHARACTER SET 'latin1' COLLATE 'latin1_bin') ENGINE=InnoDB; # NOERROR PREPARE stmt FROM @cmd; # NOERROR XA ROLLBACK 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID UNLOCK TABLES; # NOERROR SET AUTOCOMMIT=ON; # NOERROR ALTER TABLE t2 MODIFY c2 TEXT BINARY; # NOERROR ALTER TABLE t3 ADD COLUMN c4 MEDIUMINT; # ERROR: 1146 - Table 'test.t3' doesn't exist BEGIN; # NOERROR SET GLOBAL innodb_monitor_reset='log_writes'; # NOERROR COMMIT; # NOERROR SELECT -148 % SQRT(-667) - 335; # NOERROR CREATE TEMPORARY TABLE t2 (c1 YEAR PRIMARY KEY,c2 INTEGER(254) ZEROFILL,c3 INTEGER) ENGINE=InnoDB; # NOERROR SET GLOBAL innodb_monitor_disable='innodb_rwlock_s_os_waits'; # NOERROR SHOW ERRORS; # NOERROR SET SESSION TRANSACTION ISOLATION LEVEL SERIALIZABLE; # NOERROR SHOW MASTER STATUS; # NOERROR SET @@SESSION.OPTIMIZER_SWITCH="index_merge_sort_union=ON"; # NOERROR LOAD DATA INFILE 'out7' INTO TABLE t3; # ERROR: 1146 - Table 'test.t3' doesn't exist COMMIT AND CHAIN; # NOERROR SET @@GLOBAL.OPTIMIZER_SWITCH="index_merge_sort_union=ON"; # NOERROR PURGE BINARY LOGS TO '-1.e-1'; # NOERROR XA BEGIN 'xid1'; # ERROR: 1400 - XAER_OUTSIDE: Some work is done outside global transaction INSERT INTO t1 SELECT * FROM t1; # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state CREATE TABLE IF NOT EXISTS t1 (c1 DECIMAL(2,2),c2 NUMERIC(65,30) UNSIGNED ZEROFILL,c3 VARCHAR(1024) CHARACTER SET 'Binary' COLLATE 'Binary') ENGINE=InnoDB; # NOERROR PURGE MASTER LOGS TO '!@#$%^&*()_+{}[]:,./<>?:"'; # NOERROR CREATE DEFINER=user2 PROCEDURE p1 (OUT i1 TINYBLOB, INOUT i2 NUMERIC(40) UNSIGNED ZEROFILL) SQL SECURITY DEFINER UNLOCK TABLES; # ERROR: 1314 - UNLOCK is not allowed in stored procedures ROLLBACK NO RELEASE; # NOERROR FLUSH LOCAL RELAY LOGS FOR CHANNEL 'group_replication_recovery'; # ERROR: 3074 - Slave channel 'group_replication_recovery' does not exist. SELECT (SELECT (SELECT c3,c3 FROM t3) OR (SELECT c2,c3 FROM t3 AS a1 JOIN t3 AS a2 )) AND (SELECT (SELECT (SELECT c1,c1 FROM t3 AS a1, t3 AS a2 ) AND (SELECT c1,c3 FROM t3 AS a1, t1 AS a2 ))) OR ((SELECT c1,c3 FROM t3) AND (SELECT t3.c2 FROM t3 LEFT JOIN t2 ON t3.c1)) OR (SELECT t3.c2 FROM t3 NATURAL LEFT JOIN t3 ON t3.c2='cc'); # ERROR: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ON t3.c2='cc')' at line 1 SELECT * FROM t3 INTO OUTFILE 'out2'; # ERROR: 1146 - Table 'test.t3' doesn't exist UNLOCK TABLES; # NOERROR START TRANSACTION WITH CONSISTENT SNAPSHOT; # NOERROR SET GLOBAL innodb_monitor_reset_all='buffer_LRU_batch_num_scan'; # NOERROR SELECT * FROM t3 INTO OUTFILE 'out2'; # ERROR: 1146 - Table 'test.t3' doesn't exist XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID SELECT ((COT(-262) MOD (ACOS(3.1415927) - COT(407) DIV FLOOR(-40)) % (SIN(-307) % ACOS(-630)) + LOG2(202)) / (ABS(-896) % LOG2(-1.e-2)) / 140 DIV 947 + CURRENT_TIMESTAMP) - (LOG(-438) + -83 % ABS(0.0001)); # NOERROR SET @b=23-12-2340; # NOERROR UPDATE t3 SET c1='#01'; # ERROR: 1146 - Table 'test.t3' doesn't exist INSERT INTO t1 VALUES (6934,-1.e+3,'9000-12-12 00:00:00'); # ERROR: 1416 - Cannot get geometry object from data you send to the GEOMETRY field INSERT INTO t3 SELECT * FROM t2; # ERROR: 1146 - Table 'test.t3' doesn't exist SELECT f3(5000000000000000); # ERROR: 1305 - FUNCTION test.f3 does not exist SELECT c1 FROM t3 UNION SELECT t2.c3 FROM t2 RIGHT OUTER JOIN t2 ON t2.c1=('\0x' - ACOS(22)) DIV (ATAN('DUMMY5') DIV 662 / ATAN(540) * 396) UNION SELECT c3,c2 FROM t2 AS a1 INNER JOIN t3 AS a2 WHERE a3.c2>a2.c1 OR a2.c1='2000-12-12 23:59:61' AND a3.c2=a2.c2; # ERROR: 1066 - Not unique table/alias: 't2' XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state COMMIT NO RELEASE; # NOERROR CALL p3(@c); # ERROR: 1318 - Incorrect number of arguments for PROCEDURE test.p3; expected 2, got 1 XA RECOVER; # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state SET @@SESSION.tx_isolation="READ-UNCOMMITTED"; # NOERROR COMMIT; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID XA ROLLBACK 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID CREATE TABLE IF NOT EXISTS t3 (c1 DATETIME(2),c2 MEDIUMINT(1) UNSIGNED,c3 INTEGER(1) ZEROFILL) ENGINE=InnoDB; # NOERROR SHOW DATABASES LIKE '%c'; # NOERROR COMMIT; # NOERROR SELECT @a; # NOERROR SELECT @a; # NOERROR ALTER TABLE t2 MODIFY c1 FLOAT(10,10); # NOERROR CREATE TABLE IF NOT EXISTS t1 (c1 INT(254) ZEROFILL,c2 VARCHAR(2049) CHARACTER SET 'latin1' COLLATE 'latin1_bin',c3 TIME(2)) ENGINE=MEMORY; # NOERROR COMMIT NO RELEASE; # NOERROR ALTER TABLE t3 ADD UNIQUE (c1); # NOERROR UNLOCK TABLES; # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state SELECT 705 % TRUNCATE(906,333) DIV PI() MOD 566; # NOERROR UNLOCK TABLES; # NOERROR DROP FUNCTION IF EXISTS f2; # NOERROR SELECT c1 FROM t2 WHERE (c1) IN (SELECT t1.c2 FROM t2 NATURAL LEFT JOIN t1 ON t1.c2); # ERROR: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ON t1.c2)' at line 1 SELECT -21 / ROUND((SIN(-634) * TAN(-374)) - (POWER(-577,-308) + LOG(960) DIV CONV(593,ASIN(-446) + -853,76))) DIV RADIANS(935); # NOERROR CREATE TABLE IF NOT EXISTS t1 (c1 FLOAT(1,1),c2 INT(255),c3 FLOAT(1,0), PRIMARY KEY(c1)) ENGINE=InnoDB; # NOERROR ALTER TABLE t2 ENGINE=InnoDB; # NOERROR CREATE TABLE t1 (c1 NUMERIC,c2 JSON,c3 NUMERIC(1) ZEROFILL, PRIMARY KEY(c1)) ENGINE=InnoDB; # ERROR: 1050 - Table 't1' already exists XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID SET @@SESSION.OPTIMIZER_SWITCH="duplicateweedout=OFF"; # NOERROR SET @cmd:="COMMIT NO RELEASE"; # NOERROR XA BEGIN 'xid2'; # NOERROR OPTIMIZE NO_WRITE_TO_BINLOG TABLE t2; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state COMMIT AND NO CHAIN NO RELEASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SET GLOBAL TRANSACTION ISOLATION LEVEL SERIALIZABLE; # NOERROR SELECT -1.e+10 % 115 + -200 MOD -409; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state CREATE TABLE t1 (c1 DOUBLE(40,30) UNSIGNED ZEROFILL,c2 VARCHAR(1024) CHARACTER SET 'latin1' COLLATE 'latin1_bin',c3 VARCHAR(255) CHARACTER SET 'latin1' COLLATE 'latin1_bin') ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state UPDATE t3 SET c1=-1.e+2; # NOERROR XA COMMIT 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state ALTER TABLE t2 DROP COLUMN c2; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state INSERT INTO t1 SELECT * FROM t2; # NOERROR XA END 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID UPDATE t2 SET c1=(340 MOD LOG2(-464) + TAN(774)) MOD (433 / MOD(-674,-133)) WHERE c1<'³³³'; # NOERROR SET AUTOCOMMIT=ON; # NOERROR RELEASE SAVEPOINT sp1; # ERROR: 1305 - SAVEPOINT sp1 does not exist XA END 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID SET @@SESSION.innodb_ft_user_stopword_table=test/t1; # ERROR: 1054 - Unknown column 'test' in 'field list' SELECT @c; # NOERROR LOCK TABLES t1 AS a3 LOW_PRIORITY WRITE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state RELEASE SAVEPOINT sp2; # ERROR: 1305 - SAVEPOINT sp2 does not exist SET GLOBAL innodb_monitor_enable='buffer_flush_background_total_pages'; # NOERROR DROP TABLE IF EXISTS t2; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state RELEASE SAVEPOINT sp2; # ERROR: 1305 - SAVEPOINT sp2 does not exist SELECT * FROM performance_schema.events_statements_summary_by_digest; # NOERROR SELECT * FROM performance_schema.events_stages_current; # NOERROR INSERT INTO t3 SELECT * FROM t3; # NOERROR SET GLOBAL TRANSACTION ISOLATION LEVEL READ COMMITTED; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SELECT @c; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state CREATE TABLE t1 (c1 VARCHAR(1025) CHARACTER SET 'utf8' COLLATE 'utf8_bin',c2 MEDIUMBLOB,c3 DECIMAL(2,2), PRIMARY KEY(c1)) ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state INSERT INTO t1 VALUES (-1,NULL,(428 MOD POWER(896,-73)) / (LN(1.e+20) / -937)); # NOERROR RENAME TABLE t1 TO t2,t2 TO t2; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SHOW PROCESSLIST; # NOERROR XA ROLLBACK 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state CREATE PROCEDURE p2 (OUT i1 DOUBLE(1,0), IN i2 CHAR) NO SQL INSERT INTO t3 SELECT * FROM t3; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state REPAIR LOCAL TABLE t3 USE_FRM; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SET MAX_JOIN_SIZE=1000000; # NOERROR SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED; # NOERROR UNLOCK TABLES; # NOERROR ROLLBACK AND CHAIN; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SELECT * FROM performance_schema.status_by_thread; # NOERROR SELECT @c; # NOERROR START TRANSACTION READ WRITE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SELECT * FROM performance_schema.events_stages_summary_global_by_event_name; # NOERROR SET @@GLOBAL.wait_timeout=1024; # NOERROR SELECT (POWER(-683,105) MOD 820 / -463) DIV (LOG(525) MOD COT(378) / LOG10(498) / -924 + -928); # NOERROR DROP TABLE t3; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SET GLOBAL innodb_monitor_enable='buffer_page_read_zblob2'; # ERROR: 1231 - Variable 'innodb_monitor_enable' can't be set to the value of 'buffer_page_read_zblob2' INSERT INTO t3 SELECT * FROM t1; # NOERROR SET GLOBAL innodb_monitor_reset='adaptive_hash_rows_updated'; # NOERROR CREATE TABLE t3 (c1 TIMESTAMP PRIMARY KEY,c2 TINYBLOB,c3 BIT(1)) ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SELECT * FROM t2 INTO OUTFILE 'out3'; # NOERROR BEGIN; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state RELEASE SAVEPOINT sp1; # ERROR: 1305 - SAVEPOINT sp1 does not exist SET @@SESSION.SQL_MODE=(SELECT REPLACE(@@SQL_MODE,',HIGH_NOT_PRECEDENCE','')); # NOERROR SELECT c2 FROM t3 UNION SELECT c2 FROM t1 AS a1 JOIN t3 AS a2 INNER JOIN t3 AS a3 UNION SELECT t2.c2 FROM t3 RIGHT JOIN t2 ON t2.c1; # ERROR: 1052 - Column 'c2' in field list is ambiguous XA COMMIT 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SELECT * FROM performance_schema.memory_summary_by_user_by_event_name; # NOERROR SET GLOBAL innodb_monitor_reset_all='buffer_page_written_system_page'; # ERROR: 1231 - Variable 'innodb_monitor_reset_all' can't be set to the value of 'buffer_page_written_system_page' CREATE TABLE IF NOT EXISTS t2 (c1 YEAR,c2 DECIMAL(1) UNSIGNED ZEROFILL,c3 CHAR(1) BINARY CHARACTER SET 'latin1' COLLATE 'latin1_bin') ENGINE=BLACKHOLE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state LOCK TABLES t2 AS a1 WRITE, t3 AS a8 WRITE, t1 AS a2 READ; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state INSERT INTO t1 SELECT * FROM t2; # NOERROR ALTER TABLE t1 DROP PRIMARY KEY; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state DEALLOCATE PREPARE stmt; # NOERROR LOCK TABLES t2 AS a3 READ LOCAL, t1 AS a0 LOW_PRIORITY WRITE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SET GLOBAL innodb_monitor_reset_all='trx_undo_slots_used'; # NOERROR XA COMMIT 'xid2' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state TRUNCATE t3; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SELECT @a; # NOERROR FLUSH LOCAL RELAY LOGS FOR CHANNEL '1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state ROLLBACK WORK; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state UPDATE t3 SET c1='CC' LIMIT 8; # NOERROR PURGE MASTER LOGS BEFORE CURRENT_TIMESTAMP(); # NOERROR TRUNCATE t3; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SET @@SESSION.OPTIMIZER_SWITCH="batched_key_access=ON"; # NOERROR SELECT * FROM performance_schema.events_stages_history WHERE EVENT_NAME LIKE '%wsrep%'; # NOERROR CREATE TABLE IF NOT EXISTS t3 (c1 VARCHAR(256) PRIMARY KEY,c2 VARCHAR(2) BINARY CHARACTER SET 'Binary' COLLATE 'Binary',c3 VARCHAR(10)) ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state CREATE TABLE IF NOT EXISTS t1 (c1 DOUBLE PRIMARY KEY,c2 DATETIME(3),c3 REAL(1,0)) ENGINE=MEMORY; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state RESET SLAVE FOR CHANNEL 'group_replication_applier'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state XA COMMIT 'xid1' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SET GLOBAL TRANSACTION ISOLATION LEVEL READ COMMITTED; # NOERROR CREATE TABLE IF NOT EXISTS t3 (c1 DATETIME(2),c2 MEDIUMINT(1) UNSIGNED,c3 INTEGER(1) ZEROFILL) ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state PREPARE stmt FROM @cmd; # NOERROR XA START 'xid2'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state INSERT INTO t3 SELECT * FROM t2; # NOERROR SET SQL_BIG_SELECTS=1; # NOERROR UPDATE t3 SET c1=-1.e+10; # NOERROR LOCK TABLES t2 AS a3 READ LOCAL, t1 AS a0 LOW_PRIORITY WRITE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state XA END 'xid2'; # NOERROR SET GLOBAL innodb_monitor_disable='lock_timeouts'; # NOERROR ALTER TABLE t1 MODIFY c2 VARCHAR(255); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SET @@SESSION.binlog_format=STATEMENT; # ERROR: 1559 - Cannot switch out of the row-based binary log format when the session has open temporary tables ALTER TABLE t2 ADD UNIQUE (c2); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SELECT ('ÃÃÃ' + ACOS(-676)) % (LOG2(701) DIV 283); # NOERROR RENAME TABLE t2 TO t3,t1 TO t2,t2 TO t3; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state DELETE QUICK a2 FROM t3 AS a1 INNER JOIN t3 AS a2 CROSS JOIN t1 AS a3; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state CALL p1(@a); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SET GLOBAL TRANSACTION ISOLATION LEVEL READ UNCOMMITTED; # NOERROR XA PREPARE 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID LOAD DATA INFILE 'out0' INTO TABLE t2; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state DROP FUNCTION IF EXISTS f3; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state TRUNCATE t1; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SELECT f2(2014); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state UPDATE t2 SET c1='³³³'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state CREATE TABLE t3 (c1 VARCHAR(120) PRIMARY KEY,c2 VARCHAR(40) BINARY CHARACTER SET 'latin1' COLLATE 'latin1_bin',c3 DATETIME(0)) ENGINE=MEMORY; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state XA ROLLBACK 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state UNLOCK TABLES; # NOERROR UNLOCK TABLES; # NOERROR REPAIR LOCAL TABLE t1; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SELECT * FROM t2 INTO OUTFILE 'out2'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state DEALLOCATE PREPARE stmt; # NOERROR SELECT (MOD(484,501) MOD -648) DIV (ROUND(-107) DIV -542 % 0.0) % (SQRT(-407) + -802 DIV CONV(371,912,291)); # NOERROR SELECT * FROM performance_schema.status_by_host; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state COMMIT AND NO CHAIN; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state UNLOCK TABLES; # NOERROR PURGE BINARY LOGS BEFORE CURRENT_TIMESTAMP(); # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SET @@SESSION.optimizer_switch="firstmatch=on"; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state EXECUTE stmt; # ERROR: 1243 - Unknown prepared statement handler (stmt) given to EXECUTE ALTER TABLE t2 ADD INDEX (c3); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state INSERT INTO t2 SELECT * FROM t2; # ERROR: 1137 - Can't reopen table: 't2' XA ROLLBACK 'xid2'; # NOERROR SELECT f1(1.e-20); # ERROR: 1305 - FUNCTION test.f1 does not exist OPTIMIZE NO_WRITE_TO_BINLOG TABLE t2; # NOERROR CREATE TABLE t2 (c1 BIT(2),c2 DATETIME(0),c3 DECIMAL(40,30) UNSIGNED ZEROFILL) ENGINE=InnoDB; # ERROR: 1050 - Table 't2' already exists SHOW PROFILE PAGE FAULTS OFFSET 8 LIMIT 7; # ERROR: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OFFSET 8 LIMIT 7' at line 1 UNLOCK TABLES; # NOERROR SET MAX_JOIN_SIZE=1000000; # NOERROR SET @c=0.00001; # NOERROR UPDATE t2 SET c1='óóó'; # NOERROR TRUNCATE TABLE t1; # NOERROR UNLOCK TABLES; # NOERROR SET AUTOCOMMIT=ON; # NOERROR LOCK TABLES t2 AS a2 READ, t3 AS a4 READ LOCAL, t1 AS a0 READ LOCAL; # NOERROR SHOW PROFILES; # NOERROR SET GLOBAL TRANSACTION ISOLATION LEVEL SERIALIZABLE; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID ROLLBACK TO sp1; # ERROR: 1305 - SAVEPOINT sp1 does not exist UNLOCK TABLES; # NOERROR REPAIR LOCAL TABLE t3 QUICK; # NOERROR TRUNCATE t1; # NOERROR ROLLBACK NO RELEASE; # NOERROR SELECT c1 FROM t3 WHERE (c1) IN (SELECT c1,c1 FROM t1); # ERROR: 1241 - Operand should contain 1 column(s) XA PREPARE 'xid2'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state SELECT DEGREES(252) MOD TRUNCATE(441,904) * LOG(821); # NOERROR SHOW CREATE PROCEDURE p2; # ERROR: 1305 - PROCEDURE p2 does not exist SELECT * FROM t3 INTO OUTFILE 'out5'; # NOERROR INSERT INTO t1 VALUES (-2,'23-12-2340',1.e+1); # ERROR: 1416 - Cannot get geometry object from data you send to the GEOMETRY field SET @@SESSION.OPTIMIZER_SWITCH="materialization=ON"; # NOERROR DROP FUNCTION f3; # ERROR: 1305 - FUNCTION test.f3 does not exist SET @@GLOBAL.OPTIMIZER_SWITCH="engine_condition_pushdown=ON"; # NOERROR CREATE TABLE t3 (c1 DECIMAL(1,1) ZEROFILL,c2 VARCHAR(10) CHARACTER SET 'Binary' COLLATE 'Binary',c3 DATE, PRIMARY KEY(c1)) ENGINE=InnoDB; # ERROR: 1050 - Table 't3' already exists UNLOCK TABLES; # NOERROR PURGE MASTER LOGS BEFORE CURRENT_TIMESTAMP(); # NOERROR ALTER TABLE t2 ENGINE=InnoDB; # NOERROR INSERT INTO t1 VALUES ('DddddD',CURRENT_TIMESTAMP,(662 % -335) DIV (COS(620) + POW('DddddD',779) + 720 - 580 DIV LOG2(545) + EXP(114))); # ERROR: 1416 - Cannot get geometry object from data you send to the GEOMETRY field SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED; # NOERROR SET autocommit=1; # NOERROR TRUNCATE TABLE performance_schema.events_stages_summary_by_account_by_event_name; # NOERROR SELECT c1 FROM t3 AS a1 STRAIGHT_JOIN t3 AS a2 STRAIGHT_JOIN t1 AS a3 UNION SELECT t1.c2 FROM t1 RIGHT JOIN t1 ON t1.c3; # ERROR: 1066 - Not unique table/alias: 't1' SAVEPOINT sp2; # NOERROR UPDATE performance_schema.setup_instruments SET ENABLED = 'YES', TIMED = 'YES'; # NOERROR INSERT INTO t2 VALUES (1e3,1.e-2,'CC'); # NOERROR SET GLOBAL innodb_monitor_enable='buffer_flush_avg_page_rate'; # NOERROR FLUSH ERROR LOGS; # NOERROR SET @@SESSION.SQL_MODE=(SELECT REPLACE(@@SQL_MODE,',NO_ZERO_IN_DATE','')); # NOERROR SELECT (SELECT c3 FROM t3); # NOERROR UPDATE t1 SET c1=(RADIANS(-284 - RADIANS(885)) MOD 374 * ABS(420) + SIN(-218) MOD ASIN(487)) DIV (-688 / ABS(587)); # NOERROR INSERT INTO t2 SELECT * FROM t2; # ERROR: 1137 - Can't reopen table: 't2' CREATE FUNCTION f2 (i1 FLOAT(255,30)) RETURNS DOUBLE(255,10) UNSIGNED ZEROFILL NO SQL RETURN CONCAT('function output:',i1); # NOERROR INSERT INTO t3 SELECT * FROM t3; # NOERROR UNLOCK TABLES; # NOERROR SET autocommit=1; # NOERROR SET AUTOCOMMIT=ON; # NOERROR SET @@GLOBAL.SQL_MODE=(SELECT REPLACE(@@SQL_MODE,',REAL_AS_FLOAT','')); # NOERROR ALTER TABLE t2 DROP COLUMN c2; # NOERROR CREATE PROCEDURE p3 (OUT i1 CHAR(254)) CONTAINS SQL SELECT * FROM performance_schema.user_variables_by_thread; # ERROR: 1304 - PROCEDURE p3 already exists INSERT INTO t3 VALUES ('aa',23-12-2340,-3); # NOERROR XA ROLLBACK 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID SHOW ENGINE BLACKHOLE MUTEX; # NOERROR DELETE a1,a3 FROM t1 AS a1 CROSS JOIN t3 AS a2, t1 AS a3 WHERE a1.c1>=a3.c1; # NOERROR COMMIT WORK; # NOERROR SET AUTOCOMMIT=ON; # NOERROR OPTIMIZE LOCAL TABLE t3; # NOERROR CREATE PROCEDURE p2 (OUT i1 CHAR CHARACTER SET 'Binary' COLLATE 'Binary') CONTAINS SQL INSERT INTO t2 SELECT * FROM t3; # NOERROR SELECT c2,c1 FROM t1; # NOERROR INSERT INTO t2 SELECT * FROM t1; # ERROR: 1136 - Column count doesn't match value count at row 1 SELECT * FROM performance_schema.events_waits_summary_by_instance; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID SELECT f1(-1.e+10); # ERROR: 1305 - FUNCTION test.f1 does not exist ROLLBACK AND CHAIN NO RELEASE; # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state UNLOCK TABLES; # NOERROR OPTIMIZE NO_WRITE_TO_BINLOG TABLE t1; # NOERROR CALL p2(@a); # ERROR: 1136 - Column count doesn't match value count at row 1 CREATE TABLE t2 (c1 INTEGER,c2 INT(254),c3 CHAR(254) BINARY CHARACTER SET 'latin1' COLLATE 'latin1_bin') ENGINE=InnoDB; # ERROR: 1050 - Table 't2' already exists XA COMMIT 'xid2' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID TRUNCATE TABLE t1; # NOERROR SELECT * FROM performance_schema.events_statements_summary_by_thread_by_event_name; # NOERROR INSERT INTO t1 VALUES ('EEeeEE',(932 + CRC32(112)) / (-451 + -643 MOD POWER(-195,-609) MOD 277),'<>,./;[}{}]&&``'); # NOERROR SET AUTOCOMMIT=ON; # NOERROR TRUNCATE t1; # NOERROR CREATE TABLE IF NOT EXISTS t3 (c1 VARCHAR(1) PRIMARY KEY,c2 POINT,c3 CHAR(254) BINARY CHARACTER SET 'latin1' COLLATE 'latin1_bin') ENGINE=InnoDB; # NOERROR INSERT INTO t3 SELECT * FROM t3; # ERROR: 1062 - Duplicate entry '0000-00-00 00:00:00.00' for key 'c1' SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED; # NOERROR SELECT @c; # NOERROR DROP TABLE t1; # NOERROR UNLOCK TABLES; # NOERROR START TRANSACTION WITH CONSISTENT SNAPSHOT; # NOERROR SET GLOBAL TRANSACTION ISOLATION LEVEL REPEATABLE READ; # NOERROR SELECT * FROM t1 INTO OUTFILE 'out6'; # ERROR: 1146 - Table 'test.t1' doesn't exist INSERT INTO t3 SELECT * FROM t2; # ERROR: 1136 - Column count doesn't match value count at row 1 XA ROLLBACK 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state UNLOCK TABLES; # NOERROR SET @@GLOBAL.SQL_MODE=(SELECT CONCAT(@@SQL_MODE,',NO_ZERO_DATE')); # NOERROR SELECT c3,c2 FROM t1 UNION SELECT c1 FROM t3 AS a1 INNER JOIN t2 AS a2, t1 AS a3 WHERE a3.c2=0.01 UNION SELECT c3,c1 FROM t3 AS a1 CROSS JOIN t2 AS a2 WHERE a1.c1'BbBbBb'; # ERROR: 1066 - Not unique table/alias: 'a3' SET @@SESSION.sql_mode=NO_BACKSLASH_ESCAPES; # NOERROR INSERT INTO t2 SELECT * FROM t1; # ERROR: 1136 - Column count doesn't match value count at row 1 SET autocommit=1; # NOERROR CREATE TABLE IF NOT EXISTS t2 (c1 VARCHAR(10) CHARACTER SET 'Binary' COLLATE 'Binary',c2 TEXT BINARY CHARACTER SET 'latin1' COLLATE 'latin1_bin',c3 BIT(2), PRIMARY KEY(c1)) ENGINE=InnoDB; # NOERROR SAVEPOINT sp1; # NOERROR INSERT INTO t1 VALUES ('bb','óóó','ÃÃÃ'); # NOERROR CREATE DEFINER=user2 FUNCTION f2 (i1 SMALLINT(255)) RETURNS REAL(1,0) ZEROFILL LANGUAGE SQL RETURN CONCAT('function output:',i1); # ERROR: 1304 - FUNCTION f2 already exists SET MAX_JOIN_SIZE=1000000; # NOERROR INSERT INTO t3 VALUES (-2,NULL,(31 MOD -913) % ('bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb' + EXP(-299) * RAND() * -815)); # ERROR: 1136 - Column count doesn't match value count at row 1 LOCK TABLES t3 AS a1 READ, t3 AS a7 READ LOCAL; # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state EXECUTE stmt; # ERROR: 1243 - Unknown prepared statement handler (stmt) given to EXECUTE UPDATE performance_schema.setup_instruments SET ENABLED = 'YES', TIMED = 'YES' WHERE NAME LIKE '%galera%'; # ERROR: 1100 - Table 'setup_instruments' was not locked with LOCK TABLES PURGE MASTER LOGS BEFORE CURRENT_TIMESTAMP(); # NOERROR CREATE TABLE t1 (c1 SET('a','b','c') PRIMARY KEY,c2 DOUBLE(1,0),c3 TEXT BINARY CHARACTER SET 'latin1' COLLATE 'latin1_bin') ENGINE=InnoDB; # ERROR: 1100 - Table 't1' was not locked with LOCK TABLES INSERT INTO t1 SELECT * FROM t3; # ERROR: 1100 - Table 't3' was not locked with LOCK TABLES SELECT (COS(213) * TRUNCATE(594,-542) % CEILING('2000-12-12 24:59:00') + LN(998)) MOD (TRUNCATE(621,-691) * 395 + -404); # NOERROR SET @@GLOBAL.innodb_rollback_segments=2; # NOERROR ROLLBACK WORK AND CHAIN NO RELEASE; # NOERROR SET @a=(PI() % 727 DIV 925 MOD CEIL(-725)) / (-150 MOD 749); # NOERROR SET GLOBAL innodb_monitor_enable='module_adaptive_hash'; # NOERROR SHOW CREATE TRIGGER tr2; # ERROR: 1360 - Trigger does not exist ALTER TABLE t3 ENGINE=InnoDB; # NOERROR SELECT * FROM t3 INTO OUTFILE 'out8'; # ERROR: 1086 - File 'out8' already exists INSERT INTO t3 VALUES ('2000-12-12 23:61:00',1.e-20,(-326 MOD SIGN(177)) / (CEILING(-357) DIV -725 / TRUNCATE(616,'2000-12-12 23:59:61'))); # ERROR: 1136 - Column count doesn't match value count at row 1 SET GLOBAL innodb_monitor_reset='buffer_page_read_index_inode'; # ERROR: 1231 - Variable 'innodb_monitor_reset' can't be set to the value of 'buffer_page_read_index_inode' SET @@SESSION.OPTIMIZER_SWITCH="firstmatch=ON"; # NOERROR BEGIN WORK; # NOERROR UPDATE performance_schema.setup_consumers SET ENABLED = 'YES'; # NOERROR CREATE TABLE t3 (c1 VARCHAR(40) BINARY CHARACTER SET 'Binary' COLLATE 'Binary',c2 SMALLINT(254),c3 TINYBLOB) ENGINE=InnoDB; # ERROR: 1050 - Table 't3' already exists INSERT INTO t1 VALUES ('EEeeEE',1e1,'23-12-2015'); # NOERROR CREATE TABLE t1 (c1 NUMERIC(10),c2 TIME(4),c3 CHAR BINARY CHARACTER SET 'Binary' COLLATE 'Binary') ENGINE=MyISAM; # ERROR: 1050 - Table 't1' already exists SELECT @b; # NOERROR CREATE PROCEDURE p3 (INOUT i1 DECIMAL(65,30) UNSIGNED ZEROFILL) NO SQL COMMENT 'comment' DROP FUNCTION IF EXISTS f1; # ERROR: 1357 - Can't drop or alter a FUNCTION from within another stored routine SET GLOBAL innodb_monitor_disable='buffer_LRU_get_free_waits'; # NOERROR CREATE TABLE IF NOT EXISTS t2 (c1 NUMERIC(10,10) UNSIGNED ZEROFILL,c2 BIGINT(255),c3 BINARY(2)) ENGINE=InnoDB; # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state XA COMMIT 'xid2' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID CALL p2(@c); # ERROR: 1136 - Column count doesn't match value count at row 1 XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID CREATE FUNCTION f2 (i1 INTEGER ZEROFILL) RETURNS NUMERIC(1) UNSIGNED ZEROFILL LANGUAGE SQL RETURN CONCAT('function output:',i1); # ERROR: 1304 - FUNCTION f2 already exists SELECT * FROM performance_schema.events_waits_summary_by_user_by_event_name; # NOERROR CREATE TABLE t1 (c1 DECIMAL(1),c2 BINARY(2),c3 TINYBLOB) ENGINE=InnoDB; # ERROR: 1050 - Table 't1' already exists INSERT INTO t3 SELECT * FROM t1; # ERROR: 1136 - Column count doesn't match value count at row 1 SELECT EVENT_NAME, COUNT_STAR FROM performance_schema.events_waits_summary_global_by_event_name WHERE EVENT_NAME LIKE '%galera%'; # NOERROR INSERT INTO t2 SELECT * FROM t1; # ERROR: 1136 - Column count doesn't match value count at row 1 INSERT INTO t3 VALUES ('2000-12-12 23:61:00','2000-12-12 23:59:61','EEeeEE'); # ERROR: 1136 - Column count doesn't match value count at row 1 SELECT * FROM performance_schema.accounts; # NOERROR TRUNCATE t3; # NOERROR PURGE MASTER LOGS BEFORE CURRENT_TIMESTAMP(); # NOERROR SELECT * FROM performance_schema.events_stages_summary_by_host_by_event_name; # NOERROR SET GLOBAL TRANSACTION ISOLATION LEVEL SERIALIZABLE; # NOERROR CALL p2(@a); # ERROR: 1136 - Column count doesn't match value count at row 1 INSERT INTO t1 VALUES (-3.0,1000000000000000,-3); # NOERROR SELECT * FROM performance_schema.session_status; # NOERROR SET SQL_BIG_SELECTS=1; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID DEALLOCATE PREPARE stmt; # ERROR: 1243 - Unknown prepared statement handler (stmt) given to DEALLOCATE PREPARE SET GLOBAL innodb_monitor_enable='module_compress'; # NOERROR INSERT INTO t1 VALUES ('ÃÃÃ',x01,1.e+1); # ERROR: 1054 - Unknown column 'x01' in 'field list' SHOW STORAGE ENGINES; # NOERROR ROLLBACK WORK AND CHAIN; # NOERROR INSERT INTO t3 SELECT * FROM t1; # ERROR: 1136 - Column count doesn't match value count at row 1 UNLOCK TABLES; # NOERROR UPDATE t3 SET c1=(451 % CRC32((574 + COS(-366) DIV 205) DIV (CONV(208,-565,'!@#$%^-690*()_+{}[]:,./<>?:"') + LOG2(-106) MOD 916 DIV ACOS(-1.e-1) DIV LOG(-97))) + '23-12-2015' DIV SIN(807) MOD LOG2((ATAN(NULL) MOD 63) * (264 + LN(0.001 % -14 DIV 97) - RADIANS(LOG2(-622) - LOG(-478) + 1.e-1)))) / (POWER(397,-314) * TRUNCATE(-592,737) DIV RAND() * LN(-190) * COT('') - LOG10(-561) + -733 + LOG(489 % MOD(685 * DEGREES('cCCCCc'),706))); # NOERROR INSERT INTO t3 SELECT * FROM t1; # ERROR: 1136 - Column count doesn't match value count at row 1 TRUNCATE t1; # NOERROR SET GLOBAL TRANSACTION ISOLATION LEVEL SERIALIZABLE; # NOERROR SELECT (DEGREES(-950) DIV 868) % (999 MOD 32); # NOERROR CREATE FUNCTION f3 (i1 VARCHAR(2049) BINARY CHARACTER SET 'utf8' COLLATE 'utf8_bin') RETURNS SMALLINT(254) UNSIGNED ZEROFILL READS SQL DATA SQL SECURITY INVOKER COMMENT 'comment' NOT DETERMINISTIC DETERMINISTIC NOT DETERMINISTIC NO SQL RETURN CONCAT('function output:',i1); # NOERROR SET GLOBAL innodb_monitor_enable='purge_resume_count'; # NOERROR SELECT * FROM performance_schema.events_statements_summary_by_host_by_event_name; # NOERROR RENAME TABLE t1 TO t1; # ERROR: 1050 - Table 't1' already exists DROP TABLE t1; # NOERROR XA COMMIT 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID SET GLOBAL innodb_monitor_enable='buffer_flush_batches'; # NOERROR INSERT INTO t1 VALUES (-1,NULL,(428 MOD POWER(896,-73)) / (LN(1.e+20) / -937)); # NOERROR SELECT (RADIANS(-71) + 898 * LN(-708)) * (-670 / 223) % (RAND(-863) DIV 936 + POWER(210,236) / TAN(-720)) * (ATAN2(-293) * LOG10(-548) % RAND()); # NOERROR SELECT * FROM performance_schema.file_instances WHERE FILE_NAME LIKE '%galera%'; # NOERROR INSERT INTO t3 SELECT * FROM t3; # NOERROR INSERT INTO t1 SELECT * FROM t2; # ERROR: 1136 - Column count doesn't match value count at row 1 DROP TABLE IF EXISTS t3; # NOERROR SELECT * FROM performance_schema.socket_summary_by_instance; # NOERROR CALL p1(@b); # ERROR: 1305 - PROCEDURE test.p1 does not exist SET GLOBAL innodb_monitor_enable='lock_table_lock_removed'; # NOERROR SHOW TABLES LIKE '%i'; # NOERROR UPDATE t2 SET c1=1.e+10 WHERE c1=1.e+3 AND c1=c3 OR c1>=c2 LIMIT 3; # ERROR: 1054 - Unknown column 'c2' in 'where clause' RESET SLAVE ALL; # ERROR: 1794 - Slave is not configured or failed to initialize properly. You must at least set --server-id to enable either a master or a slave. Additional error messages can be found in the MySQL error log. SET @@SESSION.tx_read_only=0; # NOERROR CREATE TABLE IF NOT EXISTS t2 (c1 TINYTEXT BINARY CHARACTER SET 'utf8' COLLATE 'utf8_bin',c2 BIGINT(254) UNSIGNED,c3 DATETIME(6)) ENGINE=MEMORY; # ERROR: 1163 - The used table type doesn't support BLOB/TEXT columns SAVEPOINT sp1; # NOERROR SELECT (ABS(-985) % -421 % -295) MOD (RAND() MOD '³³³') DIV (ASIN('b') - 0.0001 % SIN(486) MOD TRUNCATE(731,594)); # NOERROR XA END 'xid2'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state CREATE TABLE IF NOT EXISTS t1 (c1 CHAR(10),c2 VARCHAR(1025) CHARACTER SET 'latin1' COLLATE 'latin1_bin',c3 DECIMAL(1,1) UNSIGNED ZEROFILL) ENGINE=InnoDB; # NOERROR ANALYZE NO_WRITE_TO_BINLOG TABLE t1; # NOERROR SET autocommit=0; # NOERROR SELECT c2 FROM t2; # ERROR: 1054 - Unknown column 'c2' in 'field list' XA COMMIT 'xid2' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID CREATE FUNCTION f3 (i1 TINYINT(1) ZEROFILL) RETURNS TIME(6) NO SQL NOT DETERMINISTIC NO SQL COMMENT 'comment' RETURN CONCAT('function output:',i1); # ERROR: 1304 - FUNCTION f3 already exists XA START 'xid1'; # NOERROR SHOW INDEX FROM t1; # NOERROR SELECT f3(-1.e+1); # NOERROR XA END 'xid1'; # NOERROR SET @@SESSION.sql_quote_show_create=0; # NOERROR INSERT INTO t3 VALUES ('aAaAaA',12-23-2340,23-12-2340); # ERROR: 1146 - Table 'test.t3' doesn't exist DELETE a2,a2,a1 FROM t1 AS a1, t2 AS a2, t3 AS a3 WHERE a1.c3>=a2.c3; # ERROR: 1066 - Not unique table/alias: 'a2' XA BEGIN 'xid2'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state LOCK TABLES t1 AS a3 READ, t3 AS a9 WRITE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SELECT (SELECT c2 FROM t2); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state INSERT INTO t2 SELECT * FROM t2; # ERROR: 1137 - Can't reopen table: 't2' SET @@GLOBAL.innodb_read_ahead_threshold=80; # NOERROR DELETE LOW_PRIORITY IGNORE FROM a2 USING t1 AS a1 JOIN t2 AS a2 CROSS JOIN t2 AS a3; # ERROR: 1137 - Can't reopen table: 'a2' SET GLOBAL TRANSACTION ISOLATION LEVEL READ COMMITTED; # NOERROR DELETE a1,a3 FROM t2 AS a1 INNER JOIN t3 AS a2 CROSS JOIN t3 AS a3 WHERE a3.c3=1500; # ERROR: 1146 - Table 'test.t3' doesn't exist XA END 'xid2'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state INSERT INTO t2 VALUES ('#01',(311 + 150 MOD 'x05') DIV (115 DIV SIN((CEILING(-648) * FLOOR(-533) MOD SIGN(239) * 410) + (PI() % -684)) + TAN(71)),'cCCCCc'); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state UPDATE t1 SET c1='ffFFff' WHERE c1<=c1 LIMIT 8; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state UPDATE performance_schema.setup_objects SET ENABLED = 'YES', TIMED = 'YES'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state CREATE PROCEDURE p3 (IN i1 DATE, IN i2 DECIMAL(65,30)) NO SQL CREATE PROCEDURE p1 (OUT i1 TINYINT UNSIGNED) SQL SECURITY INVOKER SET SQL_BIG_SELECTS=1; # ERROR: 1303 - Can't create a PROCEDURE from within another stored routine TRUNCATE TABLE t1; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state UPDATE t2 SET c1=NULL; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state XA COMMIT 'xid1' ONE PHASE; # NOERROR TRUNCATE TABLE performance_schema.events_transactions_summary_by_host_by_event_name; # NOERROR TRUNCATE TABLE t1; # NOERROR SELECT (ROUND(-889) MOD 209) - (SIN(-822) - 906 - 'aa' * LOG(-699) MOD 857); # NOERROR TRUNCATE t1; # NOERROR INSERT INTO t1 VALUES ('AA',12-23-2015,-1.e+3); # NOERROR SET GLOBAL innodb_monitor_disable='log_max_modified_age_async'; # NOERROR REPAIR LOCAL TABLE t1 QUICK; # NOERROR UPDATE t3 SET c1=2.0 ORDER BY c1; # ERROR: 1146 - Table 'test.t3' doesn't exist TRUNCATE TABLE t1; # NOERROR SET GLOBAL innodb_monitor_enable='buffer_pages_written'; # NOERROR PURGE MASTER LOGS TO '(PI() + POW(592,-325) % RAND()) MOD (LOG2(63) - -3.0)'; # NOERROR XA RECOVER; # NOERROR INSERT INTO t2 VALUES (NULL,-3,(TAN(-406) / COS(CEILING(244) * ASIN(-789)) MOD DEGREES(-148)) + (316 * COT(907))); # ERROR: 1136 - Column count doesn't match value count at row 1 RELEASE SAVEPOINT sp2; # ERROR: 1305 - SAVEPOINT sp2 does not exist INSERT INTO t2 VALUES ('cCCCCc',1.e+2,x01); # ERROR: 1136 - Column count doesn't match value count at row 1 INSERT INTO t1 SELECT * FROM t1; # NOERROR COMMIT NO RELEASE; # NOERROR SELECT * FROM performance_schema.events_statements_summary_by_digest; # NOERROR ROLLBACK TO sp2; # ERROR: 1305 - SAVEPOINT sp2 does not exist INSERT INTO t3 SELECT * FROM t3; # ERROR: 1146 - Table 'test.t3' doesn't exist SELECT * FROM performance_schema.mutex_instances; # NOERROR UNLOCK TABLES; # NOERROR INSERT INTO t1 VALUES (1e3,'BB',(CEIL(0.00001) % -423 - -749 - LOG(203 * LOG2(-122))) / (CONV('12-23-2340',45,'9000-12-12 00:00:00') MOD -36 + 1.e-10)); # NOERROR SELECT (242 - DEGREES(526)) % (-997 + 3000000000000000) + (FLOOR((65 * 483) MOD (LOG10(-773 % -82 DIV LN((ABS(-401) + CONV(725,-52,-548)) MOD (-626 - 913)) DIV 603) DIV -146 MOD CEILING(986) % -644)) % (-955 MOD COS(1e1) DIV 86 * -787 DIV -230) + ((344 - -888 % -314 * -739) - (LOG('2000-12-12 23:59:61') DIV MOD(-537,-631) * CEIL(204) - RAND() - 'AA') - CEILING((-1.e+10 / SIGN(0.0001)) - (-183 DIV -834 / ABS(251) + 23-12-2340)) % DEGREES(38))) + ((520 + ATAN2(483)) + (POWER(2990,880) - 224) * 0.0001); # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 2014 - Commands out of sync; you can't run this command now SET GLOBAL innodb_monitor_reset_all='all'; # NOERROR DROP FUNCTION f1; # ERROR: 1305 - FUNCTION test.f1 does not exist UPDATE t1 SET c1='23-12-2340'; # NOERROR INSERT INTO t1 SELECT * FROM t2; # ERROR: 1136 - Column count doesn't match value count at row 1 SET @b=(DEGREES(5000000000000000) MOD 258) DIV (RADIANS(323) * LOG2(-74) MOD -400); # NOERROR SELECT '2016-12-12 23:59:00' MOD PI() / -10 / 288; # NOERROR EXECUTE stmt; # ERROR: 1243 - Unknown prepared statement handler (stmt) given to EXECUTE SELECT (SELECT c2 FROM t2); # ERROR: 1054 - Unknown column 'c2' in 'field list' UPDATE t2 SET c1=5000000000000000; # NOERROR CALL p1(@a); # ERROR: 1305 - PROCEDURE test.p1 does not exist INSERT INTO t3 VALUES (1000000000000000,1.e+10,'\05'); # ERROR: 1146 - Table 'test.t3' doesn't exist SET @@SESSION.optimizer_switch="index_merge_intersection=off"; # NOERROR INSERT INTO t3 VALUES (4000000000000000,'ffFFff',1.e+10); # ERROR: 1146 - Table 'test.t3' doesn't exist XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID SHOW SESSION VARIABLES LIKE '%n'; # NOERROR SELECT f1('01-01-1430'); # ERROR: 1305 - FUNCTION test.f1 does not exist CREATE TEMPORARY TABLE IF NOT EXISTS t2 (c1 VARCHAR(1) PRIMARY KEY,c2 BLOB,c3 NUMERIC(1)) ENGINE=MyISAM; # NOERROR SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED; # ERROR: 1568 - Transaction characteristics can't be changed while a transaction is in progress TRUNCATE t2; # NOERROR DELETE FROM t2 ORDER BY c1,c2 DESC LIMIT 9; # ERROR: 1054 - Unknown column 'c2' in 'order clause' RENAME TABLE t1 TO t1; # ERROR: 1050 - Table 't1' already exists XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID UPDATE t1 SET c1='cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc'; # NOERROR CREATE FUNCTION f3 (i1 TINYINT(1) ZEROFILL) RETURNS TIME(6) NO SQL NOT DETERMINISTIC NO SQL COMMENT 'comment' RETURN CONCAT('function output:',i1); # ERROR: 1304 - FUNCTION f3 already exists UNLOCK TABLES; # NOERROR SELECT * FROM (SELECT (SIGN(833) % 472) * (ABS(-408) DIV TAN(-443) * -538) MOD (POW(-168,'<>,./;[}{}]DUMMY2DUMMY2``') DIV LOG2(661) - SQRT(445)) MOD (COT(-448) MOD 718)) AS a1; # NOERROR SET GLOBAL innodb_monitor_reset='lock_row_lock_time'; # NOERROR SAVEPOINT sp2; # NOERROR SELECT * FROM performance_schema.events_statements_summary_by_digest; # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state XA COMMIT 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID CREATE PROCEDURE p1 (IN i1 BIT(1), INOUT i2 CHAR BINARY CHARACTER SET 'latin1' COLLATE 'latin1_bin') NOT DETERMINISTIC CALL p3(@a); # NOERROR CREATE TABLE IF NOT EXISTS t1 (c1 CHAR(254) PRIMARY KEY,c2 NUMERIC(10),c3 DECIMAL(10)) ENGINE=BLACKHOLE; # NOERROR CREATE TEMPORARY TABLE IF NOT EXISTS t1 (c1 VARCHAR(2037) BINARY CHARACTER SET 'latin1' COLLATE 'latin1_bin',c2 DECIMAL(2,2),c3 YEAR, PRIMARY KEY(c1)) ENGINE=InnoDB; # NOERROR CREATE TABLE t1 (c1 NUMERIC(1,0) UNSIGNED,c2 TINYBLOB,c3 SMALLINT UNSIGNED, PRIMARY KEY(c1)) ENGINE=InnoDB; # ERROR: 1050 - Table 't1' already exists INSERT INTO t3 VALUES (3.1415927,0.01,1.e+3); # ERROR: 1146 - Table 'test.t3' doesn't exist XA PREPARE 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state SELECT * FROM performance_schema.accounts; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID RELEASE SAVEPOINT sp1; # ERROR: 1305 - SAVEPOINT sp1 does not exist TRUNCATE t1; # NOERROR ANALYZE LOCAL TABLE t1; # NOERROR SELECT @a; # NOERROR CREATE TABLE t1 (c1 NUMERIC,c2 JSON,c3 NUMERIC(1) ZEROFILL, PRIMARY KEY(c1)) ENGINE=InnoDB; # ERROR: 1050 - Table 't1' already exists XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID SET AUTOCOMMIT=ON; # NOERROR EXECUTE stmt; # ERROR: 1243 - Unknown prepared statement handler (stmt) given to EXECUTE INSERT INTO t2 VALUES (-2.0,(370 - PI() / -699 DIV -394 % ASIN(875 % CONV(929,-630,-248)) DIV -437) + (-206 / 642 / ATAN(406)),1.e+3); # ERROR: 1136 - Column count doesn't match value count at row 1 XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state XA RECOVER; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID DROP FUNCTION f2; # NOERROR CREATE TABLE IF NOT EXISTS t3 (c1 CHAR(1) PRIMARY KEY,c2 NUMERIC(10) ZEROFILL,c3 CHAR(2) BINARY CHARACTER SET 'utf8' COLLATE 'utf8_bin') ENGINE=PERFORMANCE_SCHEMA; # ERROR: 1070 - Too many key parts specified; max 0 parts allowed SET AUTOCOMMIT=ON; # NOERROR SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED; # NOERROR SELECT (SELECT (SELECT c1,c3 FROM t1) OR (SELECT c3,c2 FROM t2)) AND (SELECT (SELECT (SELECT t2.c1 FROM t2 LEFT JOIN t2 ON t2.c2) AND (SELECT c3,c2 FROM t1 AS a1, t3 AS a2 WHERE a1.c2=a3.c1 ))) OR ((SELECT t3.c2 FROM t2 LEFT OUTER JOIN t3 ON t3.c2=-1.e-30) AND (SELECT t2.c1 FROM t2 LEFT JOIN t2 ON t2.c2='2000-12-12 23:59:00')) OR (SELECT c1,c1 FROM t3); # ERROR: 1066 - Not unique table/alias: 't2' COMMIT; # NOERROR SET AUTOCOMMIT=ON; # NOERROR UPDATE t1 SET c1=5000000000000000 LIMIT 4; # NOERROR RESET SLAVE; # ERROR: 1794 - Slave is not configured or failed to initialize properly. You must at least set --server-id to enable either a master or a slave. Additional error messages can be found in the MySQL error log. XA ROLLBACK 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID SELECT * FROM (SET SQL_BIG_SELECTS=1) AS a1; # ERROR: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SET SQL_BIG_SELECTS=1) AS a1' at line 1 PURGE MASTER LOGS BEFORE CURRENT_TIMESTAMP(); # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state LOCK TABLES t3 AS a1 READ, t1 AS a7 WRITE, t2 AS a8 READ LOCAL; # ERROR: 1146 - Table 'test.t3' doesn't exist UPDATE t1 SET c1='bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb' WHERE c2=c2 ORDER BY c3,c3; # NOERROR UPDATE t2 SET c1='\x05'; # NOERROR UNLOCK TABLES; # NOERROR XA END 'xid2'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state SET @@SESSION.SQL_MODE=(SELECT CONCAT(@@SQL_MODE,',ERROR_FOR_DIVISION_BY_ZERO')); # NOERROR SELECT ('³³³' / -210 * 349 % ASIN(-885) % NULL) % (3 * CEIL(-685)); # NOERROR DROP PROCEDURE IF EXISTS p1; # NOERROR PURGE BINARY LOGS TO '2000000000000000'; # NOERROR XA BEGIN 'xid1'; # NOERROR INSERT INTO t3 SELECT * FROM t2; # ERROR: 1146 - Table 'test.t3' doesn't exist UNLOCK TABLES; # NOERROR UNLOCK TABLES; # NOERROR SELECT t2.c2 FROM t2 RIGHT JOIN t2 ON t2.c3; # ERROR: 1066 - Not unique table/alias: 't2' DELETE a2,a2,a2 FROM t2 AS a1 INNER JOIN t1 AS a2 INNER JOIN t1 AS a3 WHERE a1.c3<-1.e-3; # ERROR: 1066 - Not unique table/alias: 'a2' UNLOCK TABLES; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state INSERT INTO t2 SELECT * FROM t3; # ERROR: 1146 - Table 'test.t3' doesn't exist RELEASE SAVEPOINT sp2; # ERROR: 1305 - SAVEPOINT sp2 does not exist ALTER TABLE t1 ADD UNIQUE (c3); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state UPDATE t1 SET c1=5000000000000000 LIMIT 4; # NOERROR SELECT * FROM t1 INTO OUTFILE 'out5'; # ERROR: 1086 - File 'out5' already exists TRUNCATE TABLE t1; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SET autocommit=0; # NOERROR SELECT @a; # NOERROR LOAD DATA INFILE 'out7' INTO TABLE t2; # ERROR: 13 - Can't get stat of '/dev/shm/424299/3/data/test/out7' (Errcode: 2 - No such file or directory) INSERT INTO t1 SELECT * FROM t2; # ERROR: 1136 - Column count doesn't match value count at row 1 SHOW MASTER LOGS; # ERROR: 1381 - You are not using binary logging XA ROLLBACK 'xid2'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SET @b=1000000000000000; # NOERROR XA RECOVER; # NOERROR CREATE TABLE t1 (c1 CHAR(128) PRIMARY KEY,c2 TEXT BINARY,c3 INTEGER(254) ZEROFILL) ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state CREATE FUNCTION f1 (i1 CHAR(1) CHARACTER SET 'latin1' COLLATE 'latin1_bin') RETURNS SMALLINT(2) MODIFIES SQL DATA SQL SECURITY INVOKER LANGUAGE SQL LANGUAGE SQL RETURN CONCAT('function output:',i1); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SHOW OPEN TABLES LIKE '%b%'; # NOERROR INSERT INTO t1 SELECT * FROM t1; # ERROR: 1137 - Can't reopen table: 't1' UPDATE t3 SET c1=1.e+1 ORDER BY c2 LIMIT 2; # ERROR: 1146 - Table 'test.t3' doesn't exist SELECT (CONV((COT(653) DIV DEGREES('10-10-2014') * ASIN(-993) / DEGREES(-465) DIV EXP(-395)) MOD (986 DIV POWER(ACOS(1.e+3) / -886,-270) + FLOOR(713)),2000000000000000,-652) % ROUND(960)) MOD (TAN(-49) + 361 MOD LOG2(752) MOD 598) % (CEIL(945) + COT(649)); # NOERROR XA END 'xid1'; # NOERROR SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED; # NOERROR CREATE FUNCTION f3 (i1 CHAR(254) BINARY) RETURNS CHAR(10) CHARACTER SET 'latin1' COLLATE 'latin1_bin' READS SQL DATA LANGUAGE SQL RETURN CONCAT('function output:',i1); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED; # NOERROR SAVEPOINT sp1; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SELECT * FROM performance_schema.status_by_thread; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SELECT @c; # NOERROR CREATE TABLE t2 (c1 BIT PRIMARY KEY,c2 CHAR(1) BINARY CHARACTER SET 'latin1' COLLATE 'latin1_bin',c3 REAL(2,2)) ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SET @@SESSION.sql_log_off=1; # NOERROR SET @@SESSION.optimizer_switch="mrr_cost_based=off"; # NOERROR SET MAX_JOIN_SIZE=1000000; # NOERROR UPDATE t2 SET c1=1.e-30 WHERE c2<='0000-12-12 23:59:00'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SELECT ACOS(723) * 511 MOD PI(); # NOERROR SELECT * FROM performance_schema.events_transactions_summary_global_by_event_name; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state CREATE TABLE t3 (c1 DATE PRIMARY KEY,c2 CHAR CHARACTER SET 'utf8' COLLATE 'utf8_bin',c3 MEDIUMTEXT CHARACTER SET 'latin1' COLLATE 'latin1_bin') ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SET autocommit=1; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SET @@SESSION.optimizer_switch="engine_conditioff_pushdown=off"; # ERROR: 1231 - Variable 'optimizer_switch' can't be set to the value of 'engine_conditioff_pushdown=off' TRUNCATE TABLE t3; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SET @c='#01'; # NOERROR SET GLOBAL innodb_monitor_reset='index_page_merge_attempts'; # NOERROR INSERT INTO t3 VALUES (1500,(ACOS(2013) / RADIANS(-290) DIV 571) MOD (752 - ABS(-879)),'cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc'); # ERROR: 1146 - Table 'test.t3' doesn't exist ANALYZE NO_WRITE_TO_BINLOG TABLE t1; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state COMMIT WORK; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state CREATE DEFINER=CURRENT_USER PROCEDURE p2 (IN i1 TIMESTAMP(6)) LANGUAGE SQL LOCK TABLES t1 AS a1 WRITE, t1 AS a9 WRITE, t2 AS a6 WRITE; # ERROR: 1314 - LOCK is not allowed in stored procedures CREATE TABLE IF NOT EXISTS t3 (c1 VARBINARY(10),c2 DECIMAL(65) UNSIGNED ZEROFILL,c3 YEAR) ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SELECT -961 MOD ACOS(471) / '2000-12-12 24:59:00' MOD COS(638) / ROUND((141 - 188 DIV ASIN(702)) - (RAND() / POW(980,31) MOD LOG2(943))); # NOERROR DELETE LOW_PRIORITY FROM a3,a3,a3 USING t1 AS a1 STRAIGHT_JOIN t2 AS a2 NATURAL JOIN t2 AS a3 WHERE a3.c1<=1000000000000000; # ERROR: 1066 - Not unique table/alias: 'a3' REPAIR NO_WRITE_TO_BINLOG TABLE t1; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state DELETE FROM a2 USING t3 AS a1 INNER JOIN t2 AS a2 INNER JOIN t2 AS a3; # ERROR: 1137 - Can't reopen table: 'a2' INSERT INTO t3 VALUES (2.0,'2000-40-12 00:00:00',(PI() / DEGREES(127)) / (ROUND(-866) DIV NULL)); # ERROR: 1146 - Table 'test.t3' doesn't exist SELECT f2(1e1); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state ROLLBACK AND CHAIN NO RELEASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state CREATE TEMPORARY TABLE t2 (c1 DOUBLE PRIMARY KEY,c2 TINYBLOB,c3 CHAR(2) BINARY CHARACTER SET 'utf8' COLLATE 'utf8_bin') ENGINE=MRG_MyISAM; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SELECT * FROM performance_schema.events_statements_history; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state UPDATE t2 SET c1='x05' ORDER BY c2 DESC LIMIT 7; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state XA COMMIT 'xid1' ONE PHASE; # NOERROR SELECT * FROM performance_schema.events_transactions_history; # NOERROR SET @@SESSION.default_tmp_storage_engine=InnoDB; # NOERROR LOCK TABLES t2 AS a1 READ LOCAL, t2 AS a4 READ LOCAL, t3 AS a8 WRITE; # ERROR: 1137 - Can't reopen table: 'a1' SELECT (SQRT('a') + 322 + MOD(664,118)) + (-180 / 519); # NOERROR TRUNCATE t3; # ERROR: 1146 - Table 'test.t3' doesn't exist INSERT INTO t3 SELECT * FROM t1; # ERROR: 1146 - Table 'test.t3' doesn't exist UPDATE t3 SET c1='EEeeEE'; # ERROR: 1146 - Table 'test.t3' doesn't exist XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state OPTIMIZE NO_WRITE_TO_BINLOG TABLE t2; # NOERROR UNLOCK TABLES; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID SELECT * FROM performance_schema.users; # NOERROR SET @@SESSION.SQL_MODE=(SELECT REPLACE(@@SQL_MODE,',PAD_CHAR_TO_FULL_LENGTH','')); # NOERROR INSERT INTO t1 VALUES (-1.e-20,(LN(-159) / -496) / (-954 MOD -674 DIV 1.e+20),'b'); # NOERROR REPAIR LOCAL TABLE t3 QUICK; # NOERROR SET SESSION TRANSACTION ISOLATION LEVEL SERIALIZABLE; # NOERROR INSERT INTO t3 SELECT * FROM t2; # ERROR: 1146 - Table 'test.t3' doesn't exist SET SESSION TRANSACTION ISOLATION LEVEL REPEATABLE READ; # NOERROR SAVEPOINT sp1; # NOERROR TRUNCATE t3; # ERROR: 1146 - Table 'test.t3' doesn't exist SELECT ASIN(-763) * 635; # NOERROR SET AUTOCOMMIT=ON; # NOERROR INSERT INTO t1 VALUES ((POW(915,491) DIV 71 * LN(-194)) DIV (ABS(ROUND(-925) % CEILING(ABS(LOG2(-936) MOD POW(604,2)) MOD -652 % 699)) + -923),(LN(-445) DIV SIGN(966)) % (LOG10(281) / TRUNCATE(-377,496) / 44),CURRENT_TIMESTAMP()-100000); # ERROR: 1690 - DOUBLE value is out of range in 'pow(915,491)' INSERT INTO t2 SELECT * FROM t1; # ERROR: 1136 - Column count doesn't match value count at row 1 XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID LOCK TABLES t1 AS a1 READ; # NOERROR ANALYZE LOCAL TABLE t1; # NOERROR ALTER TABLE t3 ADD INDEX (c2), ADD UNIQUE (c2); # ERROR: 1100 - Table 't3' was not locked with LOCK TABLES INSERT INTO t1 VALUES ('b','\0x',12-23-2015); # NOERROR ALTER TABLE t3 MODIFY c2 DECIMAL(40) UNSIGNED; # ERROR: 1100 - Table 't3' was not locked with LOCK TABLES SELECT (-530 MOD -672) % ('23-12-2340' % -704 MOD COS(LOG2(507) MOD ACOS(3.0))) MOD (CEILING(-436) - 783); # NOERROR XA COMMIT 'xid2' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID XA PREPARE 'xid2'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state SHOW WARNINGS LIMIT 5; # NOERROR CREATE FUNCTION f2 (i1 VARCHAR(2) BINARY CHARACTER SET 'Binary' COLLATE 'Binary') RETURNS TINYBLOB NO SQL RETURN CONCAT('function output:',i1); # ERROR: 1192 - Can't execute the given command because you have active locked tables or an active transaction SELECT * FROM performance_schema.variables_by_thread; # NOERROR XA COMMIT 'xid2' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID ROLLBACK TO sp2; # ERROR: 1305 - SAVEPOINT sp2 does not exist XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID CREATE DEFINER=user1 FUNCTION f2 (i1 NUMERIC(2) UNSIGNED ZEROFILL) RETURNS TIMESTAMP(6) SQL SECURITY INVOKER CONTAINS SQL RETURN CONCAT('function output:',i1); # ERROR: 1192 - Can't execute the given command because you have active locked tables or an active transaction LOAD DATA INFILE 'out7' INTO TABLE t2; # ERROR: 13 - Can't get stat of '/dev/shm/424299/3/data/test/out7' (Errcode: 2 - No such file or directory) SET @@GLOBAL.OPTIMIZER_SWITCH="firstmatch=ON"; # NOERROR DELETE QUICK a2,a2,a2 FROM t1 AS a1 INNER JOIN t2 AS a2 JOIN t1 AS a3; # ERROR: 1066 - Not unique table/alias: 'a2' SET AUTOCOMMIT=ON; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID SELECT * FROM performance_schema.events_transactions_current; # NOERROR SELECT * FROM t2 INTO OUTFILE 'out7'; # NOERROR XA ROLLBACK 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID SET GLOBAL TRANSACTION ISOLATION LEVEL REPEATABLE READ; # NOERROR SET AUTOCOMMIT=ON; # NOERROR FLUSH TABLES t1; # ERROR: 1100 - Table 't1' was not locked with LOCK TABLES SHOW PROCESSLIST; # NOERROR CREATE TABLE IF NOT EXISTS t3 (c1 NUMERIC(2) UNSIGNED ZEROFILL,c2 INTEGER(254),c3 TIMESTAMP(2)) ENGINE=PERFORMANCE_SCHEMA; # ERROR: 1100 - Table 't3' was not locked with LOCK TABLES SELECT c1 FROM t1 WHERE (c1) IN (SELECT t3.c1 FROM t2 RIGHT OUTER JOIN t3 ON t3.c3='\0xe'); # ERROR: 1100 - Table 't3' was not locked with LOCK TABLES XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state TRUNCATE t2; # NOERROR SAVEPOINT sp1; # NOERROR SELECT c2 FROM t3; # ERROR: 1100 - Table 't3' was not locked with LOCK TABLES RELEASE SAVEPOINT sp2; # ERROR: 1305 - SAVEPOINT sp2 does not exist SELECT f1('CC'); # ERROR: 1305 - FUNCTION test.f1 does not exist CREATE TEMPORARY TABLE IF NOT EXISTS t1 (c1 CHAR(254) BINARY CHARACTER SET 'utf8' COLLATE 'utf8_bin',c2 CHAR CHARACTER SET 'latin1' COLLATE 'latin1_bin',c3 TIME(1), PRIMARY KEY(c1)) ENGINE=InnoDB; # NOERROR SET @@SESSION.OPTIMIZER_SWITCH="use_index_extensions=OFF"; # NOERROR SET TRANSACTION ISOLATION LEVEL REPEATABLE READ; # NOERROR INSERT INTO t1 SELECT * FROM t2; # ERROR: 1136 - Column count doesn't match value count at row 1 COMMIT WORK AND CHAIN; # NOERROR INSERT INTO t2 SELECT * FROM t1; # ERROR: 1136 - Column count doesn't match value count at row 1 UNLOCK TABLES; # NOERROR INSERT INTO t1 SELECT * FROM t2; # ERROR: 1136 - Column count doesn't match value count at row 1 SET GLOBAL innodb_monitor_reset_all='buffer_LRU_get_free_loops'; # NOERROR SELECT * FROM performance_schema.events_waits_summary_by_instance; # NOERROR INSERT INTO t3 VALUES ((-905 * -899 % LOG2(616)) DIV (RAND(-1.e-2) MOD 'aa'),1e2,(POW(920 + -878 % -188 / CRC32(-254) + LN(-473),304) - 296 % LN(482) / EXP(-6)) / (ABS(536) DIV -449 - 506)); # ERROR: 1146 - Table 'test.t3' doesn't exist SET @b=NULL; # NOERROR SELECT (-394 MOD TRUNCATE(287,314) * '10-10-2014' DIV -215 DIV 752 * -911) / (ATAN(16) + -981) + (SQRT(335) % (EXP(-188 * CEIL(COT(140) / 10-10-2014 DIV 939)) - 665 MOD '\0x') / (-290 MOD EXP(-422)) % 187) MOD (-158 / -50); # NOERROR CREATE DEFINER=CURRENT_USER PROCEDURE p1 (IN i1 DECIMAL(1,0) UNSIGNED ZEROFILL) MODIFIES SQL DATA SET @@SESSION.sql_big_selects=0; # NOERROR LOAD DATA INFILE 'out7' INTO TABLE t3; # ERROR: 1146 - Table 'test.t3' doesn't exist INSERT INTO t1 SELECT * FROM t3; # ERROR: 1146 - Table 'test.t3' doesn't exist BEGIN; # NOERROR LOAD DATA INFILE 'out2' INTO TABLE t1; # ERROR: 13 - Can't get stat of '/dev/shm/424299/3/data/test/out2' (Errcode: 2 - No such file or directory) ALTER TABLE t2 DROP COLUMN c1; # NOERROR SELECT * FROM performance_schema.events_statements_summary_by_program; # NOERROR XA ROLLBACK 'xid2'; # ERROR: 1397 - XAER_NOTA: Unknown XID LOCK TABLES t3 AS a3 READ, t2 AS a2 READ; # ERROR: 1146 - Table 'test.t3' doesn't exist CREATE DEFINER=user2 PROCEDURE p3 (IN i1 VARCHAR(1024) BINARY, INOUT i2 FLOAT(255,10) ZEROFILL) SQL SECURITY DEFINER DETERMINISTIC TRUNCATE t1; # ERROR: 1304 - PROCEDURE p3 already exists UNLOCK TABLES; # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state ALTER TABLE t3 ADD UNIQUE (c3); # ERROR: 1146 - Table 'test.t3' doesn't exist SHOW ERRORS LIMIT 9; # NOERROR SELECT (CEIL(614) + CONV(-218,834,655) MOD 993 DIV SQRT(-655) MOD 724) - (107 % 85) % (-757 / -577) - (ASIN(-857) * -525); # NOERROR CREATE TEMPORARY TABLE t1 (c1 CHAR BINARY CHARACTER SET 'latin1' COLLATE 'latin1_bin',c2 DOUBLE(10,10) UNSIGNED ZEROFILL,c3 MULTILINESTRING) ENGINE=PERFORMANCE_SCHEMA; # ERROR: 1478 - Table storage engine 'PERFORMANCE_SCHEMA' does not support the create option 'TEMPORARY' FLUSH QUERY CACHE; # NOERROR CREATE TABLE IF NOT EXISTS t2 (c1 NUMERIC(65,30),c2 ENUM('a','b','c') CHARACTER SET 'utf8' COLLATE 'utf8_bin',c3 JSON, PRIMARY KEY(c1)) ENGINE=InnoDB; # NOERROR ALTER TABLE t1 MODIFY c1 TINYINT UNSIGNED ZEROFILL; # ERROR: 1062 - Duplicate entry '000' for key 'PRIMARY' UPDATE t3 SET c1='9000-12-12 00:00:00' ORDER BY c3 ASC LIMIT 4; # ERROR: 1146 - Table 'test.t3' doesn't exist UPDATE performance_schema.setup_timers SET TIMER_NAME='TICK' WHERE NAME='stage'; # NOERROR SELECT (-702 + TRUNCATE(117,(RAND() + 535 DIV 'b') + (1000000000000000 MOD -307))) - (206 - -632 MOD 259 - RAND(CURRENT_TIMESTAMP()-100000)); # NOERROR REPAIR NO_WRITE_TO_BINLOG TABLE t1; # NOERROR UNLOCK TABLES; # NOERROR XA BEGIN 'xid1'; # NOERROR LOAD DATA INFILE 'out3' INTO TABLE t2; # NOERROR SELECT * FROM performance_schema.events_waits_current; # NOERROR SELECT @b; # NOERROR SET @cmd:="SET GLOBAL innodb_monitor_enable='buffer_page_read_ibuf_bitmap'"; # NOERROR XA PREPARE 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state UPDATE t1 SET c1='cc' WHERE c2>=c2 LIMIT 7; # NOERROR INSERT INTO t1 VALUES (6934,3.0,(LOG10(-880) MOD LOG(-787) % -1.0) % (SIGN(-505) * CEIL(-101))); # NOERROR RESET MASTER; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SELECT * FROM performance_schema.file_instances WHERE FILE_NAME LIKE '%galera%'; # NOERROR SHOW DATABASES LIKE '%c%'; # NOERROR INSERT INTO t1 VALUES (-1.e-2,3,2); # NOERROR INSERT INTO t1 SELECT * FROM t1; # ERROR: 1137 - Can't reopen table: 't1' SET @@SESSION.optimizer_switch="engine_conditioff_pushdown=off"; # ERROR: 1231 - Variable 'optimizer_switch' can't be set to the value of 'engine_conditioff_pushdown=off' SELECT * FROM performance_schema.session_account_connect_attrs; # NOERROR SET @@GLOBAL.secure_auth=1; # NOERROR SHOW CREATE FUNCTION f3; # NOERROR SELECT (-300 MOD 322 DIV 282) - (PI() - EXP(968)) + (483 % POWER(822,23-12-2340)) MOD (CEIL(337) - 499); # NOERROR INSERT INTO t3 SELECT * FROM t3; # ERROR: 2014 - Commands out of sync; you can't run this command now UPDATE t1 SET c1=-1.e-30 WHERE c1=(620 + -642 / SQRT(391)) * (-405 * -668 - COS(-682)); # NOERROR DEALLOCATE PREPARE stmt; # ERROR: 1243 - Unknown prepared statement handler (stmt) given to DEALLOCATE PREPARE XA ROLLBACK 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state REPAIR NO_WRITE_TO_BINLOG TABLE t2; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state XA COMMIT 'xid1' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state DELETE a3,a3 FROM t2 AS a1 JOIN t2 AS a2 JOIN t3 AS a3 WHERE a3.c3<=a1.c2; # ERROR: 1066 - Not unique table/alias: 'a3' PREPARE stmt FROM @cmd; # NOERROR SELECT * FROM performance_schema.cond_instances; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SET @cmd:="BEGIN "; # NOERROR SELECT (POW('10-10-2014',SIN(-873) DIV -79 DIV MOD(CEILING(570) - -903 * CONV('aa',-48,4000000000000000 + 939 * 311 MOD '01-01-1430') - -316 / -233,-991)) - 385 - DEGREES(827)) DIV (RAND(-151) % 781) + (ACOS(-715) MOD 324 DIV LOG(-242)) % (CRC32(-658) - DEGREES(-1.e-2)); # NOERROR LOCK TABLES t3 AS a3 READ LOCAL, t1 AS a2 READ LOCAL, t3 AS a4 READ LOCAL; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state INSERT INTO t3 VALUES ('12-23-2015',-2,(LOG10(-479) - -124 / -704 - 616 / CURRENT_TIMESTAMP()+100000) / (6934 - ABS(719) / ROUND(234) / ATAN(602))); # ERROR: 1146 - Table 'test.t3' doesn't exist SELECT f1('\05'); # ERROR: 1305 - FUNCTION test.f1 does not exist SET @b=(4000000000000000 + -711 - COT(-94)) / (-420 MOD 669 + 787); # NOERROR SHOW PLUGINS; # NOERROR SELECT c1 FROM t2 WHERE (c1) IN (SELECT c1 FROM t3 WHERE c1 = 0.0001); # ERROR: 1146 - Table 'test.t3' doesn't exist SET GLOBAL innodb_monitor_reset='buffer_pages_written'; # NOERROR DELETE FROM a1 USING t3 AS a1, t3 AS a2 CROSS JOIN t1 AS a3; # ERROR: 1146 - Table 'test.t3' doesn't exist RENAME TABLE t1 TO t2,t2 TO t2; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state DELETE FROM a1,a1 USING t1 AS a1 CROSS JOIN t3 AS a2 STRAIGHT_JOIN t2 AS a3 WHERE a2.c3<=a1.c1; # ERROR: 1066 - Not unique table/alias: 'a1' INSERT INTO t3 SELECT * FROM t2; # ERROR: 1146 - Table 'test.t3' doesn't exist XA COMMIT 'xid1' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state LOCK TABLES t1 AS a3 READ LOCAL, t3 AS a3 READ; # ERROR: 1066 - Not unique table/alias: 'a3' UPDATE t2 SET c1=(155 DIV FLOOR(-814) / LOG10('9000-12-12 00:00:00') / EXP(416 * 0.0001 / LOG(609) MOD -688)) % (CEIL(129) % MOD(-886,52)); # ERROR: 1054 - Unknown column 'c1' in 'field list' SET @@GLOBAL.log_builtin_as_identified_by_password=1; # NOERROR CALL p2(@b); # ERROR: 1146 - Table 'test.t3' doesn't exist XA PREPARE 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SHOW DATABASES LIKE '%l'; # NOERROR SET GLOBAL TRANSACTION ISOLATION LEVEL REPEATABLE READ; # NOERROR START TRANSACTION WITH CONSISTENT SNAPSHOT, READ ONLY; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SELECT RAND() MOD 484 - 250 / 869; # NOERROR UPDATE t3 SET c1='<>,./;[}{}]&&``'; # ERROR: 1146 - Table 'test.t3' doesn't exist SELECT * FROM t2 INTO OUTFILE 'out7'; # ERROR: 1086 - File 'out7' already exists SELECT 882 * -821; # NOERROR REPAIR LOCAL TABLE t2; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state INSERT INTO t2 VALUES ((193 / 747 DIV 886 / SQRT(374)) / (RADIANS(168) + -46),1,'c'); # ERROR: 1136 - Column count doesn't match value count at row 1 COMMIT AND CHAIN; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SHOW PROCEDURE STATUS LIKE '%1'; # NOERROR SELECT c2,c3 FROM t1; # NOERROR SET @@SESSION.default_week_format=256; # NOERROR SET @@GLOBAL.innodb_buffer_pool_dump_at_shutdown=17; # ERROR: 1231 - Variable 'innodb_buffer_pool_dump_at_shutdown' can't be set to the value of '17' XA END 'xid2'; # ERROR: 1397 - XAER_NOTA: Unknown XID SET @@SESSION.SQL_MODE=(SELECT CONCAT(@@SQL_MODE,',ALLOW_INVALID_DATES')); # NOERROR XA ROLLBACK 'xid2'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state INSERT INTO t3 VALUES (-2,NULL,(31 MOD -913) % ('bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb' + EXP(-299) * RAND() * -815)); # ERROR: 1146 - Table 'test.t3' doesn't exist SET AUTOCOMMIT=ON; # NOERROR INSERT INTO t2 SELECT * FROM t2; # ERROR: 1137 - Can't reopen table: 't2' DROP TABLE t1; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SELECT c3,c1 FROM t1 AS a1 JOIN t2 AS a2 WHERE a2.c2=6934 UNION SELECT t3.c2 FROM t1 RIGHT OUTER JOIN t3 ON t3.c3 UNION SELECT c2 FROM t2 AS a1 STRAIGHT_JOIN t3 AS a2, t2 AS a3; # ERROR: 1137 - Can't reopen table: 'a1' INSERT INTO t3 SELECT * FROM t1; # ERROR: 1146 - Table 'test.t3' doesn't exist UPDATE t1 SET c1='cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc'; # ERROR: 1062 - Duplicate entry 'cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc' for key 'PRIMARY' UPDATE performance_schema.setup_timers SET TIMER_NAME='MILLISECOND' WHERE NAME='idle'; # NOERROR SELECT * FROM performance_schema.global_status; # NOERROR SELECT c1 FROM t2 WHERE (c1) IN (SELECT c1 FROM t3 WHERE c1 > -1); # ERROR: 1146 - Table 'test.t3' doesn't exist SAVEPOINT sp2; # NOERROR SELECT * FROM t2 INTO OUTFILE 'out4'; # NOERROR CREATE TABLE IF NOT EXISTS t3 (c1 NUMERIC(40) ZEROFILL,c2 DECIMAL(65) ZEROFILL,c3 NUMERIC(1) UNSIGNED) ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SELECT SIGN(-519) % ATAN(-434); # NOERROR SET @c='EEeeEE'; # NOERROR SELECT (SELECT t2.c3 FROM t2 NATURAL RIGHT JOIN t2 ON t2.c2='01-01-1430'); # ERROR: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ON t2.c2='01-01-1430')' at line 1 EXECUTE stmt; # ERROR: 1231 - Variable 'innodb_monitor_enable' can't be set to the value of 'buffer_page_read_ibuf_bitmap' SELECT EVENT_ID, EVENT_NAME, TIMER_WAIT FROM performance_schema.events_waits_history WHERE EVENT_NAME LIKE '%wsrep%'; # NOERROR CREATE FUNCTION f2 (i1 DECIMAL(65) ZEROFILL,i2 TIME(0)) RETURNS DATE NOT DETERMINISTIC RETURN CONCAT('function output:',i1); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state XA START 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SELECT @c; # NOERROR TRUNCATE t1; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SELECT EVENT_ID, EVENT_NAME, TIMER_WAIT FROM performance_schema.events_waits_history WHERE EVENT_NAME LIKE '%wsrep%'; # NOERROR SELECT -533 DIV (CONV(687,'³³³',-464) - ROUND(200 % EXP('cc')) * POW(-605,562) % ABS(301) % ABS(-418)) % (RAND() + CRC32('aAaAaA') + PI()) / 730; # NOERROR XA END 'xid1'; # NOERROR SET autocommit=1; # NOERROR CREATE TABLE t2 (c1 DECIMAL(1,1) PRIMARY KEY,c2 BLOB,c3 LONGTEXT CHARACTER SET 'Binary' COLLATE 'Binary') ENGINE=BLACKHOLE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state UNLOCK TABLES; # NOERROR DELETE a3,a1,a1 FROM t1 AS a1, t1 AS a2 STRAIGHT_JOIN t2 AS a3; # ERROR: 1066 - Not unique table/alias: 'a1' SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED; # NOERROR TRUNCATE TABLE t2; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state CREATE TEMPORARY TABLE t1 (c1 DECIMAL(10,10) UNSIGNED ZEROFILL,c2 VARCHAR(254) CHARACTER SET 'Binary' COLLATE 'Binary',c3 DECIMAL(10) ZEROFILL) ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state DROP TABLE IF EXISTS t1; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state XA PREPARE 'xid1'; # NOERROR CREATE FUNCTION f2 (i1 MEDIUMINT(1)) RETURNS TEXT BINARY CHARACTER SET 'Binary' COLLATE 'Binary' MODIFIES SQL DATA RETURN CONCAT('function output:',i1); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state ALTER TABLE t2 MODIFY c1 SET('a','b','c') CHARACTER SET 'latin1' COLLATE 'latin1_bin'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state ROLLBACK WORK; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state XA COMMIT 'xid1' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state ALTER TABLE t2 ADD UNIQUE (c3); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state XA PREPARE 'xid2'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state SET GLOBAL TRANSACTION ISOLATION LEVEL SERIALIZABLE; # NOERROR DELETE FROM a2 USING t3 AS a1 INNER JOIN t3 AS a2 JOIN t3 AS a3 WHERE a2.c2>=(LN(247) + ABS(-765)) - (SIGN(-739) * ASIN(610)); # ERROR: 1146 - Table 'test.t3' doesn't exist SET @@SESSION.sql_log_off=1; # NOERROR SELECT (-137 DIV CEILING(444)) DIV (CEILING(710) % POW('01-01-1430',-34)) + ('DddddD' + -677 + 0.0) - (ACOS(1e2) * -392 + 242); # NOERROR SET @@GLOBAL.SQL_MODE=(SELECT REPLACE(@@SQL_MODE,',NO_ENGINE_SUBSTITUTION','')); # NOERROR UNLOCK TABLES; # NOERROR CREATE TEMPORARY TABLE t1 (c1 CHAR BINARY CHARACTER SET 'latin1' COLLATE 'latin1_bin',c2 DOUBLE(10,10) UNSIGNED ZEROFILL,c3 MULTILINESTRING) ENGINE=PERFORMANCE_SCHEMA; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state SET @@SESSION.SQL_MODE=(SELECT REPLACE(@@SQL_MODE,',NO_FIELD_OPTIONS','')); # NOERROR SELECT * FROM t1 INTO OUTFILE 'out5'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state CALL p3(@b); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state PURGE BINARY LOGS TO '3.0'; # NOERROR SET autocommit=1; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state SET GLOBAL TRANSACTION ISOLATION LEVEL READ COMMITTED; # NOERROR SELECT (COT(-151) - 414) DIV (TRUNCATE(-156,-419) + DEGREES(830)) / (-884 - 941 - RAND() % COS(-633)); # NOERROR PURGE BINARY LOGS TO 'CURRENT_TIMESTAMP'; # NOERROR CREATE TEMPORARY TABLE t3 (c1 CHAR(1) PRIMARY KEY,c2 TIME(5),c3 FLOAT(2,2) UNSIGNED) ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state XA ROLLBACK 'xid1'; # NOERROR CREATE TEMPORARY TABLE IF NOT EXISTS t2 (c1 VARBINARY(10),c2 BIT(40),c3 DECIMAL(65,30), PRIMARY KEY(c1)) ENGINE=InnoDB; # NOERROR DROP TABLE t1; # NOERROR SELECT * FROM performance_schema.socket_summary_by_event_name; # NOERROR SELECT (-795 DIV PI()) / (PI() DIV LOG(-937)) + (110 MOD COS(-1.e+3) / 351) * (-690 DIV SIN(0.01) MOD MOD(-1.e-1,-244)); # NOERROR SELECT * FROM performance_schema.replication_group_members; # NOERROR XA BEGIN 'xid1'; # NOERROR RELEASE SAVEPOINT sp1; # ERROR: 1305 - SAVEPOINT sp1 does not exist EXPLAIN BEGIN; # ERROR: 1146 - Table 'test.BEGIN' doesn't exist CREATE FUNCTION f3 (i1 CHAR CHARACTER SET 'Binary' COLLATE 'Binary') RETURNS MEDIUMINT(1) UNSIGNED ZEROFILL MODIFIES SQL DATA RETURN CONCAT('function output:',i1); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SELECT * FROM performance_schema.events_waits_current; # NOERROR SET SQL_BIG_SELECTS=1; # NOERROR SELECT ATAN2(-1) - RADIANS(972); # NOERROR ROLLBACK AND NO CHAIN; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state UNLOCK TABLES; # NOERROR SELECT EVENT_ID, EVENT_NAME, TIMER_WAIT FROM performance_schema.events_waits_history WHERE EVENT_NAME LIKE '%wsrep%'; # NOERROR SET @@GLOBAL.delay_key_write=OFF; # NOERROR SET @@GLOBAL.server_id=1024; # NOERROR XA RECOVER; # NOERROR SET SESSION TRANSACTION ISOLATION LEVEL SERIALIZABLE; # NOERROR SELECT @b; # NOERROR PURGE MASTER LOGS TO '!@#$%^&*()_+{}[]:,./<>?:"'; # NOERROR UNLOCK TABLES; # NOERROR FLUSH TABLES t2; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state TRUNCATE TABLE t1; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state UPDATE t2 SET c1=(ATAN(-587) % ABS(790)) * (RAND() MOD SIN(814)) ORDER BY c1 DESC,c1; # NOERROR LOCK TABLES t1 AS a1 LOW_PRIORITY WRITE, t3 AS a7 READ LOCAL; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SELECT * FROM performance_schema.replication_applier_status_by_worker; # NOERROR UNLOCK TABLES; # NOERROR DELETE IGNORE a2,a3 FROM t1 AS a1 JOIN t2 AS a2 CROSS JOIN t3 AS a3; # ERROR: 1146 - Table 'test.t3' doesn't exist CALL p2(@b); # ERROR: 1146 - Table 'test.t3' doesn't exist XA END 'xid2'; # ERROR: 1397 - XAER_NOTA: Unknown XID UNLOCK TABLES; # NOERROR XA COMMIT 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state LOAD DATA INFILE 'out3' INTO TABLE t2; # NOERROR RENAME TABLE t3 TO t3,t3 TO t3,t1 TO t1; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SHOW PROCESSLIST; # NOERROR PURGE BINARY LOGS BEFORE CURRENT_TIMESTAMP(); # NOERROR XA ROLLBACK 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state CREATE TABLE IF NOT EXISTS t2 (c1 NUMERIC(65) UNSIGNED,c2 VARBINARY(128),c3 CHAR(1) CHARACTER SET 'latin1' COLLATE 'latin1_bin') ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SHOW WARNINGS; # NOERROR XA BEGIN 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state DELETE a3,a2 FROM t3 AS a1, t3 AS a2 INNER JOIN t2 AS a3 WHERE a2.c3=a3.c1; # ERROR: 1146 - Table 'test.t3' doesn't exist ROLLBACK AND CHAIN NO RELEASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state XA COMMIT 'xid1' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SET autocommit=1; # NOERROR SET GLOBAL innodb_monitor_disable='os_data_writes'; # NOERROR SAVEPOINT sp1; # NOERROR ROLLBACK WORK AND NO CHAIN; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SHOW SLAVE HOSTS; # NOERROR START TRANSACTION WITH CONSISTENT SNAPSHOT, READ ONLY; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SHOW SESSION VARIABLES LIKE '%l%'; # NOERROR SELECT * FROM performance_schema.status_by_user; # NOERROR CREATE TABLE t1 (c1 VARCHAR(1024) BINARY,c2 CHAR(2) BINARY,c3 DATETIME(6)) ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state INSERT INTO t1 SELECT * FROM t1; # ERROR: 1062 - Duplicate entry 'cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc' for key 'PRIMARY' SELECT c1 FROM t2 AS a1 STRAIGHT_JOIN t2 AS a2 JOIN t2 AS a3 WHERE a3.c1='2000-40-12 00:00:00' UNION SELECT c2,c1 FROM t2 AS a1 JOIN t2 AS a2; # ERROR: 1052 - Column 'c1' in field list is ambiguous SET GLOBAL TRANSACTION ISOLATION LEVEL REPEATABLE READ; # NOERROR SELECT (-834 + -964) - (133 % 176); # NOERROR PREPARE stmt FROM @cmd; # ERROR: 1295 - This command is not supported in the prepared statement protocol yet DROP TABLE t3; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SET @@SESSION.binlog_error_action=ABORT_SERVER; # ERROR: 1229 - Variable 'binlog_error_action' is a GLOBAL variable and should be set with SET GLOBAL SAVEPOINT sp1; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state XA RECOVER; # NOERROR INSERT INTO t1 SELECT * FROM t1; # ERROR: 1062 - Duplicate entry 'cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc' for key 'PRIMARY' SELECT f1('DddddD'); # ERROR: 1305 - FUNCTION test.f1 does not exist SELECT (-300 MOD 322 DIV 282) - (PI() - EXP(968)) + (483 % POWER(822,23-12-2340)) MOD (CEIL(337) - 499); # NOERROR BEGIN; # ERROR: 2014 - Commands out of sync; you can't run this command now SET @a=2000000000000000; # NOERROR SAVEPOINT sp1; # NOERROR ROLLBACK TO sp2; # ERROR: 1305 - SAVEPOINT sp2 does not exist SELECT * FROM t1 INTO OUTFILE 'out7'; # ERROR: 1086 - File 'out7' already exists CREATE DEFINER=CURRENT_USER FUNCTION f3 (i1 DATETIME(0)) RETURNS DECIMAL UNSIGNED ZEROFILL DETERMINISTIC RETURN SET @@GLOBAL.SQL_MODE=(SELECT CONCAT(@@SQL_MODE,',NO_TABLE_OPTIONS')); # ERROR: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SET @@GLOBAL.SQL_MODE=(SELECT CONCAT(@@SQL_MODE,',NO_TABLE_OPTIONS'))' at line 1 DEALLOCATE PREPARE stmt; # ERROR: 1243 - Unknown prepared statement handler (stmt) given to DEALLOCATE PREPARE SET @@SESSION.SQL_MODE=(SELECT CONCAT(@@SQL_MODE,',NO_ENGINE_SUBSTITUTION')); # NOERROR XA COMMIT 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SELECT f1(0.0001); # ERROR: 1305 - FUNCTION test.f1 does not exist SELECT @b; # NOERROR SET TRANSACTION ISOLATION LEVEL READ COMMITTED; # ERROR: 1568 - Transaction characteristics can't be changed while a transaction is in progress XA COMMIT 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SELECT c2,c1 FROM t1 AS a1, t2 AS a2 WHERE a1.c1=(MOD(672,-701) - -2 / ASIN(772)) * (LOG10(514) DIV POW(-100,956) * -928); # ERROR: 1052 - Column 'c2' in field list is ambiguous XA COMMIT 'xid1' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state DELETE FROM t3 PARTITION p2 WHERE c3=c1 LIMIT 1; # ERROR: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'p2 WHERE c3=c1 LIMIT 1' at line 1 SELECT EVENT_ID, EVENT_NAME, TIMER_WAIT FROM performance_schema.events_waits_history WHERE EVENT_NAME LIKE '%galera%'; # NOERROR INSERT INTO t3 SELECT * FROM t1; # ERROR: 1146 - Table 'test.t3' doesn't exist UNLOCK TABLES; # NOERROR UPDATE performance_schema.setup_instruments SET ENABLED = 'YES', TIMED = 'YES' WHERE NAME LIKE '%wsrep%'; # NOERROR SET @@SESSION.OPTIMIZER_SWITCH="mrr=ON"; # NOERROR SELECT (-2.0 + 703) DIV (-735 * ROUND(-491)) * (-864 MOD POWER(496,-210) / MOD('DddddD',642) + FLOOR(43)); # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state CREATE FUNCTION f2 (i1 FLOAT(1,0) UNSIGNED ZEROFILL) RETURNS MEDIUMBLOB SQL SECURITY DEFINER RETURN CONCAT('function output:',i1); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state INSERT INTO t3 SELECT * FROM t3; # ERROR: 1146 - Table 'test.t3' doesn't exist INSERT INTO t2 SELECT * FROM t1; # NOERROR SET AUTOCOMMIT=ON; # NOERROR ALTER TABLE t1 DROP COLUMN c2; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state RELEASE SAVEPOINT sp2; # ERROR: 1305 - SAVEPOINT sp2 does not exist CREATE TABLE t3 (c1 FLOAT PRIMARY KEY,c2 CHAR(10) BINARY,c3 SMALLINT ZEROFILL) ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state EXECUTE stmt; # ERROR: 1243 - Unknown prepared statement handler (stmt) given to EXECUTE XA COMMIT 'xid1' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state RELEASE SAVEPOINT sp2; # ERROR: 1305 - SAVEPOINT sp2 does not exist INSERT INTO t1 SELECT * FROM t3; # ERROR: 1146 - Table 'test.t3' doesn't exist TRUNCATE TABLE t3; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state XA COMMIT 'xid1' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SET GLOBAL TRANSACTION ISOLATION LEVEL SERIALIZABLE; # NOERROR SET AUTOCOMMIT=ON; # NOERROR START TRANSACTION WITH CONSISTENT SNAPSHOT, READ WRITE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state INSERT INTO t2 VALUES (4000000000000000,'12-23-2340','2000-12-40 00:00:00'); # NOERROR XA ROLLBACK 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state XA COMMIT 'xid1' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SELECT * FROM t3 INTO OUTFILE 'out2'; # ERROR: 1146 - Table 'test.t3' doesn't exist CREATE TEMPORARY TABLE t3 (c1 VARBINARY(2),c2 BLOB,c3 POLYGON, PRIMARY KEY(c1)) ENGINE=MEMORY; # ERROR: 1178 - The storage engine for the table doesn't support GEOMETRY SELECT c1 FROM t2 WHERE (c1) IN (SELECT c1,c2 FROM t1 AS a1 JOIN t1 AS a2 ); # ERROR: 1052 - Column 'c1' in field list is ambiguous XA COMMIT 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SHOW COLLATION LIKE '%9'; # NOERROR DROP PROCEDURE IF EXISTS p2; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state DELETE FROM t3 WHERE c2>c1 LIMIT 0; # ERROR: 1146 - Table 'test.t3' doesn't exist DEALLOCATE PREPARE stmt; # ERROR: 1243 - Unknown prepared statement handler (stmt) given to DEALLOCATE PREPARE UPDATE t1 SET c1=(CEIL(-373) + 268 * -686) DIV (MOD('BB',734) DIV 3000000000000000 DIV -461) LIMIT 3; # NOERROR XA END 'xid2'; # ERROR: 1397 - XAER_NOTA: Unknown XID SELECT * FROM t3 INTO OUTFILE 'out2'; # ERROR: 1146 - Table 'test.t3' doesn't exist TRUNCATE TABLE t1; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SELECT * FROM t3 INTO OUTFILE 'out1'; # ERROR: 1146 - Table 'test.t3' doesn't exist SET GLOBAL TRANSACTION ISOLATION LEVEL READ UNCOMMITTED; # NOERROR UPDATE performance_schema.setup_timers SET TIMER_NAME='MILLISECOND' WHERE NAME='idle'; # NOERROR SET autocommit=1; # NOERROR XA END 'xid1'; # NOERROR INSERT INTO t1 SELECT * FROM t1; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state INSERT INTO t2 VALUES (1500,-1.0,0.0); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state TRUNCATE t3; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state XA ROLLBACK 'xid1'; # NOERROR SET @@SESSION.session_track_gtids=OWN_GTID; # NOERROR SET SQL_BIG_SELECTS=1; # NOERROR SELECT (RAND() MOD LOG(-490)) * (RADIANS('DddddD') DIV 411 % ASIN(-989) % 475) MOD (LOG10(-644) / -550) - (944 DIV 911 - COT(1.e+20)); # NOERROR SET GLOBAL innodb_monitor_reset_all='log_waits'; # NOERROR DELETE QUICK IGNORE a3,a3 FROM t1 AS a1, t2 AS a2 JOIN t1 AS a3 WHERE a2.c1<=(RAND(-311) + -14) DIV (RAND() DIV -145 * RAND()); # ERROR: 1066 - Not unique table/alias: 'a3' SET @@SESSION.gtid_next=AUTOMATIC; # NOERROR UNLOCK TABLES; # NOERROR SELECT EVENT_ID, EVENT_NAME, TIMER_WAIT FROM performance_schema.events_waits_history WHERE EVENT_NAME LIKE '%galera%'; # NOERROR SET AUTOCOMMIT=ON; # NOERROR LOCK TABLES t1 AS a3 READ LOCAL, t3 AS a3 READ; # ERROR: 1066 - Not unique table/alias: 'a3' CREATE TEMPORARY TABLE t2 (c1 DECIMAL(1,1) PRIMARY KEY,c2 REAL(2,2),c3 TIMESTAMP) ENGINE=CSV; # ERROR: 1069 - Too many keys specified; max 0 keys allowed FLUSH LOCAL DES_KEY_FILE; # NOERROR INSERT INTO t2 SELECT * FROM t2; # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state INSERT INTO t2 SELECT * FROM t1; # NOERROR SELECT c1 FROM t3 WHERE (c1) IN (SELECT c1 FROM t3 WHERE c1 = 'x05'); # ERROR: 1146 - Table 'test.t3' doesn't exist SELECT COT(-471) * EXP(3.1415927); # NOERROR INSERT INTO t1 SELECT * FROM t3; # ERROR: 1146 - Table 'test.t3' doesn't exist INSERT INTO t2 VALUES ('12-23-2340',-1.e+10,'\05'); # NOERROR SET GLOBAL TRANSACTION ISOLATION LEVEL REPEATABLE READ; # NOERROR SET TRANSACTION ISOLATION LEVEL READ COMMITTED; # NOERROR SELECT (836 % SIN(965) DIV POW(-773,x01) + -625) DIV (-683 / ASIN(478)) + (COS(-366) + LOG2(-116)); # ERROR: 1054 - Unknown column 'x01' in 'field list' INSERT INTO t1 SELECT * FROM t2; # NOERROR SHOW CHARACTER SET LIKE '%r%'; # NOERROR ROLLBACK WORK TO sp2; # ERROR: 1305 - SAVEPOINT sp2 does not exist SET @@SESSION.SQL_MODE=(SELECT REPLACE(@@SQL_MODE,',NO_ZERO_DATE','')); # NOERROR ALTER TABLE t2 MODIFY c1 LINESTRING; # ERROR: 1170 - BLOB/TEXT column 'c1' used in key specification without a key length INSERT INTO t3 VALUES ('23-12-2340',-1.0,-1.e-2); # ERROR: 1146 - Table 'test.t3' doesn't exist UPDATE performance_schema.setup_consumers SET ENABLED = 'YES'; # NOERROR LOCK TABLES t1 AS a3 READ LOCAL, t3 AS a1 READ LOCAL, t2 AS a6 READ LOCAL; # ERROR: 1146 - Table 'test.t3' doesn't exist SET GLOBAL innodb_monitor_enable='buffer_page_read_undo_log'; # ERROR: 1231 - Variable 'innodb_monitor_enable' can't be set to the value of 'buffer_page_read_undo_log' INSERT INTO t1 VALUES ('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',-1.e-1,'XYZ'); # NOERROR DROP TABLE t1; # NOERROR XA ROLLBACK 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID SELECT * FROM t2 INTO OUTFILE 'out1'; # NOERROR REPAIR LOCAL TABLE t1; # NOERROR INSERT INTO t1 VALUES ((1.e-3 MOD -23 + CEILING(-975)) + (442 - -666 + 365),2,'a'); # ERROR: 1146 - Table 'test.t1' doesn't exist DELETE LOW_PRIORITY FROM a1 USING t2 AS a1 STRAIGHT_JOIN t2 AS a2, t1 AS a3; # ERROR: 1146 - Table 'test.t1' doesn't exist SHOW ENGINE InnoDB MUTEX; # NOERROR CREATE TABLE IF NOT EXISTS t1 (c1 TIMESTAMP PRIMARY KEY,c2 MEDIUMINT(1),c3 SMALLINT(1) UNSIGNED ZEROFILL) ENGINE=InnoDB; # NOERROR SET @@SESSION.innodb_table_locks=1; # NOERROR ALTER TABLE t3 ADD COLUMN c4 REAL(10,10); # ERROR: 1146 - Table 'test.t3' doesn't exist SELECT -470 DIV MOD(-404,794); # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID PURGE MASTER LOGS TO '-1.e+10'; # NOERROR SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED; # NOERROR UNLOCK TABLES; # NOERROR TRUNCATE t2; # NOERROR UPDATE performance_schema.setup_instruments SET ENABLED = 'YES', TIMED = 'YES' WHERE NAME LIKE '%galera%'; # NOERROR SELECT (ROUND(1.e+20) - 144 - -244) / (LOG2(4000000000000000 * -355 DIV CEILING(-1.e+2)) * -951); # NOERROR LOAD DATA INFILE 'out3' INTO TABLE t1; # NOERROR ALTER TABLE t2 ADD INDEX (c3); # NOERROR ALTER TABLE t2 MODIFY c2 REAL(10,10) UNSIGNED; # NOERROR UNLOCK TABLES; # NOERROR SET GLOBAL TRANSACTION ISOLATION LEVEL REPEATABLE READ; # NOERROR TRUNCATE TABLE t3; # ERROR: 1146 - Table 'test.t3' doesn't exist DROP PROCEDURE p2; # NOERROR SELECT * FROM performance_schema.replication_connection_status; # NOERROR SELECT @c; # NOERROR SELECT (-535 DIV -242) + (-73 DIV 3000000000000000 / CEIL(-937)); # NOERROR INSERT INTO t3 VALUES ('12-23-2340',-2.0,3.0); # ERROR: 1146 - Table 'test.t3' doesn't exist SET MAX_JOIN_SIZE=1000000; # NOERROR INSERT INTO t2 VALUES (-3.0,(-150 DIV TRUNCATE(899,-869) - RADIANS((POWER(-308,-248) DIV 246) + (CONV(33,(SQRT(48) % FLOOR(-561)) * (EXP(-3) * (-525 % -288 DIV -28) / (ACOS(-929) % 54 DIV -531)) * COT(2.0),584) DIV -809))) + (457 - TAN(607) DIV CONV(-686,676,458)),-1.e+3); # NOERROR DROP PROCEDURE p1; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID XA ROLLBACK 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID XA ROLLBACK 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID CREATE TABLE IF NOT EXISTS t2 (c1 YEAR,c2 DECIMAL(1) UNSIGNED ZEROFILL,c3 CHAR(1) BINARY CHARACTER SET 'latin1' COLLATE 'latin1_bin') ENGINE=BLACKHOLE; # NOERROR COMMIT; # NOERROR FLUSH GENERAL LOGS; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID EXECUTE stmt; # ERROR: 1243 - Unknown prepared statement handler (stmt) given to EXECUTE TRUNCATE t3; # ERROR: 1146 - Table 'test.t3' doesn't exist CREATE PROCEDURE p1 (OUT i1 REAL UNSIGNED ZEROFILL) NO SQL EXECUTE stmt; # NOERROR SELECT * FROM (SET GLOBAL TRANSACTION ISOLATION LEVEL REPEATABLE READ) AS a1; # ERROR: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SET GLOBAL TRANSACTION ISOLATION LEVEL REPEATABLE READ) AS a1' at line 1 TRUNCATE TABLE performance_schema.memory_summary_by_host_by_event_name; # NOERROR SELECT (-756 % RAND(181) DIV RAND()) - (SIN(ATAN2(-26) * 596) * RAND()) DIV (POWER(-983,-998) - -68 * -305) DIV (TRUNCATE(636,271) + 419 % PI() DIV 1e2 DIV 448); # NOERROR SELECT EVENT_ID, EVENT_NAME, TIMER_WAIT FROM performance_schema.events_waits_history WHERE EVENT_NAME LIKE '%wsrep%'; # NOERROR XA BEGIN 'xid1'; # NOERROR SET TRANSACTION ISOLATION LEVEL READ COMMITTED; # ERROR: 1568 - Transaction characteristics can't be changed while a transaction is in progress INSERT INTO t1 SELECT * FROM t1; # NOERROR TRUNCATE TABLE t3; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SELECT EVENT_ID, EVENT_NAME, TIMER_WAIT FROM performance_schema.events_waits_history WHERE EVENT_NAME LIKE '%galera%'; # NOERROR SELECT (NULL DIV 23-12-2340) MOD (DEGREES(-163) * CEILING(924)) / (EXP('12-23-2340') DIV CEIL(CURRENT_TIMESTAMP()+100000) + LOG(654) % -693 MOD LN(868)) * (-883 / -234); # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state INSERT INTO t2 SELECT * FROM t3; # ERROR: 1146 - Table 'test.t3' doesn't exist SHOW DATABASES LIKE '%x'; # NOERROR XA ROLLBACK 'xid2'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SHOW CREATE VIEW v2; # ERROR: 1146 - Table 'test.v2' doesn't exist XA COMMIT 'xid1' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state CREATE TABLE t1 (c1 DATE,c2 LONGTEXT CHARACTER SET 'latin1' COLLATE 'latin1_bin',c3 JSON) ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state UPDATE t3 SET c1=(451 % CRC32((574 + COS(-366) DIV 205) DIV (CONV(208,-565,'!@#$%^-690*()_+{}[]:,./<>?:"') + LOG2(-106) MOD 916 DIV ACOS(-1.e-1) DIV LOG(-97))) + '23-12-2015' DIV SIN(807) MOD LOG2((ATAN(NULL) MOD 63) * (264 + LN(0.001 % -14 DIV 97) - RADIANS(LOG2(-622) - LOG(-478) + 1.e-1)))) / (POWER(397,-314) * TRUNCATE(-592,737) DIV RAND() * LN(-190) * COT('') - LOG10(-561) + -733 + LOG(489 % MOD(685 * DEGREES('cCCCCc'),706))); # ERROR: 1146 - Table 'test.t3' doesn't exist SELECT f2((COS(391) % -891 DIV FLOOR(-643)) - (987 + CEIL(-206) MOD TAN(226) DIV ATAN(-968))); # ERROR: 1305 - FUNCTION test.f2 does not exist LOCK TABLES t2 AS a2 READ, t1 AS a0 WRITE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state XA ROLLBACK 'xid2'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state UPDATE t2 SET c1=2000000000000000; # NOERROR ROLLBACK WORK TO sp1; # ERROR: 1305 - SAVEPOINT sp1 does not exist INSERT INTO t2 VALUES (NULL,'³³³','2000-12-12 23:59:00'); # ERROR: 1048 - Column 'c1' cannot be null SELECT f1(1.e-1); # ERROR: 1305 - FUNCTION test.f1 does not exist CREATE DEFINER=user2 PROCEDURE p1 (OUT i1 SMALLINT UNSIGNED) SQL SECURITY INVOKER COMMIT AND CHAIN NO RELEASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state XA COMMIT 'xid1' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state CREATE TEMPORARY TABLE t3 (c1 DECIMAL(65) UNSIGNED,c2 DOUBLE(255,10) ZEROFILL,c3 DOUBLE(2,2), PRIMARY KEY(c1)) ENGINE=PERFORMANCE_SCHEMA; # ERROR: 1478 - Table storage engine 'PERFORMANCE_SCHEMA' does not support the create option 'TEMPORARY' INSERT INTO t2 SELECT * FROM t3; # ERROR: 1146 - Table 'test.t3' doesn't exist DROP TABLE t2; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state LOAD DATA INFILE 'out7' INTO TABLE t3; # ERROR: 1146 - Table 'test.t3' doesn't exist XA ROLLBACK 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state INSERT INTO t1 VALUES (1.e+1,-1.e+2,1.e+3); # NOERROR INSERT INTO t1 SELECT * FROM t1; # ERROR: 1062 - Duplicate entry '0000-00-00 00:00:00' for key 'PRIMARY' FLUSH TABLES t2; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state DELETE FROM a2,a1 USING t3 AS a1 JOIN t1 AS a2 CROSS JOIN t1 AS a3; # ERROR: 1146 - Table 'test.t3' doesn't exist SELECT * FROM performance_schema.memory_summary_by_user_by_event_name; # NOERROR UNLOCK TABLES; # NOERROR ALTER TABLE t2 DROP PRIMARY KEY; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SET @@GLOBAL.character_set_client=sjis; # NOERROR SELECT f2('a'); # ERROR: 1305 - FUNCTION test.f2 does not exist CREATE TABLE IF NOT EXISTS t1 (c1 BLOB,c2 REAL(255,30) UNSIGNED,c3 SMALLINT ZEROFILL, PRIMARY KEY(c1(7))) ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SET GLOBAL innodb_monitor_disable='buffer_flush_batch_num_scan'; # NOERROR SELECT ('bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb' + SIN(-32)) - (-855 / (LN(-852) - -449) / (651 DIV -27 DIV 862 - RAND() - POWER(-466,-374))) - (ROUND(591) % COS(-798)); # NOERROR INSERT INTO t1 VALUES (12-23-2015,(459 / -368) MOD (-454 / CEIL(-826) - 1.e-2),'2000-12-12 23:61:00'); # ERROR: 1062 - Duplicate entry '0000-00-00 00:00:00' for key 'PRIMARY' SELECT c1 FROM t3 WHERE (c1) IN (SELECT c1 FROM t2 WHERE c1 <= '\0xe'); # ERROR: 1146 - Table 'test.t3' doesn't exist INSERT INTO t2 VALUES (1.e-30,4000000000000000,CURRENT_TIMESTAMP); # NOERROR PREPARE stmt FROM @cmd; # ERROR: 1295 - This command is not supported in the prepared statement protocol yet SHOW PROCEDURE STATUS LIKE '%1'; # NOERROR UPDATE t1 SET c1=(RAND() + SIGN(-264) DIV ATAN(224)) DIV (-867 MOD -48 + ATAN2('23-12-2340')); # NOERROR LOCK TABLES t2 AS a2 READ, t1 AS a0 WRITE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state UPDATE t3 SET c1='9000-12-12 00:00:00' ORDER BY c2 LIMIT 3; # ERROR: 1146 - Table 'test.t3' doesn't exist CREATE TABLE t1 (c1 CHAR(255),c2 TINYINT(254) UNSIGNED,c3 DATETIME(2)) ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state OPTIMIZE LOCAL TABLE t3; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state ROLLBACK WORK TO SAVEPOINT sp2; # ERROR: 1305 - SAVEPOINT sp2 does not exist SHOW CREATE EVENT e1; # ERROR: 1539 - Unknown event 'e1' COMMIT AND NO CHAIN; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state CREATE TABLE IF NOT EXISTS t2 (c1 DOUBLE PRIMARY KEY,c2 NUMERIC(65,30) UNSIGNED ZEROFILL,c3 MEDIUMTEXT BINARY CHARACTER SET 'Binary' COLLATE 'Binary') ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state TRUNCATE TABLE t3; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state INSERT INTO t3 SELECT * FROM t2; # ERROR: 1146 - Table 'test.t3' doesn't exist ALTER TABLE t1 MODIFY c1 CHAR(254) BINARY CHARACTER SET 'latin1' COLLATE 'latin1_bin'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state XA COMMIT 'xid1' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SELECT ((COT(-262) MOD (ACOS(3.1415927) - COT(407) DIV FLOOR(-40)) % (SIN(-307) % ACOS(-630)) + LOG2(202)) / (ABS(-896) % LOG2(-1.e-2)) / 140 DIV 947 + CURRENT_TIMESTAMP) - (LOG(-438) + -83 % ABS(0.0001)); # NOERROR XA END 'xid1'; # NOERROR LOCK TABLES t3 AS a3 LOW_PRIORITY WRITE, t3 AS a4 READ; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state INSERT INTO t2 SELECT * FROM t1; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SELECT c2,c2 FROM t3 AS a1 INNER JOIN t1 AS a2 WHERE a1.c3<'01-01-1430' UNION SELECT c2 FROM t1; # ERROR: 1146 - Table 'test.t3' doesn't exist CREATE TABLE t3 (c1 DECIMAL(1,1) PRIMARY KEY,c2 TINYINT(1) UNSIGNED,c3 BINARY) ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state COMMIT NO RELEASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state ROLLBACK WORK TO sp2; # ERROR: 1305 - SAVEPOINT sp2 does not exist PREPARE stmt FROM @cmd; # ERROR: 1295 - This command is not supported in the prepared statement protocol yet LOCK TABLES t3 AS a1 LOW_PRIORITY WRITE, t2 AS a1 READ, t1 AS a6 LOW_PRIORITY WRITE; # ERROR: 1066 - Not unique table/alias: 'a1' COMMIT NO RELEASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SELECT 705 % TRUNCATE(906,333) DIV PI() MOD 566; # NOERROR SET @c=(PI() / 41) / (-680 / 804); # NOERROR ROLLBACK WORK AND CHAIN NO RELEASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state ALTER TABLE t3 ADD INDEX (c3); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SET @@GLOBAL.slow_query_log=1; # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state ALTER TABLE t3 ADD INDEX (c2); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state LOCK TABLES t3 AS a1 WRITE, t2 AS a1 WRITE; # ERROR: 1066 - Not unique table/alias: 'a1' LOAD DATA INFILE 'out5' INTO TABLE t3; # ERROR: 1146 - Table 'test.t3' doesn't exist CREATE TABLE IF NOT EXISTS t2 (c1 NUMERIC(65) UNSIGNED,c2 VARBINARY(128),c3 CHAR(1) CHARACTER SET 'latin1' COLLATE 'latin1_bin') ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state DROP TABLE t2; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state CREATE TABLE IF NOT EXISTS t1 (c1 NUMERIC(65,10) UNSIGNED ZEROFILL,c2 MULTIPOLYGON,c3 TIMESTAMP(2)) ENGINE=MRG_MyISAM; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SELECT EVENT_ID, EVENT_NAME, TIMER_WAIT FROM performance_schema.events_waits_history WHERE EVENT_NAME LIKE '%wsrep%'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SELECT EVENT_NAME, COUNT_STAR FROM performance_schema.events_waits_summary_global_by_event_name WHERE EVENT_NAME LIKE '%wsrep%'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state FLUSH USER_RESOURCES; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state ALTER TABLE t3 MODIFY c2 DOUBLE(2,2) ZEROFILL; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SET autocommit=1; # NOERROR INSERT INTO t3 VALUES (x01,1.e+20,1000000000000000); # ERROR: 1146 - Table 'test.t3' doesn't exist OPTIMIZE NO_WRITE_TO_BINLOG TABLE t1; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SET GLOBAL TRANSACTION ISOLATION LEVEL READ UNCOMMITTED; # NOERROR SELECT * FROM t1 INTO OUTFILE 'out8'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SELECT @c; # NOERROR ALTER TABLE t1 ADD INDEX (c2); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SELECT -905 MOD 315 / 346; # NOERROR CALL p2(@a); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state INSERT INTO t2 VALUES ('12-23-2340',-1.e+10,'\05'); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SET GLOBAL TRANSACTION ISOLATION LEVEL READ UNCOMMITTED; # NOERROR SELECT c3,c1 FROM t1 AS a1 JOIN t2 AS a2 WHERE a2.c2=6934 UNION SELECT t3.c2 FROM t1 RIGHT OUTER JOIN t3 ON t3.c3 UNION SELECT c2 FROM t2 AS a1 STRAIGHT_JOIN t3 AS a2, t2 AS a3; # ERROR: 1146 - Table 'test.t3' doesn't exist UNLOCK TABLES; # NOERROR PURGE BINARY LOGS BEFORE CURRENT_TIMESTAMP(); # NOERROR SELECT (817 - ACOS(519) / 2000000000000000) MOD (RADIANS(548) + LOG2(-483)) DIV (COT(-921) DIV CEIL(740) + 729) % (-140 - 209); # NOERROR PURGE BINARY LOGS BEFORE CURRENT_TIMESTAMP(); # NOERROR INSERT INTO t1 SELECT * FROM t3; # ERROR: 1146 - Table 'test.t3' doesn't exist CREATE TABLE t3 (c1 TIMESTAMP PRIMARY KEY,c2 TINYBLOB,c3 BIT(1)) ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state BEGIN WORK; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state PURGE BINARY LOGS BEFORE CURRENT_TIMESTAMP(); # NOERROR SELECT 363 % POWER(-538,982); # NOERROR SELECT EVENT_ID, EVENT_NAME, TIMER_WAIT FROM performance_schema.events_waits_history WHERE EVENT_NAME LIKE '%wsrep%'; # ERROR: 2014 - Commands out of sync; you can't run this command now CREATE TABLE IF NOT EXISTS t1 (c1 YEAR PRIMARY KEY,c2 MEDIUMINT(40),c3 TINYINT(40)) ENGINE=InnoDB; # ERROR: 2014 - Commands out of sync; you can't run this command now SHOW CREATE TABLE t1; # ERROR: 2014 - Commands out of sync; you can't run this command now XA COMMIT 'xid1' ONE PHASE; # NOERROR SELECT (TRUNCATE(866,163) DIV DEGREES(-277) - CEILING(-203)) DIV (POW(-572,870) * LN(102) - COS('23-12-2340')) + (-941 - DEGREES(-461) DIV CONV(-807,793,-386)) / (COS(346) + 133 / POWER('³³³',-927)); # NOERROR SELECT (742 - -765) - (LN(-56) % LOG10(-359)) DIV (COT(62) * PI() MOD COT((POWER(NULL,-435) DIV LOG(-810) - -236) MOD (COS(363) MOD LOG10(-343)))); # NOERROR SET TRANSACTION ISOLATION LEVEL REPEATABLE READ; # NOERROR INSERT INTO t3 VALUES (01-01-1430,'10-10-2014',-3); # ERROR: 1146 - Table 'test.t3' doesn't exist LOCK TABLES t2 AS a1 READ LOCAL, t3 AS a1 WRITE; # ERROR: 1066 - Not unique table/alias: 'a1' PREPARE stmt FROM @cmd; # ERROR: 1295 - This command is not supported in the prepared statement protocol yet SELECT -817 DIV 737 DIV 630 - FLOOR(47) MOD 921; # NOERROR COMMIT WORK AND CHAIN; # NOERROR XA ROLLBACK 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID XA BEGIN 'xid1'; # ERROR: 1400 - XAER_OUTSIDE: Some work is done outside global transaction XA COMMIT 'xid2' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID XA ROLLBACK 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID SELECT (ROUND('12-23-2015') MOD MOD(551,3)) - (COT(1.e-3) + -841 + DEGREES(482)); # NOERROR SET @@GLOBAL.slow_query_log=1; # NOERROR CREATE TABLE t2 (c1 VARCHAR(254) BINARY CHARACTER SET 'latin1' COLLATE 'latin1_bin',c2 BLOB,c3 FLOAT(2,2) UNSIGNED) ENGINE=InnoDB; # ERROR: 1050 - Table 't2' already exists CREATE PROCEDURE p1 (INOUT i1 CHAR(255) CHARACTER SET 'utf8' COLLATE 'utf8_bin') NOT DETERMINISTIC NOT DETERMINISTIC INSERT INTO t1 SELECT * FROM t3; # ERROR: 1304 - PROCEDURE p1 already exists UNLOCK TABLES; # NOERROR RELEASE SAVEPOINT sp2; # ERROR: 1305 - SAVEPOINT sp2 does not exist SHOW OPEN TABLES LIKE '%n%'; # NOERROR XA COMMIT 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID CALL p1(@b); # ERROR: 1243 - Unknown prepared statement handler (stmt) given to EXECUTE SELECT f2((COT(991) - CONV(-583,1e3,15) / ASIN(-513)) DIV (LOG10(-174) + ACOS(737))); # ERROR: 1305 - FUNCTION test.f2 does not exist SELECT * FROM performance_schema.events_statements_summary_by_digest; # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state TRUNCATE TABLE performance_schema.socket_instances; # ERROR: 1683 - Invalid performance_schema usage. SET GLOBAL TRANSACTION ISOLATION LEVEL READ COMMITTED; # NOERROR SELECT EVENT_ID, EVENT_NAME, TIMER_WAIT FROM performance_schema.events_waits_history WHERE EVENT_NAME LIKE '%wsrep%'; # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state INSERT INTO t3 SELECT * FROM t3; # ERROR: 1146 - Table 'test.t3' doesn't exist TRUNCATE TABLE t1; # NOERROR BEGIN; # NOERROR INSERT INTO t1 VALUES ('2000-12-12 23:59:61',-1.e-2,(446 DIV -805) MOD (-923 / SIGN(362))); # NOERROR SELECT * FROM t2 INTO OUTFILE 'out4'; # ERROR: 1086 - File 'out4' already exists DROP TABLE t2; # NOERROR SELECT * FROM performance_schema.events_stages_summary_global_by_event_name; # NOERROR COMMIT; # NOERROR SET TRANSACTION ISOLATION LEVEL REPEATABLE READ; # NOERROR SELECT * FROM performance_schema.file_instances; # NOERROR SELECT @a; # NOERROR INSERT INTO t1 VALUES ('bb','óóó','ÃÃÃ'); # ERROR: 1062 - Duplicate entry '0000-00-00 00:00:00' for key 'PRIMARY' INSERT INTO t3 SELECT * FROM t1; # ERROR: 1146 - Table 'test.t3' doesn't exist CREATE FUNCTION f3 (i1 CHAR CHARACTER SET 'latin1' COLLATE 'latin1_bin') RETURNS VARCHAR(1025) COMMENT 'comment' RETURN CONCAT('function output:',i1); # ERROR: 1304 - FUNCTION f3 already exists UPDATE performance_schema.setup_timers SET TIMER_NAME='MICROSECOND' WHERE NAME='statement'; # NOERROR SET @@SESSION.low_priority_updates=0; # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state CREATE TEMPORARY TABLE IF NOT EXISTS t1 (c1 YEAR PRIMARY KEY,c2 REAL(2,2) ZEROFILL,c3 VARCHAR(1024) BINARY CHARACTER SET 'latin1' COLLATE 'latin1_bin') ENGINE=InnoDB; # NOERROR CREATE TABLE IF NOT EXISTS t3 (c1 DECIMAL PRIMARY KEY,c2 LONGTEXT CHARACTER SET 'utf8' COLLATE 'utf8_bin',c3 NUMERIC(1,0) ZEROFILL) ENGINE=MRG_MyISAM; # NOERROR INSERT INTO t2 VALUES ('01-01-1430',23-12-2015,0.0001); # ERROR: 1146 - Table 'test.t2' doesn't exist SET @@GLOBAL.SQL_MODE=(SELECT CONCAT(@@SQL_MODE,',NO_ZERO_DATE')); # NOERROR SET autocommit=1; # NOERROR SET @@GLOBAL.SQL_MODE=(SELECT CONCAT(@@SQL_MODE,',ONLY_FULL_GROUP_BY')); # NOERROR SHOW CHARACTER SET LIKE '2'; # NOERROR DELETE FROM a1,a2 USING t2 AS a1 STRAIGHT_JOIN t3 AS a2 JOIN t2 AS a3 WHERE a2.c2=a3.c3; # ERROR: 1146 - Table 'test.t2' doesn't exist SET GLOBAL TRANSACTION ISOLATION LEVEL SERIALIZABLE; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID XA PREPARE 'xid2'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state SELECT (-216 * 189 / -557 - DEGREES(-484) - -533) MOD (-805 DIV RAND() * TRUNCATE(-1.e-10,'BbBbBb')) - (304 + LOG(POW(-101,'9000-12-12 00:00:00') * -91) * ATAN2(299) + RADIANS(-148) % 602 DIV TRUNCATE(-876,1.e+20)); # NOERROR PURGE MASTER LOGS TO 'DddddD'; # NOERROR ALTER TABLE t3 MODIFY c3 MEDIUMTEXT CHARACTER SET 'utf8' COLLATE 'utf8_bin'; # NOERROR SELECT @a; # NOERROR SELECT (-401 + -870) % (917 % CEILING(6934) % -551 / LOG10(2000000000000000) / 554 % 503) % (-894 + 1500 MOD DEGREES(-2)); # NOERROR UPDATE t2 SET c1=-1.e-2; # ERROR: 1146 - Table 'test.t2' doesn't exist XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID DROP TABLE IF EXISTS t1; # NOERROR SET @@GLOBAL.innodb_compress_debug=4097; # ERROR: 1231 - Variable 'innodb_compress_debug' can't be set to the value of '4097' SELECT f3(-1.e+1); # NOERROR SET MAX_JOIN_SIZE=1000000; # NOERROR SET @a=(ACOS(POW(248,(RADIANS(-715) + LOG(663) / 0.00001) / (-453 + 576)) * 140 % 709 DIV CONV((POW(-434,111) MOD ATAN(8)) MOD (MOD(-20,373) * COT(276) / ABS(294) / SIGN(342) % 'aAaAaA'),-528,840)) % -897 / 3) % (-899 / 910); # ERROR: 1690 - DOUBLE value is out of range in 'pow(248,((radians(-(715)) + (log(663) / 0.00001)) / (-(453) + 576)))' UPDATE t2 SET c1='³³³'; # ERROR: 1146 - Table 'test.t2' doesn't exist SET GLOBAL TRANSACTION ISOLATION LEVEL REPEATABLE READ; # NOERROR UNLOCK TABLES; # NOERROR INSERT INTO t2 VALUES ('0000-12-12 23:59:00',-1.e-3,'x05'); # ERROR: 1146 - Table 'test.t2' doesn't exist TRUNCATE t2; # ERROR: 1146 - Table 'test.t2' doesn't exist XA COMMIT 'xid2'; # ERROR: 1397 - XAER_NOTA: Unknown XID XA COMMIT 'xid2' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID SET AUTOCOMMIT=ON; # NOERROR INSERT INTO t1 VALUES ((TAN('cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc') MOD -860 / 1e2) / (LOG(-15) - LOG(378) * FLOOR(-780)),1.e+10,-1.e+2); # NOERROR SELECT * FROM t2 INTO OUTFILE 'out2'; # ERROR: 1146 - Table 'test.t2' doesn't exist INSERT INTO t2 SELECT * FROM t1; # ERROR: 1146 - Table 'test.t2' doesn't exist SET GLOBAL innodb_monitor_reset_all='adaptive_hash_rows_removed'; # NOERROR SELECT f1(-1.e-1); # ERROR: 1305 - FUNCTION test.f1 does not exist DELETE a3,a1 FROM t2 AS a1 INNER JOIN t1 AS a2 CROSS JOIN t2 AS a3 WHERE a2.c2=a2.c1; # ERROR: 1146 - Table 'test.t2' doesn't exist XA END 'xid2'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state RENAME TABLE t2 TO t3,t2 TO t2,t2 TO t2; # ERROR: 1050 - Table 't3' already exists INSERT INTO t2 SELECT * FROM t1; # ERROR: 1146 - Table 'test.t2' doesn't exist SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED; # NOERROR LOAD DATA INFILE 'out7' INTO TABLE t3; # NOERROR DROP FUNCTION IF EXISTS f3; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID LOCK TABLES t3 AS a2 READ, t2 AS a0 WRITE, t1 AS a5 WRITE; # ERROR: 1146 - Table 'test.t2' doesn't exist SET @c=(PI() / 41) / (-680 / 804); # NOERROR XA COMMIT 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID INSERT INTO t2 SELECT * FROM t2; # ERROR: 1146 - Table 'test.t2' doesn't exist INSERT INTO t3 SELECT * FROM t1; # ERROR: 1036 - Table 't3' is read only UNLOCK TABLES; # NOERROR UNLOCK TABLES; # NOERROR UPDATE t2 SET c1=-1.e+1; # ERROR: 1146 - Table 'test.t2' doesn't exist ANALYZE NO_WRITE_TO_BINLOG TABLE t1; # NOERROR ANALYZE LOCAL TABLE t1; # NOERROR SELECT * FROM t2 INTO OUTFILE 'out7'; # ERROR: 1146 - Table 'test.t2' doesn't exist SET SQL_BIG_SELECTS=1; # NOERROR SELECT (RAND() + DEGREES(-885) + -528) DIV (COS(24) * POW(10,-601)); # NOERROR INSERT INTO t1 SELECT * FROM t2; # ERROR: 1146 - Table 'test.t2' doesn't exist XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state DROP TABLE t2; # ERROR: 1051 - Unknown table 'test.t2' SET @cmd:="ANALYZE NO_WRITE_TO_BINLOG TABLE t1"; # NOERROR INSERT INTO t2 VALUES (2013,-1,(ATAN2(471) / POWER(-201,-600)) * (2 * EXP(538))); # ERROR: 1146 - Table 'test.t2' doesn't exist SELECT (COT(620) MOD 112 MOD -146) DIV (-442 DIV POWER(853,-746)); # NOERROR SHOW SESSION VARIABLES LIKE '%g'; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID PURGE BINARY LOGS TO '<>,./;[}{}]&&``'; # NOERROR SELECT c2,c2 FROM t2 AS a1 CROSS JOIN t3 AS a2 WHERE a2.c1=1.e+20 UNION SELECT c2,c3 FROM t2 UNION SELECT c3,c1 FROM t3; # ERROR: 1146 - Table 'test.t2' doesn't exist SELECT * FROM performance_schema.events_statements_summary_by_host_by_event_name; # NOERROR SET GLOBAL innodb_monitor_reset_all='buffer_LRU_single_flush_failure_count'; # NOERROR SET @@GLOBAL.slave_checkpoint_group=4096; # NOERROR CREATE TABLE t3 (c1 INTEGER(254),c2 SET('aaaaaaaaaaaaaaaaaaaaaaaaaaaa','bbbbbbbbbbbbbbbbbbbbbbbbbbbbb','cccccccccccccccccccccccccccc') CHARACTER SET 'utf8' COLLATE 'utf8_bin',c3 CHAR(40) BINARY CHARACTER SET 'latin1' COLLATE 'latin1_bin', PRIMARY KEY(c1)) ENGINE=InnoDB; # ERROR: 1050 - Table 't3' already exists UPDATE performance_schema.setup_instruments SET ENABLED = 'YES', TIMED = 'YES' WHERE NAME LIKE '%galera%'; # NOERROR SELECT c3 FROM t1 UNION SELECT c2 FROM t3 AS a1 JOIN t2 AS a2 CROSS JOIN t3 AS a3 WHERE a1.c3=NULL; # ERROR: 1146 - Table 'test.t2' doesn't exist CREATE TABLE t3 (c1 JSON,c2 BLOB,c3 TIMESTAMP) ENGINE=InnoDB; # ERROR: 1050 - Table 't3' already exists INSERT INTO t2 SELECT * FROM t2; # ERROR: 1146 - Table 'test.t2' doesn't exist XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID SET GLOBAL innodb_monitor_reset='buffer_page_written_undo_log'; # ERROR: 1231 - Variable 'innodb_monitor_reset' can't be set to the value of 'buffer_page_written_undo_log' XA RECOVER; # NOERROR INSERT INTO t2 VALUES ((866 - 630 MOD ROUND(POWER(1e3,-730) / '10-10-2014')) MOD (TAN(-314) - CRC32(-777)),6934,'c'); # ERROR: 1146 - Table 'test.t2' doesn't exist SELECT (SELECT (SELECT c2,c2 FROM t2) OR (SELECT c2,c1 FROM t2)) AND (SELECT (SELECT (SELECT c1 FROM t2) AND (SELECT c3,c1 FROM t3 AS a1 JOIN t1 AS a2 WHERE a3.c1a1.c2 OR a1.c3=a2.c1 ); # ERROR: 1146 - Table 'test.t3' doesn't exist SHOW TRIGGERS LIKE '%k%'; # NOERROR FLUSH USER_RESOURCES; # NOERROR UNLOCK TABLES; # NOERROR INSERT INTO t2 VALUES (1.e+20,(-156 DIV EXP(1.e+1)) + (CONV((-583 % -81) MOD (LOG2(903) % MOD(-985 + LOG(-640),-479) MOD -855),629,82) - POWER(329,141)),1.e+2); # ERROR: 1690 - DOUBLE value is out of range in 'pow(329,141)' SELECT (LOG2(-801) + 636 / ROUND(-2)) MOD (EXP(-400) DIV 595); # NOERROR CREATE TABLE t1 (c1 DATE PRIMARY KEY,c2 CHAR(1) BINARY,c3 FLOAT(1,1) ZEROFILL) ENGINE=InnoDB; # ERROR: 1050 - Table 't1' already exists SELECT * FROM performance_schema.file_summary_by_instance; # NOERROR SELECT * FROM performance_schema.events_statements_summary_by_program; # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state TRUNCATE t3; # ERROR: 1146 - Table 'test.t3' doesn't exist INSERT INTO t3 VALUES (1500,1.e-1,0.0001); # ERROR: 1146 - Table 'test.t3' doesn't exist SELECT (SELECT (SELECT c2 FROM t1 AS a1 CROSS JOIN t2 AS a2 JOIN t3 AS a3 ) OR (SELECT c1,c2 FROM t2)) AND (SELECT (SELECT (SELECT c1,c3 FROM t3 AS a1 JOIN t2 AS a2 ) AND (SELECT c1,c1 FROM t3 AS a1, t2 AS a2 WHERE a1.c2<3 ))) OR ((SELECT t3.c2 FROM t3 RIGHT JOIN t3 ON t3.c1) AND (SELECT c3,c1 FROM t3)) OR (SELECT c1 FROM t3); # ERROR: 1066 - Not unique table/alias: 't3' COMMIT; # NOERROR FLUSH NO_WRITE_TO_BINLOG TABLES t3 FOR EXPORT; # ERROR: 1146 - Table 'test.t3' doesn't exist LOCK TABLES t2 AS a3 WRITE; # NOERROR RESET SLAVE FOR CHANNEL '1'; # ERROR: 1794 - Slave is not configured or failed to initialize properly. You must at least set --server-id to enable either a master or a slave. Additional error messages can be found in the MySQL error log. SET AUTOCOMMIT=ON; # NOERROR TRUNCATE t2; # ERROR: 1100 - Table 't2' was not locked with LOCK TABLES TRUNCATE t2; # ERROR: 1100 - Table 't2' was not locked with LOCK TABLES XA ROLLBACK 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID ALTER TABLE t1 ENGINE=ARCHIVE; # ERROR: 1100 - Table 't1' was not locked with LOCK TABLES LOCK TABLES t3 AS a1 WRITE, t2 AS a5 READ LOCAL, t2 AS a3 READ LOCAL; # ERROR: 1146 - Table 'test.t3' doesn't exist SELECT (-907 MOD CONV(SIGN((MOD(LOG(-450) + CRC32(-489) * EXP(546) MOD -981,-776) + ATAN(-363)) + (2000000000000000 + -979)) * -727 MOD CONV(-1.e+30,340,283) / SQRT(410),305,(-675 / SQRT(57) MOD 187) * (EXP(749) DIV CRC32(55))) * -242 * -247) DIV (LOG(67) DIV DEGREES(-707)); # NOERROR SET AUTOCOMMIT=ON; # NOERROR SET @a=(-300 / LOG(-111)) DIV ('2000-12-12 23:61:00' * -633 MOD 'cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc'); # NOERROR SET @@SESSION.innodb_optimize_point_storage=1023; # ERROR: 1193 - Unknown system variable 'innodb_optimize_point_storage' INSERT INTO t3 VALUES ('cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc','BB',-1.0); # ERROR: 1146 - Table 'test.t3' doesn't exist SET MAX_JOIN_SIZE=1000000; # NOERROR UPDATE t2 SET c1=1e1; # NOERROR SELECT * FROM t3 INTO OUTFILE 'out8'; # ERROR: 1146 - Table 'test.t3' doesn't exist CREATE TABLE IF NOT EXISTS t1 (c1 CHAR(128) PRIMARY KEY,c2 MULTIPOINT,c3 JSON) ENGINE=InnoDB; # NOERROR INSERT INTO t3 VALUES ('bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb',(ACOS(-726) + -1.e-20) - (FLOOR(414) DIV 29 MOD '23-12-2015' + ACOS(-687) - ROUND(782) MOD RAND(6934) / 263),1.e+2); # ERROR: 1146 - Table 'test.t3' doesn't exist SELECT * FROM performance_schema.events_statements_summary_global_by_event_name; # NOERROR SELECT EVENT_NAME, COUNT_STAR FROM performance_schema.events_waits_summary_global_by_event_name WHERE EVENT_NAME LIKE '%galera%'; # NOERROR SELECT (POW(226,-775) / SIGN(-829) * 'ffFFff' MOD -122 MOD 257 + PI() + LN(-145) % CEIL(-422) + -96) DIV (ATAN2(-194) + CEILING(5000000000000000)); # NOERROR XA ROLLBACK 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID INSERT INTO t2 SELECT * FROM t3; # ERROR: 1146 - Table 'test.t3' doesn't exist UNLOCK TABLES; # NOERROR INSERT INTO t3 VALUES (1.e-2,'cc','DddddD'); # ERROR: 1146 - Table 'test.t3' doesn't exist SELECT (443 * -641 MOD MOD(403,540)) - (TAN(-724) - 575 % -1.e-3); # NOERROR SET @@SESSION.session_track_gtids=OWN_GTID; # NOERROR XA ROLLBACK 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID CREATE TABLE t2 (c1 DECIMAL(1,1) PRIMARY KEY,c2 MEDIUMBLOB,c3 DECIMAL(2,2) ZEROFILL) ENGINE=InnoDB; # ERROR: 1050 - Table 't2' already exists ANALYZE NO_WRITE_TO_BINLOG TABLE t3; # NOERROR SELECT (PI() MOD ABS(-257)) / (ATAN(771) * SIGN(226) % -826) * (-954 / TRUNCATE('2000-12-12 23:59:00',97)) + (COT(34) * MOD(-450,915) MOD ACOS(959) - CRC32(0.0001)); # NOERROR SELECT c3 FROM t2 UNION SELECT c2 FROM t1 AS a1 JOIN t1 AS a2 STRAIGHT_JOIN t1 AS a3 WHERE a3.c3<'12-23-2015' UNION SELECT t2.c3 FROM t2 RIGHT JOIN t3 ON t2.c3; # ERROR: 1146 - Table 'test.t3' doesn't exist SELECT -269 * '2000-12-12 23:61:00' DIV CEILING(318) / -476; # NOERROR ALTER TABLE t1 MODIFY c1 TINYBLOB; # ERROR: 1170 - BLOB/TEXT column 'c1' used in key specification without a key length ALTER TABLE t1 ADD INDEX (c3), ADD UNIQUE (c3); # NOERROR COMMIT WORK AND CHAIN; # NOERROR RENAME TABLE t2 TO t3,t1 TO t2,t1 TO t2; # ERROR: 1050 - Table 't2' already exists TRUNCATE TABLE t1; # NOERROR SELECT * FROM (PURGE MASTER LOGS TO '0.0001') AS a1; # ERROR: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'PURGE MASTER LOGS TO '0.0001') AS a1' at line 1 UPDATE t3 SET c1=1.e+20 ORDER BY c3 DESC LIMIT 3; # ERROR: 1146 - Table 'test.t3' doesn't exist ROLLBACK; # NOERROR INSERT INTO t1 SELECT * FROM t2; # ERROR: 1136 - Column count doesn't match value count at row 1 XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state CALL p2(@c); # ERROR: 1305 - PROCEDURE test.p2 does not exist SELECT SIGN(0.001) / FLOOR(-64) + -771 DIV 697 - -1.e+30 % 29; # NOERROR TRUNCATE t1; # NOERROR CREATE TABLE IF NOT EXISTS t1 (c1 TIME PRIMARY KEY,c2 DECIMAL(65,30) UNSIGNED,c3 VARCHAR(2) CHARACTER SET 'latin1' COLLATE 'latin1_bin') ENGINE=InnoDB; # NOERROR SET @cmd:="SELECT * FROM performance_schema.setup_consumers"; # NOERROR UPDATE t3 SET c1='2000-12-12 23:61:00' WHERE c3=c2 AND c1<=NULL OR c1>c1 AND c1<='2000-12-12 23:59:00' AND c1=c2 ORDER BY c3 ASC,c2 ASC; # ERROR: 1146 - Table 'test.t3' doesn't exist DELETE QUICK FROM a2,a1,a3 USING t2 AS a1 INNER JOIN t2 AS a2 CROSS JOIN t3 AS a3 WHERE a2.c1<-1.e+10; # ERROR: 1146 - Table 'test.t3' doesn't exist ALTER TABLE t3 DROP COLUMN c2; # ERROR: 1146 - Table 'test.t3' doesn't exist ROLLBACK AND NO CHAIN; # NOERROR PURGE MASTER LOGS BEFORE CURRENT_TIMESTAMP(); # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID CALL p3(@b); # ERROR: 1318 - Incorrect number of arguments for PROCEDURE test.p3; expected 2, got 1 INSERT INTO t2 VALUES (10-10-2014,-1.e-20,'x05'); # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state SET @@GLOBAL.OPTIMIZER_SWITCH="duplicateweedout=ON"; # NOERROR DELETE FROM t1 WHERE c3=-3 ORDER BY c1 ASC; # NOERROR PURGE BINARY LOGS TO '12-23-2340'; # NOERROR DELETE a3,a3 FROM t3 AS a1 STRAIGHT_JOIN t3 AS a2, t1 AS a3; # ERROR: 1066 - Not unique table/alias: 'a3' XA COMMIT 'xid2' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID UNLOCK TABLES; # NOERROR SELECT c2 FROM t2 AS a1 JOIN t1 AS a2 INNER JOIN t3 AS a3 UNION SELECT t2.c2 FROM t2 LEFT JOIN t1 ON t2.c3 UNION SELECT c3,c3 FROM t1 AS a1 STRAIGHT_JOIN t2 AS a2 WHERE a3.c2=12-23-2015; # ERROR: 1146 - Table 'test.t3' doesn't exist INSERT INTO t1 VALUES (-1.e-30,0.0001,CURRENT_TIMESTAMP()+100000); # ERROR: 1136 - Column count doesn't match value count at row 1 XA END 'xid2'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state INSERT INTO t1 VALUES (0,-1.e-2,1.e+10); # ERROR: 1136 - Column count doesn't match value count at row 1 INSERT INTO t1 SELECT * FROM t1; # NOERROR XA COMMIT 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID ROLLBACK; # NOERROR TRUNCATE t3; # ERROR: 1146 - Table 'test.t3' doesn't exist DELETE IGNORE FROM a1 USING t3 AS a1, t1 AS a2 INNER JOIN t1 AS a3; # ERROR: 1146 - Table 'test.t3' doesn't exist DROP TABLE t1; # NOERROR PURGE MASTER LOGS TO 'BB'; # NOERROR LOCK TABLES t3 AS a1 READ LOCAL, t1 AS a5 READ, t1 AS a5 WRITE; # ERROR: 1066 - Not unique table/alias: 'a5' SELECT * FROM t2 INTO OUTFILE 'out0'; # NOERROR ALTER TABLE t1 ADD UNIQUE (c2); # ERROR: 1146 - Table 'test.t1' doesn't exist UPDATE t3 SET c1=(RAND() - 48) + (723 / 21 MOD 58) ORDER BY c1 ASC LIMIT 3; # ERROR: 1146 - Table 'test.t3' doesn't exist SELECT RAND() / -874; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID SELECT * FROM t2 INTO OUTFILE 'out8'; # ERROR: 1086 - File 'out8' already exists SELECT 680 / LOG(1000000000000000); # NOERROR DROP TABLE t2; # NOERROR XA END 'xid2'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state INSERT INTO t1 VALUES (3,-1.e+30,(POWER(-359,784) * -247) % (ASIN(-751) DIV 960 + 242)); # ERROR: 1146 - Table 'test.t1' doesn't exist XA ROLLBACK 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID SELECT * FROM performance_schema.events_statements_current; # NOERROR SELECT * FROM (SELECT (LOG2(224) DIV -879) % (ASIN(946) / RAND()) * (TAN(1.e+20) * POW(-813,7))) AS a1; # NOERROR INSERT INTO t2 SELECT * FROM t1; # ERROR: 1146 - Table 'test.t2' doesn't exist SELECT f2(-3); # ERROR: 1305 - FUNCTION test.f2 does not exist CREATE TABLE t2 (c1 DATETIME PRIMARY KEY,c2 DECIMAL(10,10) UNSIGNED ZEROFILL,c3 TEXT BINARY CHARACTER SET 'latin1' COLLATE 'latin1_bin') ENGINE=MEMORY; # ERROR: 1163 - The used table type doesn't support BLOB/TEXT columns SELECT (SELECT c1 FROM t3 AS a1 CROSS JOIN t2 AS a2 JOIN t3 AS a3 WHERE a2.c2>=NULL ); # ERROR: 1146 - Table 'test.t3' doesn't exist ROLLBACK; # NOERROR UNLOCK TABLES; # NOERROR SELECT t2.c2 FROM t3 LEFT JOIN t2 ON t2.c1 UNION SELECT c2,c1 FROM t1 AS a1 INNER JOIN t1 AS a2 WHERE a1.c3=a2.c1; # ERROR: 1146 - Table 'test.t3' doesn't exist SET GLOBAL innodb_monitor_disable='module_innodb'; # NOERROR SET @@SESSION.sql_safe_updates=0; # NOERROR INSERT INTO t2 SELECT * FROM t2; # ERROR: 1146 - Table 'test.t2' doesn't exist XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state SET SQL_BIG_SELECTS=1; # NOERROR SET @@GLOBAL.OPTIMIZER_SWITCH="engine_condition_pushdown=ON"; # NOERROR SELECT (-628 / 526) / (ATAN(729) % -531) - (-431 MOD 645) % (ATAN2(-274) % -848 - -671 + RAND(LOG2(-434) + 0) + 697); # NOERROR SELECT @a; # NOERROR SET @cmd:="UPDATE t3 SET c1='AA' ORDER BY c2 ASC "; # NOERROR SELECT c1 FROM t2 WHERE (c1) IN (SELECT c1 FROM t3 WHERE c1 = 1.e-30); # ERROR: 1146 - Table 'test.t2' doesn't exist TRUNCATE t3; # ERROR: 1146 - Table 'test.t3' doesn't exist DELETE a3,a2 FROM t2 AS a1 CROSS JOIN t2 AS a2 CROSS JOIN t2 AS a3; # ERROR: 1146 - Table 'test.t2' doesn't exist SET @@GLOBAL.read_only=0; # NOERROR EXPLAIN XA END 'xid1'; # ERROR: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''xid1'' at line 1 REPAIR LOCAL TABLE t1; # NOERROR SELECT 235 % PI(); # NOERROR SELECT * FROM performance_schema.events_stages_history WHERE EVENT_NAME LIKE '%wsrep%'; # NOERROR SET GLOBAL innodb_monitor_reset='innodb_mem_validate_usec'; # NOERROR INSERT INTO t2 SELECT * FROM t2; # ERROR: 1146 - Table 'test.t2' doesn't exist SHOW MASTER STATUS; # NOERROR INSERT INTO t2 VALUES ((376 DIV 27 DIV -750) / (COT(-491) - COS(890) DIV 1.e-10),1.e+3,1); # ERROR: 1146 - Table 'test.t2' doesn't exist RESET SLAVE FOR CHANNEL '1'; # ERROR: 1794 - Slave is not configured or failed to initialize properly. You must at least set --server-id to enable either a master or a slave. Additional error messages can be found in the MySQL error log. SET @@SESSION.OPTIMIZER_SWITCH="batched_key_access=ON"; # NOERROR SELECT RAND() MOD 484 - 250 / 869; # NOERROR ROLLBACK AND NO CHAIN; # NOERROR CREATE TABLE IF NOT EXISTS t3 (c1 NUMERIC(40) ZEROFILL,c2 DECIMAL(65) ZEROFILL,c3 NUMERIC(1) UNSIGNED) ENGINE=InnoDB; # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state SELECT (LOG2(12) DIV TRUNCATE(-690,-840) / ABS(-286)) + (DEGREES(899) MOD LOG2((3.0 % ACOS(70)) / ((ASIN(188) DIV RAND() - SIGN(207)) % (RAND(-732) * SIGN(-447)) DIV ATAN2('BB') % FLOOR(99))) - TRUNCATE(-121,-454)) DIV (-580 + LOG10(-543) + POW(-827,MOD(-202,-798) / 530 / -850 MOD 155)) + (PI() * -430 + '2000-12-40 00:00:00'); # NOERROR INSERT INTO t3 VALUES (-3,0.0001,'2016-12-12 23:59:00'); # NOERROR UNLOCK TABLES; # NOERROR SELECT c1 FROM t1 AS a1 INNER JOIN t3 AS a2 JOIN t2 AS a3 UNION SELECT c2 FROM t3; # ERROR: 1146 - Table 'test.t1' doesn't exist INSERT INTO t3 SELECT * FROM t2; # ERROR: 1146 - Table 'test.t2' doesn't exist SET @@SESSION.autocommit=48; # ERROR: 1231 - Variable 'autocommit' can't be set to the value of '48' LOAD DATA INFILE 'out6' INTO TABLE t3; # NOERROR SET @@SESSION.SQL_MODE=(SELECT CONCAT(@@SQL_MODE,',NO_BACKSLASH_ESCAPES')); # NOERROR CREATE TEMPORARY TABLE IF NOT EXISTS t1 (c1 SET('a','b','c') PRIMARY KEY,c2 INTEGER(40),c3 NUMERIC) ENGINE=MEMORY; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID SET GLOBAL innodb_monitor_enable='log_lsn_checkpoint_age'; # NOERROR SET GLOBAL innodb_monitor_disable='lock_rec_lock_created'; # NOERROR SET MAX_JOIN_SIZE=1000000; # NOERROR LOCK TABLES t2 AS a1 READ LOCAL; # ERROR: 1146 - Table 'test.t2' doesn't exist ROLLBACK TO sp1; # ERROR: 1305 - SAVEPOINT sp1 does not exist EXECUTE stmt; # NOERROR REPAIR NO_WRITE_TO_BINLOG TABLE t2 USE_FRM; # NOERROR INSERT INTO t2 SELECT * FROM t3; # ERROR: 1146 - Table 'test.t2' doesn't exist XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state CREATE FUNCTION f2 (i1 LONGTEXT,i2 FLOAT(2,2) ZEROFILL) RETURNS DOUBLE ZEROFILL CONTAINS SQL COMMENT 'comment' RETURN CONCAT('function output:',i1); # NOERROR TRUNCATE TABLE t1; # NOERROR DELETE IGNORE FROM a1,a3,a1 USING t2 AS a1, t1 AS a2, t1 AS a3; # ERROR: 1066 - Not unique table/alias: 'a1' XA ROLLBACK 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID EXECUTE stmt; # NOERROR EXPLAIN SELECT * FROM performance_schema.setup_instruments; # NOERROR CREATE FUNCTION f1 (i1 NUMERIC(1)) RETURNS INT UNSIGNED ZEROFILL NO SQL RETURN LOAD DATA INFILE 'out2' INTO TABLE t2; # ERROR: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LOAD DATA INFILE 'out2' INTO TABLE t2' at line 1 ALTER TABLE t1 MODIFY c1 NUMERIC UNSIGNED; # NOERROR ALTER TABLE t3 DROP COLUMN c2; # NOERROR LOCK TABLES t1 AS a3 READ LOCAL, t3 AS a1 READ LOCAL, t2 AS a6 READ LOCAL; # ERROR: 1146 - Table 'test.t2' doesn't exist DELETE a1,a2,a2 FROM t1 AS a1 JOIN t3 AS a2 STRAIGHT_JOIN t3 AS a3 WHERE a3.c2>=a3.c2 OR a2.c1=NULL; # ERROR: 1066 - Not unique table/alias: 'a2' TRUNCATE t1; # NOERROR ROLLBACK; # NOERROR SET @@GLOBAL.OPTIMIZER_SWITCH="semijoin=ON"; # NOERROR UNLOCK TABLES; # NOERROR REPAIR LOCAL TABLE t1; # NOERROR XA BEGIN 'xid2'; # NOERROR XA PREPARE 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state TRUNCATE t2; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state ROLLBACK NO RELEASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SELECT @b; # NOERROR UNLOCK TABLES; # NOERROR BEGIN WORK; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state CREATE PROCEDURE p3 (INOUT i1 DOUBLE ZEROFILL) SQL SECURITY INVOKER TRUNCATE t2; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SELECT @c; # NOERROR DELETE a3,a2,a3 FROM t1 AS a1 INNER JOIN t2 AS a2 INNER JOIN t1 AS a3; # ERROR: 1066 - Not unique table/alias: 'a3' SELECT c2 FROM t1 UNION SELECT c1 FROM t1 AS a1 CROSS JOIN t2 AS a2, t3 AS a3 WHERE a2.c1=a3.c2 AND a2.c3<=3.1415927; # ERROR: 1137 - Can't reopen table: 't1' SET @a=-3; # NOERROR UNLOCK TABLES; # NOERROR XA END 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID SELECT -1.e+2 * SIGN('BbBbBb') % -648 / -666; # NOERROR SET @@SESSION.sql_big_selects=1; # NOERROR SELECT (982 + CEILING(873)) MOD (TAN(-725) - -315); # NOERROR PURGE BINARY LOGS TO '(CRC32(-598) - ASIN(590) % LN(226)) * (-794 % ATAN2(884) DIV SQRT(180) DIV 971)'; # NOERROR LOAD DATA INFILE 'out0' INTO TABLE t1; # NOERROR REPAIR LOCAL TABLE t2; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state INSERT INTO t2 VALUES (-1.e-1,(5 * ABS(724) + -65) MOD (-1.e-2 DIV ROUND(400) % -176),0.00001); # ERROR: 1146 - Table 'test.t2' doesn't exist ROLLBACK AND NO CHAIN; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state TRUNCATE t3; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SHOW DATABASES LIKE '%m%'; # NOERROR SELECT * FROM performance_schema.status_by_host; # NOERROR SELECT EVENT_ID, EVENT_NAME, TIMER_WAIT FROM performance_schema.events_waits_history WHERE EVENT_NAME LIKE '%wsrep%'; # NOERROR INSERT INTO t1 SELECT * FROM t2; # ERROR: 1146 - Table 'test.t2' doesn't exist SELECT @a; # NOERROR XA ROLLBACK 'xid2'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SELECT * FROM t1 INTO OUTFILE 'out4'; # ERROR: 1086 - File 'out4' already exists XA END 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID SET GLOBAL TRANSACTION ISOLATION LEVEL SERIALIZABLE; # NOERROR PURGE BINARY LOGS BEFORE CURRENT_TIMESTAMP(); # NOERROR SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED; # NOERROR SET GLOBAL innodb_monitor_enable='os_data_writes'; # NOERROR INSERT INTO t2 SELECT * FROM t3; # ERROR: 1146 - Table 'test.t2' doesn't exist UNLOCK TABLES; # NOERROR DROP FUNCTION IF EXISTS f2; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SELECT * FROM performance_schema.events_stages_history WHERE EVENT_NAME LIKE '%wsrep%'; # NOERROR XA START 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state TRUNCATE t2; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SELECT * FROM t2 INTO OUTFILE 'out6'; # ERROR: 1146 - Table 'test.t2' doesn't exist SET SQL_BIG_SELECTS=1; # NOERROR SELECT * FROM t2 INTO OUTFILE 'out4'; # ERROR: 1146 - Table 'test.t2' doesn't exist SET GLOBAL innodb_monitor_reset='lock_row_lock_waits'; # NOERROR SHOW CREATE DATABASE test; # NOERROR SET @@GLOBAL.server_id=8; # NOERROR SHOW ENGINE InnoDB MUTEX; # NOERROR SELECT c2 FROM t2 UNION SELECT c2,c2 FROM t3 AS a1 INNER JOIN t1 AS a2 WHERE a2.c1>=-1.e+2; # ERROR: 1146 - Table 'test.t2' doesn't exist SET @@GLOBAL.innodb_undo_logs=1125899906842624; # NOERROR INSERT INTO t3 VALUES (-1.e+20,'aAaAaA',-2.0); # ERROR: 1136 - Column count doesn't match value count at row 1 XA COMMIT 'xid1' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED; # NOERROR SET @c='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'; # NOERROR SELECT (COT(405) % 216) % (MOD(425,2014) / CONV(-665,-285,84)); # NOERROR XA COMMIT 'xid2' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state XA COMMIT 'xid2' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state XA ROLLBACK 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SET @@SESSION.SQL_MODE=(SELECT REPLACE(@@SQL_MODE,',NO_FIELD_OPTIONS','')); # NOERROR XA END 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID SELECT EVENT_ID, EVENT_NAME, TIMER_WAIT FROM performance_schema.events_waits_history WHERE EVENT_NAME LIKE '%wsrep%'; # NOERROR XA PREPARE 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state CREATE TABLE t3 (c1 MEDIUMBLOB,c2 DECIMAL(40) UNSIGNED,c3 DATE, PRIMARY KEY(c1(10))) ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state UPDATE t1 SET c1=(793 - -581) + (SIGN(-77) / TRUNCATE((231 MOD TRUNCATE('DUMMY5',748) % -848) DIV ((EXP(777 DIV SQRT(TRUNCATE(-919,-97) % ACOS(-646))) + 949) % (TAN(-600) / CONV((CONV('<>,./;[}{}]DUMMYDUMMY``',-921,-679) DIV CEIL(-642)) * (339 MOD -645),-335,-182)) - 680),932) DIV 688) ORDER BY c3; # ERROR: 1146 - Table 'test.t1' doesn't exist UPDATE t3 SET c1=23-12-2340; # NOERROR SELECT CRC32(-310 / 263) % MOD(-620,263) * COT(-872) DIV COS(-459); # NOERROR SET SESSION TRANSACTION ISOLATION LEVEL REPEATABLE READ; # NOERROR SET GLOBAL TRANSACTION ISOLATION LEVEL READ UNCOMMITTED; # NOERROR SELECT f2(-2); # NOERROR CALL p3(@c); # ERROR: 2014 - Commands out of sync; you can't run this command now SELECT 1 FROM (INSERT INTO t2 SELECT * FROM t3) AS a1; # ERROR: 2014 - Commands out of sync; you can't run this command now UNLOCK TABLES; # NOERROR SET TRANSACTION ISOLATION LEVEL REPEATABLE READ; # ERROR: 1568 - Transaction characteristics can't be changed while a transaction is in progress SELECT * FROM performance_schema.events_waits_summary_by_host_by_event_name; # NOERROR CREATE TABLE IF NOT EXISTS t1 (c1 CHAR(255) PRIMARY KEY,c2 INT(1) UNSIGNED ZEROFILL,c3 SMALLINT(40)) ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state PREPARE stmt FROM @cmd; # ERROR: 1054 - Unknown column 'c2' in 'order clause' INSERT INTO t1 VALUES (1500,'\0xe',CURRENT_TIMESTAMP()); # ERROR: 1146 - Table 'test.t1' doesn't exist SELECT -1 / LOG2(188) * SQRT(-178) * 424 MOD POW(-995,572); # NOERROR XA END 'xid2'; # NOERROR BEGIN; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SET GLOBAL innodb_monitor_reset_all='buffer_LRU_single_flush_failure_count'; # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state UPDATE t2 SET c1=-1.e-3; # ERROR: 1146 - Table 'test.t2' doesn't exist SET @@GLOBAL.innodb_monitor_reset_all=pattern; # ERROR: 1231 - Variable 'innodb_monitor_reset_all' can't be set to the value of 'pattern' XA COMMIT 'xid2' ONE PHASE; # NOERROR SHOW CHARACTER SET LIKE 'f'; # NOERROR SELECT * FROM performance_schema.events_stages_history; # NOERROR CREATE TABLE t3 (c1 DATE,c2 REAL(1,1) ZEROFILL,c3 VARCHAR(10) CHARACTER SET 'utf8' COLLATE 'utf8_bin', PRIMARY KEY(c1)) ENGINE=MEMORY; # ERROR: 1050 - Table 't3' already exists XA END 'xid2'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state SELECT * FROM performance_schema.setup_consumers; # NOERROR ALTER TABLE t3 ADD INDEX (c2); # ERROR: 1072 - Key column 'c2' doesn't exist in table SELECT EVENT_NAME, COUNT_STAR FROM performance_schema.events_waits_summary_global_by_event_name WHERE EVENT_NAME LIKE '%galera%'; # NOERROR SELECT EVENT_ID, EVENT_NAME, TIMER_WAIT FROM performance_schema.events_waits_history WHERE EVENT_NAME LIKE '%galera%'; # NOERROR INSERT INTO t2 VALUES ('a',(PI() * RADIANS('!@#$%^DUMMY*()_+{}[]:,./<>?:"')) DIV (LOG(437) MOD CEILING((ATAN(-393) DIV 'x05') * (43 + 326 % 1e3))),'ABCDEF'); # ERROR: 1146 - Table 'test.t2' doesn't exist CREATE DEFINER=CURRENT_USER PROCEDURE p2 (INOUT i1 DECIMAL) COMMENT 'comment' SET SQL_BIG_SELECTS=1; # NOERROR SET @c='2016-12-12 23:59:00'; # NOERROR DROP FUNCTION f2; # NOERROR TRUNCATE t2; # ERROR: 1146 - Table 'test.t2' doesn't exist LOCK TABLES t2 AS a3 READ, t2 AS a0 READ LOCAL, t2 AS a0 READ LOCAL; # ERROR: 1066 - Not unique table/alias: 'a0' XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state SELECT (SELECT (SELECT c3 FROM t2 AS a1 JOIN t1 AS a2 CROSS JOIN t2 AS a3 WHERE a3.c2='2016-12-12 23:59:00' ) OR (SELECT c2 FROM t2)) AND (SELECT (SELECT (SELECT c1,c3 FROM t2 AS a1 STRAIGHT_JOIN t1 AS a2 WHERE a3.c2>'2000-12-40 00:00:00' ) AND (SELECT c3 FROM t2))) OR ((SELECT t2.c3 FROM t3 RIGHT JOIN t2 ON t2.c1=(RAND((ASIN(49) * -981 * -167 - 368 / CONV(965,-698,-77) - 256) + (FLOOR(RAND(-338) * 226) DIV -533)) DIV 3 * -686 * 831) + ('23-12-2015' * SQRT(1.e+1) MOD 129 - ATAN('c') % 234)) AND (SELECT t2.c1 FROM t2 RIGHT JOIN t3 ON t2.c3=1.e-2)) OR (SELECT t1.c1 FROM t1 RIGHT JOIN t3 ON t1.c2='cCCCCc'); # ERROR: 1146 - Table 'test.t2' doesn't exist UPDATE t2 SET c1='aa' ORDER BY c1 LIMIT 2; # ERROR: 1146 - Table 'test.t2' doesn't exist SELECT f1(1.e-30); # ERROR: 1305 - FUNCTION test.f1 does not exist UNLOCK TABLES; # NOERROR DELETE FROM a3,a1 USING t3 AS a1, t3 AS a2 JOIN t2 AS a3; # ERROR: 1146 - Table 'test.t2' doesn't exist SELECT (LN(NOW()) - 600 / (-653 - ROUND(584)) + (86 * -903 - -186 + -201)) MOD (2000000000000000 DIV TAN(-712) DIV SIGN(-1.e-30) DIV -299 MOD 646 + -609 DIV TRUNCATE(105,813)) % (LN(-252) - RAND(-183) % POW(970,-973) % FLOOR(-988) + -313) + (-477 / ACOS(277)); # NOERROR SHOW CREATE TRIGGER tr2; # ERROR: 1360 - Trigger does not exist INSERT INTO t3 VALUES ('2000-12-12 24:59:00',1,1.e+3); # ERROR: 1136 - Column count doesn't match value count at row 1 XA COMMIT 'xid2' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID ROLLBACK; # NOERROR SET AUTOCOMMIT=ON; # NOERROR SET @a='aa'; # NOERROR UPDATE performance_schema.setup_consumers SET ENABLED = 'YES'; # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state SELECT f3('ffFFff'); # ERROR: 1305 - FUNCTION test.f3 does not exist INSERT INTO t3 VALUES ((635 DIV 450 * -499 % 616) + (SQRT(808) MOD COS(-544)),(FLOOR(-312) - 291) * (320 DIV DEGREES(594) + FLOOR(-413) - 2),1.e+3); # ERROR: 1136 - Column count doesn't match value count at row 1 XA COMMIT 'xid2'; # ERROR: 1397 - XAER_NOTA: Unknown XID XA COMMIT 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID INSERT INTO t1 VALUES ((CEILING(182) MOD COT(863) % -869 - -32 / ROUND(-807)) DIV (ATAN(-465) * -723 DIV -681 DIV SIGN(660 * -339)),0.001,'10-10-2014'); # ERROR: 1146 - Table 'test.t1' doesn't exist XA COMMIT 'xid2' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID DROP PROCEDURE IF EXISTS p3; # NOERROR SET SQL_BIG_SELECTS=1; # NOERROR SET GLOBAL innodb_monitor_enable='buffer_LRU_batch_flush_avg_time_slot'; # NOERROR PURGE MASTER LOGS BEFORE CURRENT_TIMESTAMP(); # NOERROR TRUNCATE t3; # NOERROR ROLLBACK AND NO CHAIN NO RELEASE; # NOERROR XA COMMIT 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID SET GLOBAL TRANSACTION ISOLATION LEVEL READ COMMITTED; # NOERROR SET MAX_JOIN_SIZE=1000000; # NOERROR SET GLOBAL innodb_monitor_reset='innodb_dblwr_writes'; # NOERROR XA ROLLBACK 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID PURGE BINARY LOGS TO '3000000000000000'; # NOERROR SET SESSION TRANSACTION ISOLATION LEVEL REPEATABLE READ; # NOERROR RELEASE SAVEPOINT sp2; # ERROR: 1305 - SAVEPOINT sp2 does not exist #SET @@SESSION.collation_database=utf16_unicode_ci; # NOERROR BEGIN; # NOERROR INSERT INTO t2 SELECT * FROM t2; # ERROR: 1146 - Table 'test.t2' doesn't exist CREATE TABLE t2 (c1 CHAR(255) BINARY CHARACTER SET 'latin1' COLLATE 'latin1_bin',c2 CHAR(40) BINARY CHARACTER SET 'Binary' COLLATE 'Binary',c3 DECIMAL(1,1) UNSIGNED ZEROFILL) ENGINE=MEMORY; # NOERROR UPDATE performance_schema.setup_instruments SET ENABLED = 'YES', TIMED = 'YES' WHERE NAME LIKE '%galera%'; # NOERROR SELECT f3('a'); # ERROR: 1305 - FUNCTION test.f3 does not exist SELECT @a; # NOERROR UNLOCK TABLES; # NOERROR INSERT INTO t2 VALUES ((-412 MOD ROUND(-170)) / (SIGN(-349) % SIGN(-523) % RAND(-64)),1.e-30,0); # NOERROR INSERT INTO t3 VALUES ('cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc',x01,-3.0); # ERROR: 1136 - Column count doesn't match value count at row 1 INSERT INTO t2 VALUES (-1.e+10,NOW(),'#01'); # NOERROR DELETE a1,a3 FROM t3 AS a1 JOIN t3 AS a2 STRAIGHT_JOIN t2 AS a3 WHERE a2.c2>1.e+2; # ERROR: 1054 - Unknown column 'a2.c2' in 'where clause' XA COMMIT 'xid2'; # ERROR: 1397 - XAER_NOTA: Unknown XID ANALYZE NO_WRITE_TO_BINLOG TABLE t2; # NOERROR SAVEPOINT sp2; # NOERROR XA RECOVER; # NOERROR UNLOCK TABLES; # NOERROR COMMIT AND CHAIN; # NOERROR LOCK TABLES t2 AS a3 READ LOCAL, t2 AS a1 READ, t2 AS a3 READ LOCAL; # ERROR: 1066 - Not unique table/alias: 'a3' INSERT INTO t3 VALUES ('0000-12-12 23:59:00',-2,(473 - -594 / LOG('01-01-1430') / LOG2(-525) % -160) DIV (789 / 767 DIV TAN(-160) % TAN(94) - -1.e-30)); # ERROR: 1136 - Column count doesn't match value count at row 1 SELECT * FROM performance_schema.global_status; # NOERROR SHOW CREATE EVENT e1; # ERROR: 1539 - Unknown event 'e1' UPDATE t3 SET c1=12-23-2340; # NOERROR SET GLOBAL innodb_monitor_enable='buffer_page_written_undo_log'; # ERROR: 1231 - Variable 'innodb_monitor_enable' can't be set to the value of 'buffer_page_written_undo_log' SELECT c1 FROM t3 WHERE (c1) IN (SELECT c1 FROM t1 WHERE c1 >= (DEGREES(-34) % CEILING(-207)) % (SQRT(1) / LOG2(-834))); # ERROR: 1146 - Table 'test.t1' doesn't exist SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED; # NOERROR SELECT * FROM t3 INTO OUTFILE 'out7'; # ERROR: 1086 - File 'out7' already exists EXECUTE stmt; # ERROR: 1243 - Unknown prepared statement handler (stmt) given to EXECUTE SELECT c1 FROM t1 WHERE (c1) IN (SELECT c3 FROM t1 AS a1, t1 AS a2 INNER JOIN t3 AS a3 ); # ERROR: 1146 - Table 'test.t1' doesn't exist RENAME TABLE t2 TO t2,t1 TO t1,t1 TO t1; # ERROR: 1050 - Table 't2' already exists CALL p3(@c); # ERROR: 1305 - PROCEDURE test.p3 does not exist SET SQL_BIG_SELECTS=1; # NOERROR SELECT @a; # NOERROR XA RECOVER; # NOERROR INSERT INTO t3 VALUES ((-333 / CEILING(39)) / (350 / LOG(-840 DIV -40)),'23-12-2015',6934); # ERROR: 1136 - Column count doesn't match value count at row 1 SELECT @b; # NOERROR INSERT INTO t1 SELECT * FROM t2; # ERROR: 1146 - Table 'test.t1' doesn't exist XA COMMIT 'xid2' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID INSERT INTO t1 VALUES (1000000000000000,'cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc',1.e+20); # ERROR: 1146 - Table 'test.t1' doesn't exist SELECT c1 FROM t3 WHERE (c1) IN (SELECT c3,c2 FROM t3 AS a1 INNER JOIN t1 AS a2 WHERE a2.c2>=(POWER(SQRT(-1.e-20) * FLOOR(-593),-547) * -111 % ((816 * LOG(-369)) / ((-490 + RAND(1000) % -111) MOD (-564 % (471 MOD -231) - (-53 % 916)) / 191 DIV DEGREES(152) DIV LOG2(817 / 477)) + -611 + -560) + (517 % -645)) - (ATAN2(-871) - 1500) ); # ERROR: 1146 - Table 'test.t1' doesn't exist SET GLOBAL TRANSACTION ISOLATION LEVEL REPEATABLE READ; # NOERROR XA RECOVER; # NOERROR CREATE TABLE t1 (c1 INTEGER(1) UNSIGNED,c2 ENUM('a','b','c'),c3 INTEGER, PRIMARY KEY(c1)) ENGINE=InnoDB; # NOERROR SET @@SESSION.OPTIMIZER_SWITCH="condition_fanout_filter=ON"; # NOERROR DROP FUNCTION IF EXISTS f1; # NOERROR COMMIT AND CHAIN NO RELEASE; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID INSERT INTO t3 SELECT * FROM t1; # ERROR: 1136 - Column count doesn't match value count at row 1 INSERT INTO t3 VALUES (NULL,0,'2016-12-12 23:59:00'); # ERROR: 1136 - Column count doesn't match value count at row 1 XA ROLLBACK 'xid2'; # ERROR: 1397 - XAER_NOTA: Unknown XID TRUNCATE TABLE t3; # NOERROR UPDATE performance_schema.setup_instruments SET ENABLED = 'YES', TIMED = 'YES'; # NOERROR EXECUTE stmt; # ERROR: 1243 - Unknown prepared statement handler (stmt) given to EXECUTE COMMIT AND CHAIN; # NOERROR SET GLOBAL innodb_monitor_reset='buffer_LRU_batch_flush_total_pages'; # NOERROR LOAD DATA INFILE 'out9' INTO TABLE t1; # ERROR: 13 - Can't get stat of '/dev/shm/424299/3/data/test/out9' (Errcode: 2 - No such file or directory) FLUSH OPTIMIZER_COSTS; # NOERROR SET autocommit=1; # NOERROR SELECT f1('\0x'); # ERROR: 1305 - FUNCTION test.f1 does not exist XA BEGIN 'xid1'; # NOERROR UNLOCK TABLES; # NOERROR SELECT EVENT_ID, EVENT_NAME, TIMER_WAIT FROM performance_schema.events_waits_history WHERE EVENT_NAME LIKE '%galera%'; # NOERROR INSERT INTO t1 VALUES (-1.e+20,-1.e-3,(-505 % ASIN(579)) / (106 / FLOOR(-682))); # NOERROR SET @cmd:="INSERT INTO t2 VALUES (0.01,'\05','\0xe')"; # NOERROR SET GLOBAL innodb_monitor_enable='metadata_table_handles_opened'; # NOERROR SELECT * FROM t1 INTO OUTFILE 'out9'; # NOERROR LOCK TABLES t2 AS a3 WRITE, t3 AS a0 LOW_PRIORITY WRITE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state UNLOCK TABLES; # NOERROR SET SQL_BIG_SELECTS=1; # NOERROR CREATE TABLE IF NOT EXISTS t2 (c1 CHAR(254) PRIMARY KEY,c2 DECIMAL(1,0),c3 TIME(6)) ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state INSERT INTO t2 SELECT * FROM t2; # NOERROR INSERT INTO t3 VALUES ('2000-12-12 23:59:61',1000000000000000,CURRENT_TIMESTAMP()+100000); # ERROR: 1136 - Column count doesn't match value count at row 1 ALTER TABLE t1 ADD COLUMN c4 INT(10); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state XA END 'xid1'; # NOERROR DEALLOCATE PREPARE stmt; # ERROR: 1243 - Unknown prepared statement handler (stmt) given to DEALLOCATE PREPARE ROLLBACK; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state UNLOCK TABLES; # NOERROR CREATE TABLE t2 (c1 VARCHAR(120) PRIMARY KEY,c2 TINYBLOB,c3 GEOMETRYCOLLECTION) ENGINE=MEMORY; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state CREATE TABLE t2 (c1 DOUBLE(2,2),c2 BIT(2),c3 INT(10)) ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state CREATE TEMPORARY TABLE IF NOT EXISTS t3 (c1 FLOAT(1,1) UNSIGNED,c2 YEAR,c3 CHAR(10) BINARY) ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SELECT c3 FROM t2; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state ROLLBACK NO RELEASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SELECT c1 FROM t1 AS a1 INNER JOIN t3 AS a2 JOIN t2 AS a3 UNION SELECT c2 FROM t3; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state COMMIT; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state LOCK TABLES t2 AS a2 WRITE, t2 AS a6 WRITE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SAVEPOINT sp2; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state XA END 'xid2'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state XA COMMIT 'xid1' ONE PHASE; # NOERROR SET @@SESSION.optimizer_switch="loosescan=off"; # NOERROR DELETE LOW_PRIORITY FROM t1 ORDER BY c1 ASC LIMIT 2; # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state DELETE IGNORE FROM t2 LIMIT 4; # NOERROR DELETE a2,a2 FROM t3 AS a1 STRAIGHT_JOIN t1 AS a2 STRAIGHT_JOIN t3 AS a3 WHERE a3.c3=a2.c1 UNION SELECT c2 FROM t3; # ERROR: 1052 - Column 'c2' in field list is ambiguous PREPARE stmt FROM @cmd; # NOERROR CALL p2(@c); # NOERROR CREATE FUNCTION f2 (i1 DECIMAL UNSIGNED ZEROFILL) RETURNS BLOB NOT DETERMINISTIC RETURN CONCAT('function output:',i1); # ERROR: 1304 - FUNCTION f2 already exists SELECT (CONV(875,540,-245) - 939) MOD (RAND(CURRENT_TIMESTAMP()) - POWER('bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb',-811) * 935) / (-48 MOD -882) % (LOG2(-272) - MOD(-973,-1.e-1) * 'cc'); # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 2014 - Commands out of sync; you can't run this command now SET @b=-1; # NOERROR LOCK TABLES t3 AS a1 READ, t3 AS a7 READ LOCAL; # NOERROR SET @@SESSION.OPTIMIZER_SWITCH="loosescan=ON"; # NOERROR SET GLOBAL innodb_monitor_disable='innodb_ibuf_merge_usec'; # NOERROR INSERT INTO t3 VALUES ('ffFFff','#01',0.0001); # ERROR: 1100 - Table 't3' was not locked with LOCK TABLES RENAME TABLE t2 TO t2,t2 TO t1; # ERROR: 1192 - Can't execute the given command because you have active locked tables or an active transaction INSERT INTO t3 SELECT * FROM t3; # ERROR: 1100 - Table 't3' was not locked with LOCK TABLES INSERT INTO t2 VALUES ((-431 * CRC32(-193)) DIV (SIGN(475) MOD FLOOR(-933)),01-01-1430,CURRENT_TIMESTAMP()); # ERROR: 1690 - BIGINT UNSIGNED value is out of range in '(-(431) * crc32(-(193)))' SELECT (MOD(9,53) MOD LOG2(268)) / (762 / -848) % (-399 * 595 * SQRT(223) % -573 - CONV('BbBbBb',-508,-919)); # NOERROR SELECT f3(1.e-2); # ERROR: 1305 - FUNCTION test.f3 does not exist SELECT * FROM performance_schema.events_transactions_summary_by_host_by_event_name; # NOERROR SELECT (-743 - 445 % 793 * 204) % (81 / CEILING(-325)); # NOERROR TRUNCATE t3; # ERROR: 1099 - Table 't3' was locked with a READ lock and can't be updated SELECT c2 FROM t3; # ERROR: 1100 - Table 't3' was not locked with LOCK TABLES SELECT (POW(226,-775) / SIGN(-829) * 'ffFFff' MOD -122 MOD 257 + PI() + LN(-145) % CEIL(-422) + -96) DIV (ATAN2(-194) + CEILING(5000000000000000)); # NOERROR LOAD DATA INFILE 'out4' INTO TABLE t3; # ERROR: 1100 - Table 't3' was not locked with LOCK TABLES XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state XA ROLLBACK 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID SET GLOBAL innodb_monitor_enable='module_adaptive_hash'; # NOERROR SELECT (SIGN(382) * 881 MOD 571 MOD 398) - (-385 MOD PI()); # NOERROR SET SESSION TRANSACTION ISOLATION LEVEL SERIALIZABLE; # NOERROR INSERT INTO t1 VALUES ((-415 / -314) + (ATAN(893) - -788 / 680 MOD CONV(-839,-509,-870) MOD 44 MOD (-980 MOD '2000-12-40 00:00:00' * COT(-16) - POWER(-366,3.0) / 541) + (TAN(-312) MOD ATAN(778) + ASIN(910)) MOD -1 * COT(631)),'!@#$%^&*()_+{}[]:,./<>?:"',1.e+1); # ERROR: 1100 - Table 't1' was not locked with LOCK TABLES UPDATE t1 SET c1=1.e-1 WHERE c3<'0000-12-12 23:59:00' LIMIT 5; # ERROR: 1100 - Table 't1' was not locked with LOCK TABLES FLUSH USER_RESOURCES; # NOERROR INSERT INTO t2 SELECT * FROM t3; # ERROR: 1100 - Table 't3' was not locked with LOCK TABLES XA ROLLBACK 'xid2'; # ERROR: 1397 - XAER_NOTA: Unknown XID INSERT INTO t3 VALUES (1.e+10,1.0,-1.e-10); # ERROR: 1100 - Table 't3' was not locked with LOCK TABLES SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED; # NOERROR CALL p1(@a); # NOERROR CREATE FUNCTION f1 (i1 DATE) RETURNS DECIMAL(65) NO SQL RETURN CONCAT('function output:',i1); # ERROR: 1192 - Can't execute the given command because you have active locked tables or an active transaction SELECT (-524 DIV COT(-165) MOD 895) - (-574 + LOG(0.01) MOD 2000000000000000 - SIGN(360)) DIV (FLOOR(689 / -67) DIV COS(984) % -280); # NOERROR UNLOCK TABLES; # NOERROR CREATE DEFINER=user3 PROCEDURE p2 (OUT i1 TINYBLOB, INOUT i2 TINYINT(254) UNSIGNED) COMMENT 'comment' ROLLBACK AND CHAIN; # ERROR: 1304 - PROCEDURE p2 already exists SELECT EVENT_NAME, COUNT_STAR FROM performance_schema.events_waits_summary_global_by_event_name WHERE EVENT_NAME LIKE '%wsrep%'; # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state ROLLBACK AND CHAIN; # NOERROR TRUNCATE t3; # NOERROR PREPARE stmt FROM @cmd; # NOERROR PURGE MASTER LOGS BEFORE CURRENT_TIMESTAMP(); # NOERROR INSERT INTO t1 SELECT * FROM t3; # NOERROR CALL p1(@a); # ERROR: 1060 - Duplicate column name 'c4' SELECT (-137 DIV CEILING(444)) DIV (CEILING(710) % POW('01-01-1430',-34)) + ('DddddD' + -677 + 0.0) - (ACOS(1e2) * -392 + 242); # NOERROR RENAME TABLE t1 TO t2; # ERROR: 1050 - Table 't2' already exists INSERT INTO t3 VALUES ((96 + (253 % POWER(01-01-1430,758) DIV -530 + -125) * (FLOOR(822) + 1e2)) - (-949 - RAND()),1.e+20,(32 + -191) / (ASIN(316) % 73 * ROUND(575) % -924)); # ERROR: 1136 - Column count doesn't match value count at row 1 XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID INSERT INTO t3 VALUES (1.e+3,'23-12-2015',-1.e-2); # ERROR: 1136 - Column count doesn't match value count at row 1 SELECT f2(23-12-2015); # NOERROR SET @@GLOBAL.OPTIMIZER_SWITCH="duplicateweedout=ON"; # NOERROR CREATE DEFINER=user1 PROCEDURE p3 (OUT i1 CHAR(10) BINARY CHARACTER SET 'utf8' COLLATE 'utf8_bin') CONTAINS SQL NO SQL SQL SECURITY INVOKER DETERMINISTIC SQL SECURITY DEFINER SELECT @a; # NOERROR DELETE IGNORE FROM a3 USING t1 AS a1 JOIN t3 AS a2, t2 AS a3 WHERE a1.c2<=a3.c1; # NOERROR ROLLBACK AND NO CHAIN; # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state ALTER TABLE t3 DROP COLUMN c3; # NOERROR INSERT INTO t2 SELECT * FROM t1; # ERROR: 1136 - Column count doesn't match value count at row 1 SELECT * FROM performance_schema.events_waits_summary_by_account_by_event_name; # NOERROR INSERT INTO t1 VALUES (3.0,'23-12-2340','2000-40-12 00:00:00'); # ERROR: 1136 - Column count doesn't match value count at row 1 INSERT INTO t1 SELECT * FROM t2; # ERROR: 1136 - Column count doesn't match value count at row 1 SET @cmd:="SET GLOBAL innodb_monitor_enable='ddl_online_create_index'"; # NOERROR DELETE LOW_PRIORITY IGNORE FROM a2 USING t1 AS a1 INNER JOIN t1 AS a2 CROSS JOIN t1 AS a3; # NOERROR SET @a=2990; # NOERROR SELECT * FROM performance_schema.user_variables_by_thread; # NOERROR UPDATE t3 SET c1=1; # NOERROR XA START 'xid2'; # NOERROR CREATE TABLE IF NOT EXISTS t2 (c1 INT AUTO_INCREMENT PRIMARY KEY,c2 TIMESTAMP(0),c3 TINYINT UNSIGNED ZEROFILL) ENGINE=MyISAM; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state UNLOCK TABLES; # NOERROR SELECT * FROM performance_schema.metadata_locks; # NOERROR SET MAX_JOIN_SIZE=1000000; # NOERROR ALTER TABLE t1 MODIFY c1 DATETIME(4); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SELECT (EXP('DddddD') * 132) - (DEGREES(-858) MOD ROUND(-798) * PI() % -589) + (354 * DEGREES(-285) * 438 * ABS(-330) MOD CEIL(390)) % (ATAN(-456) MOD 303); # NOERROR CREATE TABLE IF NOT EXISTS t2 (c1 TIME(1),c2 DECIMAL(65,10) UNSIGNED,c3 DATE) ENGINE=MEMORY; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state INSERT INTO t3 VALUES (1.e+1,x01,'2000-12-12 23:59:00'); # ERROR: 1136 - Column count doesn't match value count at row 1 SELECT 861 + 596 * 1.e+1; # NOERROR START TRANSACTION READ ONLY; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state XA COMMIT 'xid2' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state ROLLBACK; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state UPDATE t3 SET c1=1.e-3; # NOERROR UPDATE t1 SET c1=2.0 ORDER BY c1 DESC LIMIT 7; # NOERROR XA END 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID SET GLOBAL innodb_monitor_enable='buffer_page_written_index_leaf'; # ERROR: 1231 - Variable 'innodb_monitor_enable' can't be set to the value of 'buffer_page_written_index_leaf' XA END 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID SET @c='EEeeEE'; # NOERROR INSERT INTO t1 VALUES ('12-23-2015',(RADIANS(406) % MOD(-146,-787) * ASIN(-532) MOD 945) * (207 * SQRT(826) / TRUNCATE(0.00001,818)),2); # ERROR: 1136 - Column count doesn't match value count at row 1 XA END 'xid2'; # NOERROR CALL p3(@a); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SELECT (LOG('10-10-2014') * ACOS('2000-12-12 23:61:00')) / (SIN(-362) + 863); # NOERROR INSERT INTO t2 SELECT * FROM t1; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state ALTER TABLE t2 ADD INDEX (c3), ADD UNIQUE (c3); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SET SQL_BIG_SELECTS=1; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SET MAX_JOIN_SIZE=1000000; # NOERROR INSERT INTO t1 VALUES ('ABCDEF',(COS(-692) MOD 726 + SQRT(-6)) % (551 % 22),(420 DIV 546 MOD 'cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc') % (255 * LOG('DddddD'))); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state DROP TABLE t2; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state LOCK TABLES t3 AS a2 READ LOCAL; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state BEGIN; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state XA RECOVER; # NOERROR INSERT INTO t1 SELECT * FROM t3; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state TRUNCATE t3; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state CREATE TABLE IF NOT EXISTS t3 (c1 YEAR PRIMARY KEY,c2 VARCHAR(40) CHARACTER SET 'utf8' COLLATE 'utf8_bin',c3 VARCHAR(2049) BINARY CHARACTER SET 'Binary' COLLATE 'Binary') ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SET SQL_BIG_SELECTS=1; # NOERROR SELECT * FROM performance_schema.events_statements_summary_by_program; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state XA COMMIT 'xid2' ONE PHASE; # NOERROR ALTER TABLE t1 DROP COLUMN c3; # ERROR: 1091 - Can't DROP 'c3'; check that column/key exists PURGE MASTER LOGS BEFORE CURRENT_TIMESTAMP(); # NOERROR CREATE TABLE IF NOT EXISTS t1 (c1 FLOAT(1,1),c2 INT(255),c3 FLOAT(1,0), PRIMARY KEY(c1)) ENGINE=InnoDB; # NOERROR TRUNCATE t2; # NOERROR UPDATE t2 SET c1=(RAND() DIV 189 % CEIL(887) / SIGN(446)) / (12-23-2015 MOD RADIANS(-1.e+10) / PI() % 697 - 360) WHERE c3>c1; # NOERROR SELECT (SELECT (SELECT c3,c2 FROM t1 AS a1, t2 AS a2 WHERE a1.c2>=a2.c1 ) OR (SELECT t2.c1 FROM t2 RIGHT JOIN t3 ON t2.c3)) AND (SELECT (SELECT (SELECT t3.c1 FROM t3 RIGHT OUTER JOIN t1 ON t3.c1='2000-12-12 23:61:00') AND (SELECT c1,c3 FROM t2))) OR ((SELECT c3 FROM t3 AS a1 INNER JOIN t3 AS a2 CROSS JOIN t2 AS a3 ) AND (SELECT c2,c3 FROM t2 AS a1 JOIN t2 AS a2 )) OR (SELECT c3 FROM t1); # ERROR: 1137 - Can't reopen table: 'a2' CREATE TABLE t1 (c1 DECIMAL ZEROFILL,c2 DOUBLE(255,10),c3 VARCHAR(1)) ENGINE=InnoDB; # ERROR: 1050 - Table 't1' already exists SET TRANSACTION ISOLATION LEVEL SERIALIZABLE; # NOERROR DROP PROCEDURE IF EXISTS p2; # NOERROR SET @b=-1.e+20; # NOERROR SELECT @b; # NOERROR CREATE TABLE IF NOT EXISTS t1 (c1 CHAR(254) PRIMARY KEY,c2 TINYTEXT BINARY CHARACTER SET 'Binary' COLLATE 'Binary',c3 TIME) ENGINE=InnoDB; # NOERROR INSERT INTO t3 VALUES ('\0xe',CURRENT_TIMESTAMP()+100000,-1.e+20); # ERROR: 1136 - Column count doesn't match value count at row 1 SET GLOBAL innodb_monitor_enable='innodb_log_flush_usec'; # NOERROR TRUNCATE t2; # NOERROR DROP FUNCTION IF EXISTS f2; # NOERROR REPAIR NO_WRITE_TO_BINLOG TABLE t2 USE_FRM; # NOERROR UPDATE t1 SET c1='\05' WHERE c1>c2 ORDER BY c3 LIMIT 2; # ERROR: 1054 - Unknown column 'c3' in 'order clause' XA ROLLBACK 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID COMMIT; # NOERROR SET @@SESSION.tx_isolation="READ-COMMITTED"; # NOERROR XA ROLLBACK 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID SELECT EVENT_NAME, COUNT_STAR FROM performance_schema.events_waits_summary_global_by_event_name WHERE EVENT_NAME LIKE '%wsrep%'; # NOERROR SHOW ENGINE InnoDB MUTEX; # NOERROR LOCK TABLES t2 AS a1 READ, t3 AS a7 WRITE, t2 AS a7 READ LOCAL; # ERROR: 1066 - Not unique table/alias: 'a7' COMMIT AND CHAIN NO RELEASE; # NOERROR SELECT * FROM performance_schema.file_instances WHERE FILE_NAME LIKE '%galera%'; # NOERROR INSERT INTO t2 VALUES ('CC',((226 * LOG10(-451)) % (CEIL(-263) + LOG2(1.e+3)) / -1.e+30 + CRC32(2014)) - (LOG10(920) * ABS(-478) * ASIN('ÃÃÃ')),-1.e+10); # ERROR: 1136 - Column count doesn't match value count at row 1 SHOW PROFILE PAGE FAULTS OFFSET 8 LIMIT 7; # ERROR: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OFFSET 8 LIMIT 7' at line 1 XA END 'xid2'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state SET @cmd:="UNLOCK TABLES"; # NOERROR INSERT INTO t2 VALUES (CURRENT_TIMESTAMP(),NULL,(ASIN(-434) % COT(112) DIV EXP('aa')) / (TAN(328) MOD RADIANS((-231 - 261) * (236 DIV -510 * RADIANS(40) * 3)))); # ERROR: 1136 - Column count doesn't match value count at row 1 DROP TABLE IF EXISTS t2; # NOERROR INSERT INTO t3 SELECT * FROM t2; # ERROR: 1136 - Column count doesn't match value count at row 1 DELETE FROM a2 USING t3 AS a1, t3 AS a2 STRAIGHT_JOIN t3 AS a3; # NOERROR XA ROLLBACK 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID XA END 'xid2'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID CREATE TABLE IF NOT EXISTS t1 (c1 FLOAT PRIMARY KEY,c2 TINYBLOB,c3 VARCHAR(10) CHARACTER SET 'Binary' COLLATE 'Binary') ENGINE=CSV; # ERROR: 1069 - Too many keys specified; max 0 keys allowed INSERT INTO t3 VALUES ((-510 DIV 138 + 238) - (FLOOR(428) + -471 - '2000-12-40 00:00:00'),CURRENT_TIMESTAMP,1.e-30); # ERROR: 1136 - Column count doesn't match value count at row 1 INSERT INTO t2 VALUES ('ÃÃÃ',2000000000000000,'2016-12-12 23:59:00'); # NOERROR INSERT INTO t2 VALUES (1.e-3,'2000-12-12 23:61:00',3000000000000000); # NOERROR SET MAX_JOIN_SIZE=1000000; # NOERROR SET GLOBAL TRANSACTION ISOLATION LEVEL READ UNCOMMITTED; # NOERROR SELECT ('aa' MOD -772 * 239) / (FLOOR(-285) - ATAN2(385) - -909 - COS(-692)) / (167 / 163 % PI()); # NOERROR CREATE PROCEDURE p2 (INOUT i1 MEDIUMINT(1) UNSIGNED ZEROFILL) NOT DETERMINISTIC SELECT t3.c3 FROM t3 NATURAL RIGHT JOIN t1 ON t3.c1 UNION SELECT t3.c3 FROM t3 RIGHT JOIN t3 ON t3.c1='b'; # ERROR: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ON t3.c1 UNION SELECT t3.c3 FROM t3 RIGHT JOIN t3 ON t3.c1='b'' at line 1 SELECT c1 FROM t2 WHERE (c1) IN (SELECT t1.c1 FROM t1 LEFT JOIN t3 ON t1.c3=(592 * POWER(-508,756)) + (SIGN(12-23-2015) DIV '23-12-2015' - 674)); # ERROR: 1054 - Unknown column 't1.c3' in 'on clause' SELECT (425 MOD ASIN(-650)) * (-695 % -401 / DEGREES(POW(-802,170) DIV -731) % 747 * -636) + (ATAN(587) - SIN('c') MOD -273); # NOERROR SELECT (201 MOD -93 MOD LOG10(-3 + PI() MOD 'aa' DIV SQRT(577) DIV -753)) MOD (-626 * 1e2 DIV NULL + COT('2016-12-12 23:59:00')); # NOERROR INSERT INTO t2 SELECT * FROM t3; # ERROR: 1136 - Column count doesn't match value count at row 1 SELECT * FROM t3 INTO OUTFILE 'out5'; # ERROR: 1086 - File 'out5' already exists COMMIT WORK AND NO CHAIN; # NOERROR CREATE FUNCTION f1 (i1 NUMERIC(1) UNSIGNED ZEROFILL,i2 BLOB) RETURNS BLOB READS SQL DATA SQL SECURITY DEFINER RETURN CONCAT('function output:',i1); # NOERROR ALTER TABLE t3 ADD INDEX (c2); # ERROR: 1072 - Key column 'c2' doesn't exist in table SHOW CREATE FUNCTION f1; # NOERROR SELECT ATAN2(-677) * -79; # NOERROR INSERT INTO t2 SELECT * FROM t2; # NOERROR CREATE TABLE t3 (c1 DATE PRIMARY KEY,c2 DECIMAL(10,10),c3 DOUBLE(1,1) UNSIGNED) ENGINE=InnoDB; # ERROR: 1050 - Table 't3' already exists INSERT INTO t1 SELECT * FROM t3; # ERROR: 1136 - Column count doesn't match value count at row 1 XA RECOVER; # NOERROR ALTER TABLE t2 ENGINE=InnoDB; # NOERROR SELECT (-1.0 % TRUNCATE(620,-997)) - (POWER(740,2013 * CRC32(-498)) / 487) DIV (870 - SIGN(726)) % (-784 * 92 - 339); # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state ALTER TABLE t1 DROP COLUMN c2; # NOERROR DELETE QUICK a2 FROM t3 AS a1 INNER JOIN t3 AS a2 CROSS JOIN t1 AS a3; # NOERROR PURGE MASTER LOGS BEFORE CURRENT_TIMESTAMP(); # NOERROR UNLOCK TABLES; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID INSERT INTO t2 SELECT * FROM t1; # ERROR: 1136 - Column count doesn't match value count at row 1 TRUNCATE TABLE performance_schema.events_stages_summary_by_thread_by_event_name; # NOERROR RELEASE SAVEPOINT sp1; # ERROR: 1305 - SAVEPOINT sp1 does not exist SELECT (CONV(1.e+1,-865,481) % -946) - (RADIANS(-833) * ABS(450)) % (LOG2(-271) + -697) / (PI() + 463 + -179 / CRC32(-874) * 144 - 333 + '10-10-2014' - -275); # NOERROR SET TRANSACTION ISOLATION LEVEL REPEATABLE READ; # NOERROR SELECT * FROM t3 INTO OUTFILE 'out6'; # ERROR: 1086 - File 'out6' already exists XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID CALL p2(@b); # ERROR: 1305 - PROCEDURE test.p2 does not exist SET TRANSACTION ISOLATION LEVEL READ COMMITTED; # NOERROR RESET SLAVE FOR CHANNEL 'group_replication_applier'; # ERROR: 1794 - Slave is not configured or failed to initialize properly. You must at least set --server-id to enable either a master or a slave. Additional error messages can be found in the MySQL error log. UPDATE t2 SET c1=1.e+20; # NOERROR LOCK TABLES t3 AS a3 READ, t3 AS a1 READ, t3 AS a8 WRITE; # NOERROR SET SQL_BIG_SELECTS=1; # NOERROR SELECT (ASIN(-115) - -990) + (157 DIV RAND(-662) - -166) % (LOG2(-922) * LOG(825)) * (109 DIV LOG2('DUMMY5') * DEGREES(-961)); # NOERROR DELETE a3,a3 FROM t1 AS a1 STRAIGHT_JOIN t1 AS a2 STRAIGHT_JOIN t3 AS a3; # ERROR: 1066 - Not unique table/alias: 'a3' INSERT INTO t3 SELECT * FROM t3; # ERROR: 1100 - Table 't3' was not locked with LOCK TABLES INSERT INTO t3 VALUES ('0000-12-12 23:59:00',1.e+20,12-23-2015); # ERROR: 1100 - Table 't3' was not locked with LOCK TABLES SELECT (SIGN(666) * 0.00001 MOD CRC32(159) DIV -894 % CEILING(-143) / -935 % SIGN(-307) / RAND(1.e-2) - -195) DIV (POW(-516,(-293 / 772) DIV (SIN(-186) DIV 762)) * CRC32(0.01)); # NOERROR SELECT c2 FROM t1; # ERROR: 1100 - Table 't1' was not locked with LOCK TABLES SET GLOBAL innodb_monitor_reset_all='os_log_pending_writes'; # NOERROR SELECT (896 MOD (COT(717) % 277) - (CEIL(1e3) % CEILING(-494))) / (ATAN(601) * POW(-240,COS(293) / CURRENT_TIMESTAMP()-100000 - SQRT('DUMMY5') % x01) DIV EXP(LN(559) - EXP(973) / LOG(-350)) DIV 200) - (ATAN2(-348) MOD -762 MOD -278); # ERROR: 1054 - Unknown column 'x01' in 'field list' SET @@SESSION.default_storage_engine=BLACKHOLE; # NOERROR OPTIMIZE NO_WRITE_TO_BINLOG TABLE t2; # NOERROR XA START 'xid1'; # ERROR: 1400 - XAER_OUTSIDE: Some work is done outside global transaction SELECT @b; # NOERROR SET @a='cc'; # NOERROR INSERT INTO t2 VALUES ('a','XYZ','DddddD'); # ERROR: 1100 - Table 't2' was not locked with LOCK TABLES SELECT (ATAN(-539) MOD LOG10(-338)) * (12-23-2340 MOD 254 % -154); # NOERROR CREATE TABLE t2 (c1 SMALLINT(1) UNSIGNED,c2 VARCHAR(2049) BINARY,c3 FLOAT(40,30) UNSIGNED ZEROFILL) ENGINE=InnoDB; # ERROR: 1100 - Table 't2' was not locked with LOCK TABLES SELECT (-2.0 + 703) DIV (-735 * ROUND(-491)) * (-864 MOD POWER(496,-210) / MOD('DddddD',642) + FLOOR(43)); # NOERROR CREATE TEMPORARY TABLE IF NOT EXISTS t2 (c1 VARCHAR(2037) CHARACTER SET 'Binary' COLLATE 'Binary',c2 DATETIME(3),c3 CHAR(40) BINARY CHARACTER SET 'Binary' COLLATE 'Binary', PRIMARY KEY(c1)) ENGINE=InnoDB; # NOERROR SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED; # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state COMMIT WORK NO RELEASE; # NOERROR UNLOCK TABLES; # NOERROR XA ROLLBACK 'xid2'; # ERROR: 1397 - XAER_NOTA: Unknown XID DELETE a3 FROM t1 AS a1 JOIN t1 AS a2 CROSS JOIN t2 AS a3; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state SELECT @a; # NOERROR UNLOCK TABLES; # NOERROR INSERT INTO t3 VALUES ('2000-40-12 00:00:00',-1.e-3,1.e+10); # ERROR: 1136 - Column count doesn't match value count at row 1 INSERT INTO t1 VALUES (1.0,1.e+10,'23-12-2015'); # ERROR: 1136 - Column count doesn't match value count at row 1 XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID INSERT INTO t2 SELECT * FROM t2; # ERROR: 1137 - Can't reopen table: 't2' SELECT f1('b'); # NOERROR TRUNCATE t2; # NOERROR INSERT INTO t1 SELECT * FROM t2; # ERROR: 1136 - Column count doesn't match value count at row 1 UPDATE t1 SET c1='\05'; # NOERROR INSERT INTO t2 SELECT * FROM t1; # ERROR: 1136 - Column count doesn't match value count at row 1 SET MAX_JOIN_SIZE=1000000; # NOERROR INSERT INTO t3 SELECT * FROM t3; # NOERROR CREATE TEMPORARY TABLE t2 (c1 DECIMAL(1,1) PRIMARY KEY,c2 REAL(2,2),c3 TIMESTAMP) ENGINE=CSV; # ERROR: 1069 - Too many keys specified; max 0 keys allowed SHOW CREATE TRIGGER tr3; # ERROR: 1360 - Trigger does not exist SET @@SESSION.SQL_MODE=(SELECT CONCAT(@@SQL_MODE,',NO_TABLE_OPTIONS')); # NOERROR LOAD DATA INFILE 'out7' INTO TABLE t3; # NOERROR UNLOCK TABLES; # NOERROR INSERT INTO t3 VALUES (1500,1.e-1,0.0001); # ERROR: 1136 - Column count doesn't match value count at row 1 PURGE MASTER LOGS BEFORE CURRENT_TIMESTAMP(); # NOERROR SET SQL_BIG_SELECTS=1; # NOERROR INSERT INTO t3 VALUES (2990,2014,CURRENT_TIMESTAMP); # ERROR: 1136 - Column count doesn't match value count at row 1 INSERT INTO t2 SELECT * FROM t3; # ERROR: 1136 - Column count doesn't match value count at row 1 DELETE FROM a2,a1 USING t3 AS a1 JOIN t1 AS a2 CROSS JOIN t1 AS a3; # NOERROR SET GLOBAL innodb_monitor_disable='dml_updates'; # NOERROR SELECT (SELECT c2,c2 FROM t3); # ERROR: 1054 - Unknown column 'c2' in 'field list' INSERT INTO t1 VALUES ('12-23-2340',10-10-2014,'aAaAaA'); # ERROR: 1136 - Column count doesn't match value count at row 1 COMMIT WORK AND CHAIN; # NOERROR SET GLOBAL innodb_monitor_disable='buffer_LRU_search_scanned'; # NOERROR SET SESSION TRANSACTION ISOLATION LEVEL REPEATABLE READ; # NOERROR RELEASE SAVEPOINT sp2; # ERROR: 1305 - SAVEPOINT sp2 does not exist INSERT INTO t2 VALUES ('2000-12-12 23:59:00','2000-40-12 00:00:00','ÃÃÃ'); # NOERROR CREATE PROCEDURE p1 (INOUT i1 FLOAT, IN i2 INTEGER) MODIFIES SQL DATA MODIFIES SQL DATA SQL SECURITY DEFINER ROLLBACK AND CHAIN; # ERROR: 1304 - PROCEDURE p1 already exists ROLLBACK TO sp1; # ERROR: 1305 - SAVEPOINT sp1 does not exist INSERT INTO t2 SELECT * FROM t3; # ERROR: 1136 - Column count doesn't match value count at row 1 INSERT INTO t2 SELECT * FROM t1; # ERROR: 1136 - Column count doesn't match value count at row 1 INSERT INTO t3 VALUES ('0000-12-12 23:59:00','ÃÃÃ',12-23-2015); # ERROR: 1136 - Column count doesn't match value count at row 1 SET GLOBAL innodb_monitor_disable='buffer_page_read_zblob2'; # ERROR: 1231 - Variable 'innodb_monitor_disable' can't be set to the value of 'buffer_page_read_zblob2' XA COMMIT 'xid2' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID XA START 'xid1'; # NOERROR CREATE PROCEDURE p2 (IN i1 MULTILINESTRING) NOT DETERMINISTIC CONTAINS SQL SQL SECURITY DEFINER XA START 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SELECT (286 % 231 + ABS(962)) % (SIGN(-672) DIV PI() DIV SQRT(420)) * (CEIL(-583) * CEILING(-831) + 23-12-2015 * ASIN(644)) - (EXP(-15) DIV LOG2(2013) / SIGN((20 % 306 DIV 685 / TRUNCATE(939,123)) DIV (-136 MOD 23-12-2340))); # NOERROR SET TRANSACTION ISOLATION LEVEL REPEATABLE READ; # ERROR: 1568 - Transaction characteristics can't be changed while a transaction is in progress INSERT INTO t2 VALUES (1.e+10,(127 MOD MOD('BB',24) / -979 DIV 141) * (COT('2000-12-12 23:59:00') MOD SIGN(-860)),1.e-3); # NOERROR INSERT INTO t2 SELECT * FROM t3; # ERROR: 1136 - Column count doesn't match value count at row 1 ALTER TABLE t3 ADD UNIQUE (c1); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state BEGIN; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state INSERT INTO t3 VALUES ('2000-40-12 00:00:00',-1.e+3,1.e-2); # ERROR: 1136 - Column count doesn't match value count at row 1 SELECT CONV(787,61,931) * CRC32(294); # NOERROR XA ROLLBACK 'xid2'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state UNLOCK TABLES; # NOERROR ROLLBACK WORK; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state SET @@SESSION.unique_checks=1; # NOERROR SET @@SESSION.SQL_MODE=(SELECT CONCAT(@@SQL_MODE,',NO_AUTO_CREATE_USER')); # NOERROR SET MAX_JOIN_SIZE=1000000; # NOERROR SELECT (SELECT (SELECT t2.c2 FROM t2 RIGHT OUTER JOIN t2 ON t2.c2=2.0) OR (SELECT c3 FROM t2)) AND (SELECT (SELECT (SELECT t3.c3 FROM t3 RIGHT OUTER JOIN t3 ON t3.c2='23-12-2015') AND (SELECT t2.c2 FROM t2 LEFT OUTER JOIN t1 ON t2.c2=-2.0))) OR ((SELECT c3,c1 FROM t1 AS a1 CROSS JOIN t2 AS a2 WHERE a3.c2>=23-12-2015 ) AND (SELECT c2 FROM t2)) OR (SELECT c2,c2 FROM t3); # ERROR: 1066 - Not unique table/alias: 't2' XA END 'xid1'; # NOERROR SET SQL_BIG_SELECTS=1; # NOERROR SELECT EVENT_NAME, COUNT_STAR FROM performance_schema.events_waits_summary_global_by_event_name WHERE EVENT_NAME LIKE '%wsrep%'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state BEGIN; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SET GLOBAL innodb_monitor_reset_all='buffer_page_read_zblob'; # ERROR: 1231 - Variable 'innodb_monitor_reset_all' can't be set to the value of 'buffer_page_read_zblob' TRUNCATE t1; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SET @@SESSION.innodb_table_locks=1; # NOERROR UNLOCK TABLES; # NOERROR COMMIT; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SET @@GLOBAL.SQL_MODE=(SELECT CONCAT(@@SQL_MODE,',NO_TABLE_OPTIONS')); # NOERROR SET @cmd:="SELECT (-726 * -714 MOD COT('CC')) * (-924 DIV PI()) * (LOG2((805 + -710) MOD (860 - 1.e-3)) + (ABS(878) + TRUNCATE(-147,199)) MOD (932 % 541 MOD CEIL(581)))"; # NOERROR INSERT INTO t3 SELECT * FROM t1; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SET autocommit=1; # NOERROR SHOW INDEX FROM t3; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state LOCK TABLES t3 AS a2 LOW_PRIORITY WRITE, t2 AS a5 READ; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SHOW PRIVILEGES; # NOERROR SET @@SESSION.sql_safe_updates=1; # NOERROR DELETE QUICK FROM a2,a1 USING t2 AS a1 CROSS JOIN t2 AS a2, t1 AS a3; # ERROR: 1137 - Can't reopen table: 'a1' LOAD DATA INFILE 'out8' INTO TABLE t3; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state XA COMMIT 'xid1' ONE PHASE; # NOERROR ROLLBACK TO sp1; # ERROR: 1305 - SAVEPOINT sp1 does not exist XA BEGIN 'xid1'; # NOERROR UNLOCK TABLES; # NOERROR SELECT (ATAN(-248) * POW(1.e-1,785) DIV CRC32(-656)) % (460 DIV -319 / 485); # NOERROR SET @@GLOBAL.SQL_MODE=(SELECT REPLACE(@@SQL_MODE,',NO_KEY_OPTIONS','')); # NOERROR SET GLOBAL innodb_monitor_reset='buffer_flush_sync'; # NOERROR XA END 'xid1'; # NOERROR DROP TABLE t3; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state CREATE TEMPORARY TABLE t1 (c1 DECIMAL PRIMARY KEY,c2 DOUBLE(10,10),c3 BLOB) ENGINE=MEMORY; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state INSERT INTO t2 VALUES ((866 - 630 MOD ROUND(POWER(1e3,-730) / '10-10-2014')) MOD (TAN(-314) - CRC32(-777)),6934,'c'); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state XA COMMIT 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SET @b=(COT(5000000000000000) % ROUND(464) + MOD(-776,860)) + (657 - -939); # NOERROR TRUNCATE t1; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SELECT RAND() / -874; # NOERROR START TRANSACTION WITH CONSISTENT SNAPSHOT, READ ONLY; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state INSERT INTO t1 SELECT * FROM t1; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state INSERT INTO t1 SELECT * FROM t2; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state XA COMMIT 'xid1' ONE PHASE; # NOERROR BEGIN; # NOERROR SELECT * FROM performance_schema.table_io_waits_summary_by_index_usage; # NOERROR PURGE MASTER LOGS BEFORE CURRENT_TIMESTAMP(); # NOERROR FLUSH LOCAL TABLES; # NOERROR ROLLBACK; # NOERROR CREATE FUNCTION f2 (i1 CHAR(2) BINARY CHARACTER SET 'latin1' COLLATE 'latin1_bin') RETURNS MULTILINESTRING NO SQL RETURN CONCAT('function output:',i1); # NOERROR XA ROLLBACK 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID INSERT INTO t3 VALUES (2,(-958 - LOG10(NULL) * 982) * (LOG2(962) / -875),10-10-2014); # ERROR: 1136 - Column count doesn't match value count at row 1 SET @@SESSION.OPTIMIZER_SWITCH="semijoin=OFF"; # NOERROR SELECT c2 FROM t2 AS a1 INNER JOIN t3 AS a2, t1 AS a3 WHERE a1.c3=a2.c2 UNION SELECT c1 FROM t1; # ERROR: 1054 - Unknown column 'a2.c2' in 'where clause' SET autocommit=1; # NOERROR SET @@GLOBAL.event_scheduler=OFF; # NOERROR SELECT (SIGN(382) * 881 MOD 571 MOD 398) - (-385 MOD PI()); # NOERROR SET @@SESSION.SQL_MODE=(SELECT REPLACE(@@SQL_MODE,',ANSI_QUOTES','')); # NOERROR XA END 'xid2'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state SELECT EVENT_NAME, COUNT_STAR FROM performance_schema.events_waits_summary_global_by_event_name WHERE EVENT_NAME LIKE '%wsrep%'; # NOERROR RELEASE SAVEPOINT sp2; # ERROR: 1305 - SAVEPOINT sp2 does not exist UPDATE t1 SET c1=10-10-2014; # ERROR: 1175 - You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column SET SQL_BIG_SELECTS=1; # NOERROR CREATE PROCEDURE p3 (OUT i1 VARCHAR(2037)) LANGUAGE SQL START TRANSACTION READ ONLY; # ERROR: 1304 - PROCEDURE p3 already exists SELECT * FROM performance_schema.events_transactions_summary_global_by_event_name; # NOERROR ROLLBACK; # NOERROR INSERT INTO t3 VALUES ('2000-12-12 23:59:00',10-10-2014,0.0); # ERROR: 1136 - Column count doesn't match value count at row 1 DELETE a3 FROM t3 AS a1, t1 AS a2 INNER JOIN t3 AS a3 WHERE a3.c2>a1.c2; # ERROR: 1054 - Unknown column 'a3.c2' in 'where clause' COMMIT AND NO CHAIN; # NOERROR INSERT INTO t2 VALUES (('2000-40-12 00:00:00' * 4000000000000000) % (FLOOR(-769) DIV SIGN(926) MOD SQRT(894) * -916),-1.e+10,1500); # NOERROR SELECT (605 / -432 * -791) / (LOG10(CRC32(-584) + 432) / -432 * 622) DIV (SQRT(-984) + PI()); # NOERROR SELECT (SELECT (SELECT c1 FROM t3 AS a1, t2 AS a2 STRAIGHT_JOIN t2 AS a3 WHERE a2.c1<-2 ) OR (SELECT c2 FROM t3 AS a1, t1 AS a2 CROSS JOIN t1 AS a3 )) AND (SELECT (SELECT (SELECT c2,c3 FROM t1) AND (SELECT c2 FROM t1))) OR ((SELECT t2.c3 FROM t3 LEFT JOIN t2 ON t2.c3=3.0) AND (SELECT c2 FROM t3 AS a1, t2 AS a2 JOIN t1 AS a3 WHERE a1.c2<0.001 OR a2.c3=(RAND(-437) % POW(-674,-45)) * (999 * COT(-201) * COS('aAaAaA') / -453) )) OR (SELECT c3 FROM t2 AS a1 CROSS JOIN t3 AS a2 CROSS JOIN t1 AS a3 WHERE a3.c2=a1.c3 ); # ERROR: 1137 - Can't reopen table: 'a2' XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID SET GLOBAL innodb_monitor_enable='compression_pad_increments'; # NOERROR SHOW SESSION VARIABLES LIKE '%n'; # NOERROR XA PREPARE 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state UPDATE t3 SET c1='BbBbBb'; # ERROR: 1175 - You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column LOCK TABLES t2 AS a1 READ LOCAL, t3 AS a1 WRITE; # ERROR: 1066 - Not unique table/alias: 'a1' UPDATE t2 SET c1=-1.e+3 ORDER BY c3 LIMIT 4; # ERROR: 1062 - Duplicate entry '-1000' for key 'PRIMARY' CREATE PROCEDURE p3 (IN i1 NUMERIC(40)) LANGUAGE SQL EXPLAIN EXECUTE stmt; # ERROR: 1304 - PROCEDURE p3 already exists PURGE MASTER LOGS BEFORE CURRENT_TIMESTAMP(); # NOERROR SELECT * FROM performance_schema.file_instances WHERE FILE_NAME LIKE '%galera%'; # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state START TRANSACTION READ WRITE; # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state SET @@GLOBAL.innodb_buffer_pool_load_now=-1024; # NOERROR START TRANSACTION WITH CONSISTENT SNAPSHOT; # NOERROR SET MAX_JOIN_SIZE=1000000; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID UPDATE performance_schema.setup_objects SET ENABLED = 'YES', TIMED = 'YES'; # ERROR: 1175 - You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column ROLLBACK; # NOERROR UNLOCK TABLES; # NOERROR XA COMMIT 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID XA ROLLBACK 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID XA COMMIT 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID UNLOCK TABLES; # NOERROR XA PREPARE 'xid2'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state SET @c='x05'; # NOERROR SET GLOBAL innodb_monitor_disable='buffer_flush_background_total_pages'; # NOERROR CREATE TABLE t3 (c1 YEAR,c2 BIT,c3 SMALLINT(40)) ENGINE=ARCHIVE; # ERROR: 1050 - Table 't3' already exists SHOW TABLE STATUS LIKE '%l'; # NOERROR SELECT (SELECT (SELECT c3,c3 FROM t2) OR (SELECT c1 FROM t2 AS a1 STRAIGHT_JOIN t3 AS a2 STRAIGHT_JOIN t3 AS a3 WHERE a1.c3>=-1.e-2 OR a3.c2=(FLOOR(666) * 6934) * (SQRT(0.01) DIV 450 / -1.e+30 MOD RADIANS(188) / TAN(655) DIV SQRT(700)) )) AND (SELECT (SELECT (SELECT c1,c2 FROM t2 AS a1 INNER JOIN t3 AS a2 ) AND (SELECT c2 FROM t3 AS a1 CROSS JOIN t2 AS a2 JOIN t1 AS a3 ))) OR ((SELECT t3.c3 FROM t3 LEFT JOIN t1 ON t3.c2) AND (SELECT c3 FROM t2 AS a1 JOIN t1 AS a2 STRAIGHT_JOIN t3 AS a3 )) OR (SELECT t1.c3 FROM t2 RIGHT JOIN t1 ON t1.c3=2000000000000000); # ERROR: 1137 - Can't reopen table: 't2' CREATE TABLE t1 (c1 ENUM('a','b','c') PRIMARY KEY,c2 ENUM('a','b','c') CHARACTER SET 'latin1' COLLATE 'latin1_bin',c3 LONGTEXT CHARACTER SET 'Binary' COLLATE 'Binary') ENGINE=InnoDB; # ERROR: 1050 - Table 't1' already exists XA COMMIT 'xid2'; # ERROR: 1397 - XAER_NOTA: Unknown XID UPDATE t3 SET c1=(-7 + LOG2(-334)) - (RADIANS('DUMMY5') MOD (596 MOD SIGN(414)) / (RADIANS(-356) - CONV(1.e+2,-190,793) DIV 490) MOD NULL); # ERROR: 1175 - You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column INSERT INTO t2 SELECT * FROM t2; # ERROR: 1137 - Can't reopen table: 't2' SELECT * FROM performance_schema.events_stages_summary_by_user_by_event_name; # NOERROR TRUNCATE TABLE t1; # NOERROR ANALYZE LOCAL TABLE t1; # NOERROR SELECT (-442 % PI() + SQRT(-186) + TAN('ÃÃÃ') * FLOOR(633) DIV SQRT(537)) / (DEGREES(1) DIV 802 + SIGN(-838)) * (COS(-519 DIV 713) / '9000-12-12 00:00:00') + (276 + CEIL(-91)); # NOERROR SELECT t2.c2 FROM t1 NATURAL RIGHT JOIN t2 ON t2.c3 UNION SELECT c1,c2 FROM t2 AS a1 INNER JOIN t1 AS a2; # ERROR: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ON t2.c3 UNION SELECT c1,c2 FROM t2 AS a1 INNER JOIN t1 AS a2' at line 1 INSERT INTO t1 SELECT * FROM t3; # NOERROR SELECT * FROM performance_schema.file_summary_by_instance; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID INSERT INTO t1 SELECT * FROM t2; # ERROR: 1136 - Column count doesn't match value count at row 1 SELECT (SELECT c3 FROM t1); # ERROR: 1054 - Unknown column 'c3' in 'field list' INSERT INTO t2 VALUES ((-301 + -443) * (LN(-223) - 414 - POW(-1.e-30,955) DIV CONV(-959,-7,-651)),1.e+20,1.e+2); # ERROR: 1048 - Column 'c1' cannot be null INSERT INTO t2 SELECT * FROM t1; # ERROR: 1136 - Column count doesn't match value count at row 1 SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED; # NOERROR COMMIT AND CHAIN; # NOERROR INSERT INTO t2 SELECT * FROM t2; # ERROR: 1137 - Can't reopen table: 't2' SELECT (864 * TAN(237)) DIV (-673 MOD 26 / ASIN(-144) - COS(1e3)) - (-574 % CONV(-932,896,-783) DIV 848 - SIN(60)) DIV (349 - RAND(-67) DIV SQRT(-271) DIV -963 / MOD(248,-399 / MOD(-165,310) * 393 - 87)); # NOERROR SELECT EVENT_ID, EVENT_NAME, TIMER_WAIT FROM performance_schema.events_waits_history WHERE EVENT_NAME LIKE '%wsrep%'; # NOERROR SET @@GLOBAL.default_storage_engine=CSV,FEDERATED; # ERROR: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state SELECT -410 - MOD(737,-316); # NOERROR SELECT @c; # NOERROR CREATE FUNCTION f3 (i1 VARCHAR(2) CHARACTER SET 'latin1' COLLATE 'latin1_bin') RETURNS INTEGER UNSIGNED READS SQL DATA LANGUAGE SQL RETURN CONCAT('function output:',i1); # NOERROR OPTIMIZE LOCAL TABLE t3; # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state SET @@SESSION.tx_read_only=0; # NOERROR ROLLBACK WORK AND CHAIN; # NOERROR XA COMMIT 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID SELECT * FROM t1 INTO OUTFILE 'out2'; # NOERROR ALTER TABLE t2 ADD COLUMN c4 DECIMAL(65); # NOERROR UNLOCK TABLES; # NOERROR LOCK TABLES t2 AS a2 WRITE; # NOERROR INSERT INTO t2 VALUES (0.00001,'12-23-2340',(346 * 920 / LOG(-890) / -762 / RAND(-438)) % (1e1 / '\0x')); # ERROR: 1136 - Column count doesn't match value count at row 1 DROP TABLE IF EXISTS t2; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID PREPARE stmt FROM @cmd; # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state SELECT * FROM performance_schema.events_statements_summary_global_by_event_name; # NOERROR SELECT c1 FROM t2 WHERE (c1) IN (SELECT c1 FROM t1 WHERE c1 = -1); # ERROR: 1100 - Table 't2' was not locked with LOCK TABLES SELECT @c; # NOERROR SHOW SLAVE HOSTS; # NOERROR XA END 'xid2'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state DELETE LOW_PRIORITY FROM a2,a3,a3 USING t2 AS a1 JOIN t1 AS a2 CROSS JOIN t1 AS a3; # ERROR: 1066 - Not unique table/alias: 'a3' SET GLOBAL TRANSACTION ISOLATION LEVEL REPEATABLE READ; # NOERROR SELECT (PI() % 'cCCCCc' - -352) MOD (ACOS(-7) MOD -922); # NOERROR CALL p3(@a); # ERROR: 1449 - The user specified as a definer ('user1'@'%') does not exist BEGIN; # NOERROR BEGIN; # NOERROR LOAD DATA INFILE 'out7' INTO TABLE t1; # NOERROR SHOW ENGINE InnoDB MUTEX; # NOERROR ALTER TABLE t3 ENGINE=InnoDB; # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state TRUNCATE t2; # NOERROR SELECT c1 FROM t1 WHERE (c1) IN (SELECT c2,c2 FROM t3); # ERROR: 1054 - Unknown column 'c2' in 'field list' SELECT (SELECT (SELECT c2,c1 FROM t2) OR (SELECT t2.c1 FROM t2 RIGHT JOIN t1 ON t2.c2=1.e-2)) AND (SELECT (SELECT (SELECT c2 FROM t1 AS a1 CROSS JOIN t1 AS a2, t1 AS a3 ) AND (SELECT t2.c1 FROM t1 LEFT JOIN t2 ON t2.c1=1.e-2))) OR ((SELECT c1,c2 FROM t1 AS a1, t3 AS a2 ) AND (SELECT c2,c1 FROM t3 AS a1 STRAIGHT_JOIN t2 AS a2 WHERE a1.c2='2000-12-40 00:00:00' AND a3.c1<='³³³' )) OR (SELECT c2 FROM t1 AS a1 CROSS JOIN t3 AS a2 STRAIGHT_JOIN t1 AS a3 WHERE a2.c3=a3.c1 ); # ERROR: 1241 - Operand should contain 1 column(s) UPDATE performance_schema.setup_instruments SET ENABLED = 'YES', TIMED = 'YES'; # ERROR: 1175 - You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column SELECT (POWER(-683,105) MOD 820 / -463) DIV (LOG(525) MOD COT(378) / LOG10(498) / -924 + -928); # NOERROR TRUNCATE TABLE t3; # NOERROR SET @cmd:="SET AUTOCOMMIT=ON"; # NOERROR SET MAX_JOIN_SIZE=1000000; # NOERROR SET @@SESSION.SQL_MODE=(SELECT CONCAT(@@SQL_MODE,',NO_UNSIGNED_SUBTRACTION')); # NOERROR CREATE TABLE t2 (c1 CHAR(40) BINARY CHARACTER SET 'utf8' COLLATE 'utf8_bin',c2 INTEGER,c3 NUMERIC(2)) ENGINE=InnoDB; # ERROR: 1050 - Table 't2' already exists SET GLOBAL innodb_monitor_reset='innodb_mem_validate_usec'; # NOERROR INSERT INTO t2 SELECT * FROM t2; # NOERROR LOCK TABLES t3 AS a2 READ; # NOERROR TRUNCATE t1; # ERROR: 1100 - Table 't1' was not locked with LOCK TABLES UPDATE t1 SET c1=1e1; # ERROR: 1100 - Table 't1' was not locked with LOCK TABLES SET @cmd:="INSERT INTO t2 VALUES (-1.e-20,0.1,1.e+2)"; # NOERROR SELECT * FROM performance_schema.events_stages_history WHERE EVENT_NAME LIKE '%wsrep%'; # NOERROR SAVEPOINT sp1; # NOERROR ROLLBACK TO sp1; # ERROR: 1305 - SAVEPOINT sp1 does not exist SET @b=12-23-2015; # NOERROR TRUNCATE t3; # ERROR: 1099 - Table 't3' was locked with a READ lock and can't be updated CREATE TABLE IF NOT EXISTS t2 (c1 INT(254) UNSIGNED,c2 NUMERIC(10),c3 BINARY) ENGINE=MEMORY; # ERROR: 1100 - Table 't2' was not locked with LOCK TABLES FLUSH RELAY LOGS FOR CHANNEL '1'; # ERROR: 3074 - Slave channel '1' does not exist. LOAD DATA INFILE 'out7' INTO TABLE t2; # ERROR: 1100 - Table 't2' was not locked with LOCK TABLES CREATE TABLE t3 (c1 TIME PRIMARY KEY,c2 JSON,c3 BIT(64)) ENGINE=InnoDB; # ERROR: 1100 - Table 't3' was not locked with LOCK TABLES SET @cmd:="CREATE FUNCTION f2 (i1 DECIMAL(65) UNSIGNED ZEROFILL,i2 DATE) RETURNS MEDIUMINT(254) UNSIGNED NO SQL RETURN CONCAT('function output:',i1)"; # NOERROR SELECT ROUND(-833) % 491; # NOERROR ROLLBACK WORK; # NOERROR UPDATE t3 SET c1=01-01-1430; # ERROR: 1100 - Table 't3' was not locked with LOCK TABLES SET GLOBAL innodb_monitor_enable='buffer_page_read_fsp_hdr'; # ERROR: 1231 - Variable 'innodb_monitor_enable' can't be set to the value of 'buffer_page_read_fsp_hdr' SELECT (671 - -582 MOD -859 % -993) - (ATAN2(691) MOD RAND(NULL MOD EXP(-611))) / (ACOS(-976) % -1.e-10 / LOG2(-443)) - (-622 - ATAN(975) DIV 92); # NOERROR DELETE IGNORE a3,a1 FROM t1 AS a1 CROSS JOIN t1 AS a2 INNER JOIN t1 AS a3; # ERROR: 1175 - You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column INSERT INTO t2 SELECT * FROM t1; # ERROR: 1100 - Table 't2' was not locked with LOCK TABLES SELECT @c; # NOERROR INSERT INTO t1 SELECT * FROM t1; # ERROR: 1100 - Table 't1' was not locked with LOCK TABLES XA COMMIT 'xid2' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID TRUNCATE t2; # ERROR: 1100 - Table 't2' was not locked with LOCK TABLES CREATE TABLE t2 (c1 FLOAT,c2 NUMERIC(65) ZEROFILL,c3 CHAR(40) BINARY CHARACTER SET 'latin1' COLLATE 'latin1_bin') ENGINE=InnoDB; # ERROR: 1100 - Table 't2' was not locked with LOCK TABLES DELETE FROM t1 ORDER BY c2,c1 DESC; # ERROR: 1100 - Table 't1' was not locked with LOCK TABLES SET MAX_JOIN_SIZE=1000000; # NOERROR TRUNCATE t1; # ERROR: 1100 - Table 't1' was not locked with LOCK TABLES SET GLOBAL innodb_monitor_reset_all='index_page_reorg_attempts'; # NOERROR SHOW PROCEDURE STATUS LIKE '5%'; # NOERROR CREATE TABLE t1 (c1 BLOB,c2 VARCHAR(10) BINARY CHARACTER SET 'utf8' COLLATE 'utf8_bin',c3 CHAR(255)) ENGINE=InnoDB; # ERROR: 1100 - Table 't1' was not locked with LOCK TABLES DROP TABLE IF EXISTS t3; # ERROR: 1099 - Table 't3' was locked with a READ lock and can't be updated SELECT (-125 / ROUND(-540)) * (RAND() MOD 343) MOD (ACOS(469) % POW((SQRT(PI() MOD LOG(136)) DIV LN(933)) + (779 / ROUND((977 / ATAN(-816) + 124 DIV ABS(-1000)) * (TRUNCATE(-223,444) + LOG2(-991) / POWER(LOG10(-269) / LOG(330) % 394 MOD 459 % 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',-463))) + LOG(-617)),-238)); # NOERROR SELECT c1 FROM t3 WHERE (c1) IN (SELECT c1 FROM t3 WHERE c1 > '2016-12-12 23:59:00'); # ERROR: 1100 - Table 't3' was not locked with LOCK TABLES PURGE BINARY LOGS BEFORE CURRENT_TIMESTAMP(); # NOERROR SELECT EVENT_ID, EVENT_NAME, TIMER_WAIT FROM performance_schema.events_waits_history WHERE EVENT_NAME LIKE '%galera%'; # NOERROR CREATE DEFINER=CURRENT_USER PROCEDURE p2 (OUT i1 VARCHAR(2049) CHARACTER SET 'latin1' COLLATE 'latin1_bin', INOUT i2 FLOAT) CONTAINS SQL XA COMMIT 'xid1' ONE PHASE; # ERROR: 1192 - Can't execute the given command because you have active locked tables or an active transaction SET GLOBAL innodb_monitor_reset='buffer_page_written_trx_system'; # ERROR: 1231 - Variable 'innodb_monitor_reset' can't be set to the value of 'buffer_page_written_trx_system' CREATE TABLE t2 (c1 CHAR(2) BINARY,c2 LONGTEXT CHARACTER SET 'utf8' COLLATE 'utf8_bin',c3 TINYINT(254) UNSIGNED, PRIMARY KEY(c1(3))) ENGINE=MRG_MyISAM; # ERROR: 1100 - Table 't2' was not locked with LOCK TABLES SELECT LOG(-755) * 593; # NOERROR SET GLOBAL TRANSACTION ISOLATION LEVEL READ COMMITTED; # NOERROR UPDATE t3 SET c1=1.e+2 ORDER BY c2 LIMIT 1; # ERROR: 1100 - Table 't3' was not locked with LOCK TABLES BEGIN; # NOERROR SHOW ENGINE MEMORY MUTEX; # NOERROR LOCK TABLES t3 AS a1 WRITE, t1 AS a1 READ; # ERROR: 1066 - Not unique table/alias: 'a1' CREATE TABLE IF NOT EXISTS t1 (c1 DATE,c2 MEDIUMINT(254) UNSIGNED,c3 LONGTEXT BINARY CHARACTER SET 'Binary' COLLATE 'Binary', PRIMARY KEY(c1)) ENGINE=InnoDB; # NOERROR INSERT INTO t1 SELECT * FROM t3; # NOERROR CREATE TEMPORARY TABLE IF NOT EXISTS t2 (c1 VARCHAR(40) CHARACTER SET 'Binary' COLLATE 'Binary',c2 BIGINT(254),c3 CHAR(40) BINARY CHARACTER SET 'Binary' COLLATE 'Binary') ENGINE=BLACKHOLE; # NOERROR DELETE a3,a1 FROM t3 AS a1 CROSS JOIN t1 AS a2 JOIN t2 AS a3 WHERE a1.c2=a1.c3; # ERROR: 1054 - Unknown column 'a1.c2' in 'where clause' PURGE MASTER LOGS BEFORE CURRENT_TIMESTAMP(); # NOERROR SET @@SESSION.default_storage_engine=BLACKHOLE; # NOERROR CREATE TABLE IF NOT EXISTS t2 (c1 VARCHAR(2) BINARY CHARACTER SET 'Binary' COLLATE 'Binary',c2 SET('a','b','c'),c3 MEDIUMBLOB, PRIMARY KEY(c1)) ENGINE=InnoDB; # NOERROR LOCK TABLES t3 AS a1 WRITE, t1 AS a0 WRITE; # NOERROR LOCK TABLES t3 AS a2 READ LOCAL, t2 AS a1 WRITE; # NOERROR CREATE TABLE IF NOT EXISTS t1 (c1 DATETIME(1),c2 ENUM('aaaaaaaaaaaaaaaaaaaaaaaaaaaa','bbbbbbbbbbbbbbbbbbbbbbbbbbbbb','cccccccccccccccccccccccccccc') CHARACTER SET 'utf8' COLLATE 'utf8_bin',c3 TIME(4)) ENGINE=PERFORMANCE_SCHEMA; # ERROR: 1100 - Table 't1' was not locked with LOCK TABLES TRUNCATE t2; # NOERROR SET @cmd:="INSERT INTO t1 SELECT * FROM t2"; # NOERROR SET @@GLOBAL.innodb_monitor_enable=all; # NOERROR XA END 'xid2'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state UNLOCK TABLES; # NOERROR XA RECOVER; # NOERROR SET SQL_BIG_SELECTS=1; # NOERROR UNLOCK TABLES; # NOERROR INSERT INTO t3 VALUES ('cCCCCc','12-23-2015','a'); # ERROR: 1136 - Column count doesn't match value count at row 1 COMMIT; # NOERROR SET AUTOCOMMIT=ON; # NOERROR ALTER TABLE t1 MODIFY c1 MEDIUMINT(1) ZEROFILL; # NOERROR XA ROLLBACK 'xid2'; # ERROR: 1397 - XAER_NOTA: Unknown XID CALL p3(@c); # ERROR: 1449 - The user specified as a definer ('user1'@'%') does not exist SELECT * FROM performance_schema.file_summary_by_instance; # NOERROR XA ROLLBACK 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID SET @@SESSION.OPTIMIZER_SWITCH="mrr_cost_based=ON"; # NOERROR INSERT INTO t3 SELECT * FROM t1; # NOERROR PURGE BINARY LOGS BEFORE CURRENT_TIMESTAMP(); # NOERROR ANALYZE NO_WRITE_TO_BINLOG TABLE t1; # NOERROR TRUNCATE t3; # NOERROR TRUNCATE TABLE t1; # NOERROR SELECT (302 - -40 DIV ATAN2(-554)) MOD (MOD(35,760) / 0.0 MOD -8 - ATAN(783)) % (LN(906) / 'óóó' * MOD(551,225)); # NOERROR ROLLBACK WORK TO sp2; # ERROR: 1305 - SAVEPOINT sp2 does not exist INSERT INTO t1 VALUES (1000000000000000,'cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc',1.e+20); # ERROR: 1136 - Column count doesn't match value count at row 1 BEGIN; # NOERROR CREATE PROCEDURE p1 (INOUT i1 LONGTEXT CHARACTER SET 'latin1' COLLATE 'latin1_bin', INOUT i2 CHAR(2) CHARACTER SET 'utf8' COLLATE 'utf8_bin') NO SQL COMMENT 'comment' LANGUAGE SQL SET @a=(45 - RAND()) DIV (LOG10(375) + TAN(-367)); # ERROR: 1304 - PROCEDURE p1 already exists SET GLOBAL TRANSACTION ISOLATION LEVEL SERIALIZABLE; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID OPTIMIZE LOCAL TABLE t3; # NOERROR SET @@GLOBAL.log_slow_slave_statements=1; # NOERROR CALL p2(@b); # ERROR: 1305 - PROCEDURE test.p2 does not exist SELECT (RAND() MOD LOG2(191)) + (FLOOR(-74) DIV LOG2((3.0 DIV ABS(139)) / (134 DIV -958)) * 811 DIV -19) + (ABS(441) * -273 MOD SIGN(-293)) % (SIGN(-142) + LN(692) / SQRT(320)); # NOERROR COMMIT; # NOERROR SELECT * FROM performance_schema.setup_actors; # NOERROR UPDATE t3 SET c1=1.e-30 WHERE c3<=c2 LIMIT 5; # ERROR: 1054 - Unknown column 'c3' in 'where clause' UPDATE t3 SET c1=1; # ERROR: 1175 - You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column SET @@GLOBAL.binlog_max_flush_queue_time=86; # NOERROR START TRANSACTION WITH CONSISTENT SNAPSHOT, READ WRITE; # NOERROR CREATE PROCEDURE p2 (IN i1 VARBINARY(128), IN i2 VARBINARY(128)) MODIFIES SQL DATA SQL SECURITY DEFINER CONTAINS SQL SQL SECURITY INVOKER TRUNCATE t3; # NOERROR SELECT (ASIN(95) / 721) % (-407 / -948 + 857 DIV MOD(594,289)) MOD (-965 % ACOS(-50)) MOD (-768 MOD MOD(-935,340)); # NOERROR CREATE FUNCTION f3 (i1 BLOB,i2 CHAR(254) CHARACTER SET 'latin1' COLLATE 'latin1_bin') RETURNS NUMERIC(65,10) LANGUAGE SQL RETURN CONCAT('function output:',i1); # ERROR: 1304 - FUNCTION f3 already exists ROLLBACK WORK NO RELEASE; # NOERROR SELECT * FROM performance_schema.setup_objects; # NOERROR ALTER TABLE t3 DROP COLUMN c2; # ERROR: 1091 - Can't DROP 'c2'; check that column/key exists RENAME TABLE t2 TO t1; # ERROR: 1050 - Table 't1' already exists SHOW PROCEDURE STATUS LIKE '%7'; # NOERROR SELECT (SELECT (SELECT c3,c3 FROM t3) OR (SELECT c2,c3 FROM t3 AS a1 JOIN t3 AS a2 )) AND (SELECT (SELECT (SELECT c1,c1 FROM t3 AS a1, t3 AS a2 ) AND (SELECT c1,c3 FROM t3 AS a1, t1 AS a2 ))) OR ((SELECT c1,c3 FROM t3) AND (SELECT t3.c2 FROM t3 LEFT JOIN t2 ON t3.c1)) OR (SELECT t3.c2 FROM t3 NATURAL LEFT JOIN t3 ON t3.c2='cc'); # ERROR: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ON t3.c2='cc')' at line 1 INSERT INTO t3 VALUES (0.01,NULL,-1.e+2); # ERROR: 1136 - Column count doesn't match value count at row 1 INSERT INTO t2 SELECT * FROM t3; # ERROR: 1136 - Column count doesn't match value count at row 1 UPDATE t2 SET c1='10-10-2014'; # ERROR: 1175 - You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column INSERT INTO t3 SELECT * FROM t2; # ERROR: 1136 - Column count doesn't match value count at row 1 FLUSH NO_WRITE_TO_BINLOG LOGS; # NOERROR CALL p2(@a); # ERROR: 1318 - Incorrect number of arguments for PROCEDURE test.p2; expected 2, got 1 SHOW PROCEDURE CODE p1; # NOERROR CREATE FUNCTION f2 (i1 MEDIUMINT(255)) RETURNS MEDIUMINT(1) UNSIGNED NO SQL RETURN CONCAT('function output:',i1); # ERROR: 1304 - FUNCTION f2 already exists SET GLOBAL TRANSACTION ISOLATION LEVEL READ UNCOMMITTED; # NOERROR SET SESSION TRANSACTION ISOLATION LEVEL REPEATABLE READ; # NOERROR REPAIR LOCAL TABLE t1; # NOERROR SELECT (SIGN(382) * 881 MOD 571 MOD 398) - (-385 MOD PI()); # NOERROR XA COMMIT 'xid2' ONE PHASE; # ERROR: 1397 - XAER_NOTA: Unknown XID TRUNCATE t3; # NOERROR SET @@SESSION.SQL_MODE=(SELECT CONCAT(@@SQL_MODE,',PIPES_AS_CONCAT')); # NOERROR XA PREPARE 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the NON-EXISTING state XA ROLLBACK 'xid1'; # ERROR: 1397 - XAER_NOTA: Unknown XID SHOW PLUGINS; # NOERROR SET MAX_JOIN_SIZE=1000000; # NOERROR CREATE TABLE IF NOT EXISTS t1 (c1 DATE,c2 FLOAT(255,10) UNSIGNED,c3 REAL(10,10) ZEROFILL, PRIMARY KEY(c1)) ENGINE=InnoDB; # NOERROR UPDATE t2 SET c1='cCCCCc'; # ERROR: 1175 - You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column DROP FUNCTION f2; # NOERROR SAVEPOINT sp2; # NOERROR SET AUTOCOMMIT=ON; # NOERROR DELETE FROM a2,a2 USING t2 AS a1, t1 AS a2 STRAIGHT_JOIN t1 AS a3 WHERE a1.c2 'BbBbBb'); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state DELETE LOW_PRIORITY IGNORE FROM a3,a1,a3 USING t2 AS a1 CROSS JOIN t2 AS a2 JOIN t2 AS a3 WHERE a3.c1<=a2.c2; # ERROR: 1066 - Not unique table/alias: 'a3' XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state TRUNCATE t3; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SELECT (ABS(482) / 704) - (RAND(-104) % POW(-276,938) % -958 + SIGN(-240)); # NOERROR SET @@SESSION.profiling_history_size=50; # NOERROR TRUNCATE t1; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state DELETE IGNORE FROM a1 USING t3 AS a1, t1 AS a2 INNER JOIN t1 AS a3; # ERROR: 1175 - You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column UNLOCK TABLES; # NOERROR CREATE TABLE t1 (c1 FLOAT(10,10) UNSIGNED,c2 REAL(40,30) UNSIGNED ZEROFILL,c3 INT(2), PRIMARY KEY(c1)) ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SAVEPOINT sp1; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state ALTER TABLE t3 MODIFY c3 DECIMAL(1,0); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state TRUNCATE TABLE t1; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state DELETE a3,a1,a1 FROM t2 AS a1 STRAIGHT_JOIN t3 AS a2 INNER JOIN t1 AS a3; # ERROR: 1066 - Not unique table/alias: 'a1' UNLOCK TABLES; # NOERROR ALTER TABLE t2 ADD INDEX (c3); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SELECT * FROM (SET @c=1500) AS a1; # ERROR: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SET @c=1500) AS a1' at line 1 CREATE TABLE t2 (c1 DECIMAL PRIMARY KEY,c2 BLOB,c3 CHAR(255) CHARACTER SET 'Binary' COLLATE 'Binary') ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SET SESSION TRANSACTION ISOLATION LEVEL SERIALIZABLE; # NOERROR SET GLOBAL innodb_monitor_reset='innodb_activity_count'; # NOERROR CREATE DEFINER=user1 PROCEDURE p3 (OUT i1 CHAR(10) BINARY CHARACTER SET 'utf8' COLLATE 'utf8_bin') CONTAINS SQL NO SQL SQL SECURITY INVOKER DETERMINISTIC SQL SECURITY DEFINER SELECT @a; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state CALL p1(@a); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SELECT * FROM t3 INTO OUTFILE 'out1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SELECT c2 FROM t2 AS a1 CROSS JOIN t2 AS a2, t2 AS a3 WHERE a2.c2>=01-01-1430 UNION SELECT c3,c1 FROM t1 UNION SELECT c3 FROM t1; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state DROP FUNCTION f2; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SET @@SESSION.SQL_MODE=(SELECT CONCAT(@@SQL_MODE,',ANSI_QUOTES')); # NOERROR RELEASE SAVEPOINT sp1; # ERROR: 1305 - SAVEPOINT sp1 does not exist INSERT INTO t1 SELECT * FROM t3; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SELECT * FROM t2 INTO OUTFILE 'out7'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SET @@GLOBAL.SQL_MODE=(SELECT CONCAT(@@SQL_MODE,',IGNORE_SPACE')); # NOERROR XA RECOVER; # NOERROR UPDATE t3 SET c1=12-23-2340; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SELECT (-171 * SIN(-345)) DIV (LN(576) - LOG2(-819)); # NOERROR SELECT f1(NULL); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SET @c=(PI() / 41) / (-680 / 804); # NOERROR SET GLOBAL innodb_monitor_enable='buffer_LRU_search_scanned'; # NOERROR SET AUTOCOMMIT=ON; # NOERROR SHOW CREATE PROCEDURE p3; # NOERROR UNLOCK TABLES; # NOERROR PURGE MASTER LOGS TO 'x01'; # NOERROR DROP TABLE t2; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SELECT f2(('23-12-2015' DIV 916 DIV ATAN(683)) / (112 DIV -1)); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SET AUTOCOMMIT=ON; # NOERROR SET GLOBAL innodb_monitor_disable='innodb_rwlock_sx_os_waits'; # NOERROR SET GLOBAL innodb_monitor_reset_all='buffer_LRU_unzip_search_scanned'; # NOERROR PURGE MASTER LOGS BEFORE CURRENT_TIMESTAMP(); # NOERROR SET AUTOCOMMIT=ON; # NOERROR XA COMMIT 'xid1' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state CREATE TABLE IF NOT EXISTS t3 (c1 VARCHAR(1) PRIMARY KEY,c2 INTEGER(254) UNSIGNED ZEROFILL,c3 VARCHAR(10) BINARY CHARACTER SET 'Binary' COLLATE 'Binary') ENGINE=ARCHIVE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state DROP TABLE t1; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SELECT @c; # NOERROR CREATE TABLE t1 (c1 INT(255),c2 VARCHAR(40),c3 MULTILINESTRING, PRIMARY KEY(c1)) ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SET @c='ffFFff'; # NOERROR XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state XA COMMIT 'xid1' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SELECT (881 DIV DEGREES(-225)) MOD (-753 DIV 913 + DEGREES(-2.0)); # NOERROR SHOW EVENTS; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SET @cmd:="TRUNCATE TABLE performance_schema.events_statements_summary_global_by_event_name"; # ERROR: 1054 - Unknown column 'TRUNCATE TABLE performance_schema.events_statements_summary_global_by_event_name' in 'field list' INSERT INTO t1 SELECT * FROM t3; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state SELECT * FROM performance_schema.mutex_instances; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state XA PREPARE 'xid2'; # NOERROR LOAD DATA INFILE 'out6' INTO TABLE t1; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state RELEASE SAVEPOINT sp1; # ERROR: 1305 - SAVEPOINT sp1 does not exist CREATE TABLE IF NOT EXISTS t1 (c1 CHAR(2),c2 DECIMAL(40) ZEROFILL,c3 CHAR(40) CHARACTER SET 'utf8' COLLATE 'utf8_bin', PRIMARY KEY(c1(3))) ENGINE=InnoDB; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state INSERT INTO t3 VALUES ('DddddD',23-12-2340,3000000000000000); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state INSERT INTO t1 VALUES ('0000-12-12 23:59:00',-3.0,'ffFFff'); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state INSERT INTO t2 SELECT * FROM t2; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state SET AUTOCOMMIT=ON; # NOERROR TRUNCATE TABLE t3; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state SET @b=NULL; # NOERROR UPDATE t1 SET c1=0.00001; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state ALTER TABLE t1 ENGINE=CSV; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state SET @@GLOBAL.super_read_only=0; # NOERROR CALL p3(@b); # ERROR: 1449 - The user specified as a definer ('user1'@'%') does not exist XA ROLLBACK 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state DELETE LOW_PRIORITY FROM a1 USING t1 AS a1 JOIN t3 AS a2 STRAIGHT_JOIN t3 AS a3; # ERROR: 1137 - Can't reopen table: 'a2' ALTER TABLE t3 ADD INDEX (c2); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state CREATE PROCEDURE p2 (INOUT i1 CHAR(10)) SQL SECURITY DEFINER CONTAINS SQL NOT DETERMINISTIC COMMIT AND NO CHAIN NO RELEASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state UNLOCK TABLES; # NOERROR XA COMMIT 'xid2' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state LOCK TABLES t1 AS a2 WRITE, t3 AS a9 WRITE, t2 AS a5 READ LOCAL; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state BEGIN; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state CALL p1(@b); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state XA RECOVER; # NOERROR SELECT c3,c2 FROM t1 AS a1 INNER JOIN t3 AS a2 UNION SELECT c2 FROM t1 AS a1 JOIN t3 AS a2 INNER JOIN t2 AS a3 WHERE a3.c3'aAaAaA' UNION SELECT c2 FROM t2; # ERROR: 1137 - Can't reopen table: 'a1' DELETE IGNORE FROM a2,a2 USING t3 AS a1, t2 AS a2 CROSS JOIN t1 AS a3; # ERROR: 1066 - Not unique table/alias: 'a2' COMMIT AND CHAIN NO RELEASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state UPDATE t1 SET c1=1.0 WHERE c1'CC'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state EXECUTE stmt; # ERROR: 1243 - Unknown prepared statement handler (stmt) given to EXECUTE XA COMMIT 'xid1' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state SELECT * FROM performance_schema.memory_summary_by_thread_by_event_name; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state SELECT f2(-1.e-20); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state PREPARE stmt FROM @cmd; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state RELEASE SAVEPOINT sp1; # ERROR: 1305 - SAVEPOINT sp1 does not exist XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state INSERT INTO t1 VALUES ((-764 DIV SQRT(-192) * NULL) + (245 + 210 + LOG2(943)),(SQRT(-396) / TAN(857) + COS(-407) MOD PI() * -844) DIV (CEILING(73) - COT(195) - -571),(CRC32(130) - 10-10-2014 * LOG10(LOG10(19) - 741)) * (ASIN(-612) / COT(12-23-2340))); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state XA END 'xid1'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state ALTER TABLE t2 DROP PRIMARY KEY; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state RELEASE SAVEPOINT sp1; # ERROR: 1305 - SAVEPOINT sp1 does not exist XA PREPARE 'xid2'; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state XA COMMIT 'xid1' ONE PHASE; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state UPDATE t2 SET c1='x05' ORDER BY c2 DESC LIMIT 7; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state CREATE DEFINER=user1 PROCEDURE p1 (IN i1 BIGINT(254) UNSIGNED ZEROFILL, OUT i2 SMALLINT(254) UNSIGNED ZEROFILL) NO SQL SELECT (CONV(826,-481,-152) DIV EXP(705)) - (RAND() MOD TAN(-848) - ROUND(150)) + (-605 MOD COT(NULL) - -1.e+20) MOD (1.e-3 DIV FLOOR(878) * -245); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state SELECT (1.e+20 + ABS(602)) * (ABS(-784) - -765 - -558 + CEIL(-953) + -592 * DEGREES(728)) / (-734 - 547) / (-145 / (-359 * ACOS(845) + ASIN(-83) % LOG2(-917)) / (COT(-1.e-1) / -678) % 66 MOD RAND(-374)); # NOERROR SET @@GLOBAL.OPTIMIZER_SWITCH="mrr_cost_based=ON"; # NOERROR ALTER TABLE t3 MODIFY c3 DATETIME(0); # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state UNLOCK TABLES; # NOERROR SET MAX_JOIN_SIZE=1000000; # NOERROR INSERT INTO t2 SELECT * FROM t3; # ERROR: 1399 - XAER_RMFAIL: The command cannot be executed when global transaction is in the PREPARED state SET @@SESSION.innodb_create_intrinsic=0; # ERROR: 1193 - Unknown system variable 'innodb_create_intrinsic' XA ROLLBACK 'xid2'; # NOERROR XA RECOVER; # NOERROR LOCK TABLES t2 AS a2 WRITE, t2 AS a0 READ, t3 AS a0 READ; # ERROR: 1066 - Not unique table/alias: 'a0' SET @@SESSION.optimizer_trace='enabled=on'; # NOERROR XA RECOVER; # NOERROR SELECT c2,c3 FROM t1 AS a1 INNER JOIN t1 AS a2; # ERROR: 1054 - Unknown column 'c2' in 'field list' UNLOCK TABLES; # NOERROR SELECT * FROM performance_schema.file_summary_by_instance; # NOERROR TRUNCATE t3; # NOERROR SET @b='EEeeEE'; # NOERROR LOAD DATA INFILE 'out0' INTO TABLE t1; # ERROR: 2013 - Lost connection to MySQL server during query SET AUTOCOMMIT=ON; # ERROR: 2006 - MySQL server has gone away INSERT INTO t2 VALUES ('\x05',-3.0,'\05'); # ERROR: 2006 - MySQL server has gone away START TRANSACTION WITH CONSISTENT SNAPSHOT; # ERROR: 2006 - MySQL server has gone away SET GLOBAL innodb_monitor_reset='buffer_flush_adaptive_avg_time_thread'; # ERROR: 2006 - MySQL server has gone away DROP TABLE IF EXISTS t2; # ERROR: 2006 - MySQL server has gone away SELECT * FROM (SET GLOBAL innodb_monitor_reset_all='trx_rseg_history_len') AS a1; # ERROR: 2006 - MySQL server has gone away UNLOCK TABLES; # ERROR: 2006 - MySQL server has gone away UNLOCK TABLES; # ERROR: 2006 - MySQL server has gone away BEGIN WORK; # ERROR: 2006 - MySQL server has gone away SET @@SESSION.default_tmp_storage_engine=MEMORY; # ERROR: 2006 - MySQL server has gone away INSERT INTO t2 VALUES (0,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',1.e+10); # ERROR: 2006 - MySQL server has gone away ALTER TABLE t1 DROP COLUMN c1; # ERROR: 2006 - MySQL server has gone away XA END 'xid1'; # ERROR: 2006 - MySQL server has gone away SELECT EVENT_ID, EVENT_NAME, TIMER_WAIT FROM performance_schema.events_waits_history WHERE EVENT_NAME LIKE '%wsrep%'; # ERROR: 2006 - MySQL server has gone away INSERT INTO t1 VALUES (-1.e-30,'aAaAaA',-1.e-1); # ERROR: 2006 - MySQL server has gone away SET @c=(PI() * LOG10(-942) MOD 289) % ('2000-12-12 23:61:00' DIV -614 + ATAN(13)); # ERROR: 2006 - MySQL server has gone away SELECT @c; # ERROR: 2006 - MySQL server has gone away SET @cmd:="INSERT INTO t2 SELECT * FROM t1"; # ERROR: 2006 - MySQL server has gone away ALTER TABLE t1 ADD INDEX (c2); # ERROR: 2006 - MySQL server has gone away ROLLBACK AND CHAIN; # ERROR: 2006 - MySQL server has gone away TRUNCATE t1; # ERROR: 2006 - MySQL server has gone away SELECT * FROM performance_schema.events_stages_summary_by_account_by_event_name; # ERROR: 2006 - MySQL server has gone away SET SESSION TRANSACTION ISOLATION LEVEL SERIALIZABLE; # ERROR: 2006 - MySQL server has gone away SET GLOBAL innodb_monitor_reset='log_lsn_checkpoint_age'; # ERROR: 2006 - MySQL server has gone away INSERT INTO t2 VALUES (0,0.001,0.001); # ERROR: 2006 - MySQL server has gone away SELECT (SQRT(2.0) / -129) DIV (MOD(264,234) * COT(-322)) % (991 + -232) - (-653 + ATAN2(633)); # ERROR: 2006 - MySQL server has gone away XA COMMIT 'xid1' ONE PHASE; # ERROR: 2006 - MySQL server has gone away LOCK TABLES t3 AS a3 READ LOCAL, t3 AS a2 WRITE, t1 AS a9 WRITE; # ERROR: 2006 - MySQL server has gone away SET GLOBAL innodb_monitor_disable='buffer_page_written_xdes'; # ERROR: 2006 - MySQL server has gone away RENAME TABLE t2 TO t3,t2 TO t1,t3 TO t2; # ERROR: 2006 - MySQL server has gone away XA COMMIT 'xid1' ONE PHASE; # ERROR: 2006 - MySQL server has gone away COMMIT NO RELEASE; # ERROR: 2006 - MySQL server has gone away LOCK TABLES t1 AS a3 WRITE, t3 AS a9 READ LOCAL, t2 AS a1 LOW_PRIORITY WRITE; # ERROR: 2006 - MySQL server has gone away XA END 'xid1'; # ERROR: 2006 - MySQL server has gone away DROP TABLE IF EXISTS t1; # ERROR: 2006 - MySQL server has gone away INSERT INTO t1 SELECT * FROM t2; # ERROR: 2006 - MySQL server has gone away XA COMMIT 'xid1'; # ERROR: 2006 - MySQL server has gone away SET GLOBAL innodb_monitor_reset_all='buffer_pages_read'; # ERROR: 2006 - MySQL server has gone away TRUNCATE t3; # ERROR: 2006 - MySQL server has gone away ROLLBACK TO sp1; # ERROR: 2006 - MySQL server has gone away DROP PROCEDURE p1; # ERROR: 2006 - MySQL server has gone away SELECT * FROM t2 INTO OUTFILE 'out2'; # ERROR: 2006 - MySQL server has gone away INSERT INTO t3 VALUES (2014,1.e-2,'\0x'); # ERROR: 2006 - MySQL server has gone away XA ROLLBACK 'xid1'; # ERROR: 2006 - MySQL server has gone away INSERT INTO t1 SELECT * FROM t1; # ERROR: 2006 - MySQL server has gone away CREATE PROCEDURE p2 (OUT i1 TINYTEXT BINARY CHARACTER SET 'Binary' COLLATE 'Binary') NO SQL ALTER TABLE t2 MODIFY c3 MULTIPOINT; # ERROR: 2006 - MySQL server has gone away TRUNCATE t2; # ERROR: 2006 - MySQL server has gone away XA COMMIT 'xid2' ONE PHASE; # ERROR: 2006 - MySQL server has gone away UPDATE t1 SET c1=2014 ORDER BY c3 DESC LIMIT 6; # ERROR: 2006 - MySQL server has gone away XA PREPARE 'xid1'; # ERROR: 2006 - MySQL server has gone away CREATE FUNCTION f1 (i1 DOUBLE(255,30) UNSIGNED) RETURNS DATE CONTAINS SQL RETURN CONCAT('function output:',i1); # ERROR: 2006 - MySQL server has gone away LOAD DATA INFILE 'out4' INTO TABLE t2; # ERROR: 2006 - MySQL server has gone away PREPARE stmt FROM @cmd; # ERROR: 2006 - MySQL server has gone away TRUNCATE t3; # ERROR: 2006 - MySQL server has gone away SELECT c1 FROM t3 WHERE (c1) IN (SELECT c1 FROM t3 WHERE c1 >= -2.0); # ERROR: 2006 - MySQL server has gone away XA END 'xid1'; # ERROR: 2006 - MySQL server has gone away XA ROLLBACK 'xid1'; # ERROR: 2006 - MySQL server has gone away XA END 'xid2'; # ERROR: 2006 - MySQL server has gone away SELECT (LOG2(888) * SIGN(-482)) DIV (MOD(9,139) + ATAN2(561) - -647); # ERROR: 2006 - MySQL server has gone away SET @@SESSION.unique_checks=1; # ERROR: 2006 - MySQL server has gone away DROP PROCEDURE p1; # ERROR: 2006 - MySQL server has gone away SELECT * FROM (SELECT f3('cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc')) AS a1; # ERROR: 2006 - MySQL server has gone away SELECT * FROM performance_schema.user_variables_by_thread; # ERROR: 2006 - MySQL server has gone away SELECT t1.c3 FROM t1 RIGHT JOIN t1 ON t1.c3 UNION SELECT t2.c3 FROM t2 NATURAL RIGHT JOIN t2 ON t2.c2 UNION SELECT t2.c1 FROM t2 RIGHT JOIN t3 ON t2.c3; # ERROR: 2006 - MySQL server has gone away ALTER TABLE t1 ADD INDEX (c3), ADD UNIQUE (c1); # ERROR: 2006 - MySQL server has gone away INSERT INTO t2 SELECT * FROM t2; # ERROR: 2006 - MySQL server has gone away SELECT f3('<>,./;[}{}]&&``'); # ERROR: 2006 - MySQL server has gone away SELECT f1(-1.e+30); # ERROR: 2006 - MySQL server has gone away SHOW CREATE FUNCTION f1; # ERROR: 2006 - MySQL server has gone away INSERT INTO t3 VALUES ((792 MOD 179) + (23-12-2340 + RAND() DIV ROUND(-558)),'!@#$%^&*()_+{}[]:,./<>?:"','2000-12-12 23:61:00'); # ERROR: 2006 - MySQL server has gone away CREATE TABLE t1 (c1 CHAR(1) BINARY CHARACTER SET 'utf8' COLLATE 'utf8_bin',c2 DECIMAL ZEROFILL,c3 CHAR(40) BINARY CHARACTER SET 'Binary' COLLATE 'Binary') ENGINE=InnoDB; # ERROR: 2006 - MySQL server has gone away CREATE DEFINER=user3 PROCEDURE p2 (OUT i1 TINYBLOB, INOUT i2 TINYINT(254) UNSIGNED) COMMENT 'comment' ROLLBACK AND CHAIN; # ERROR: 2006 - MySQL server has gone away INSERT INTO t3 VALUES (-1.e-2,10-10-2014,-1.e+2); # ERROR: 2006 - MySQL server has gone away INSERT INTO t1 VALUES (-1.e+2,0.0,'x05'); # ERROR: 2006 - MySQL server has gone away CREATE PROCEDURE p2 (INOUT i1 DATETIME(0)) SQL SECURITY INVOKER SQL SECURITY DEFINER INSERT INTO t3 SELECT * FROM t3; # ERROR: 2006 - MySQL server has gone away SHOW PROCEDURE CODE p2; # ERROR: 2006 - MySQL server has gone away SET @@SESSION.SQL_MODE=(SELECT REPLACE(@@SQL_MODE,',NO_KEY_OPTIONS','')); # ERROR: 2006 - MySQL server has gone away SELECT c2,c2 FROM t1 AS a1 CROSS JOIN t3 AS a2 UNION SELECT c1 FROM t3 UNION SELECT t3.c2 FROM t3 RIGHT JOIN t1 ON t3.c2; # ERROR: 2006 - MySQL server has gone away SELECT (CEILING('23-12-2340') + 713) - (-420 * 969); # ERROR: 2006 - MySQL server has gone away EXPLAIN INSERT INTO t2 VALUES (1.e-1,1.e-10,2.0); # ERROR: 2006 - MySQL server has gone away SET GLOBAL TRANSACTION ISOLATION LEVEL REPEATABLE READ; # ERROR: 2006 - MySQL server has gone away SELECT f1(1.e+10); # ERROR: 2006 - MySQL server has gone away CREATE TABLE IF NOT EXISTS t2 (c1 CHAR(128) PRIMARY KEY,c2 NUMERIC(1,1) ZEROFILL,c3 DATETIME(5)) ENGINE=InnoDB; # ERROR: 2006 - MySQL server has gone away SET @b='23-12-2340'; # ERROR: 2006 - MySQL server has gone away PURGE BINARY LOGS TO '\0xe'; # ERROR: 2006 - MySQL server has gone away SELECT * FROM performance_schema.file_instances WHERE FILE_NAME LIKE '%galera%'; # ERROR: 2006 - MySQL server has gone away SET TRANSACTION ISOLATION LEVEL SERIALIZABLE; # ERROR: 2006 - MySQL server has gone away SELECT EVENT_ID, EVENT_NAME, TIMER_WAIT FROM performance_schema.events_waits_history WHERE EVENT_NAME LIKE '%wsrep%'; # ERROR: 2006 - MySQL server has gone away TRUNCATE t1; # ERROR: 2006 - MySQL server has gone away LOAD DATA INFILE 'out9' INTO TABLE t3; # ERROR: 2006 - MySQL server has gone away ANALYZE LOCAL TABLE t2; # ERROR: 2006 - MySQL server has gone away INSERT INTO t2 SELECT * FROM t3; # ERROR: 2006 - MySQL server has gone away SET AUTOCOMMIT=ON; # ERROR: 2006 - MySQL server has gone away SELECT * FROM t3 INTO OUTFILE 'out6'; # ERROR: 2006 - MySQL server has gone away UPDATE performance_schema.setup_consumers SET ENABLED = 'YES'; # ERROR: 2006 - MySQL server has gone away SHOW TABLES; # ERROR: 2006 - MySQL server has gone away CREATE DEFINER=user1 PROCEDURE p1 (INOUT i1 DECIMAL(40,30) UNSIGNED, INOUT i2 FLOAT(2,2) UNSIGNED) DETERMINISTIC CONTAINS SQL LOAD DATA INFILE 'out5' INTO TABLE t1; # ERROR: 2006 - MySQL server has gone away SELECT * FROM performance_schema.objects_summary_global_by_type; # ERROR: 2006 - MySQL server has gone away INSERT INTO t1 SELECT * FROM t1; # ERROR: 2006 - MySQL server has gone away TRUNCATE t1; # ERROR: 2006 - MySQL server has gone away INSERT INTO t2 SELECT * FROM t3; # ERROR: 2006 - MySQL server has gone away SELECT (-180 - CEILING(-580)) * (MOD(23-12-2340,-121) DIV -315 * NOW()) - (711 / EXP(-456) + -622) * (921 + -907); # ERROR: 2006 - MySQL server has gone away INSERT INTO t1 VALUES (1.e+20,-1.e-1,-1); # ERROR: 2006 - MySQL server has gone away INSERT INTO t2 VALUES ('9000-12-12 00:00:00',-1.0,1.e-2); # ERROR: 2006 - MySQL server has gone away INSERT INTO t2 SELECT * FROM t2; # ERROR: 2006 - MySQL server has gone away CREATE PROCEDURE p3 (IN i1 TEXT, OUT i2 CHAR(1) BINARY CHARACTER SET 'utf8' COLLATE 'utf8_bin') NO SQL SET GLOBAL innodb_monitor_disable='adaptive_hash_searches'; # ERROR: 2006 - MySQL server has gone away DELETE QUICK FROM a1,a3,a1 USING t1 AS a1 CROSS JOIN t2 AS a2 INNER JOIN t2 AS a3 WHERE a2.c2=1.e+2 AND a3.c3=-1.e-20; # ERROR: 2006 - MySQL server has gone away DELETE a2 FROM t2 AS a1 INNER JOIN t1 AS a2, t2 AS a3 WHERE a3.c3>a2.c3; # ERROR: 2006 - MySQL server has gone away INSERT INTO t3 VALUES (1e3,01-01-1430,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'); # ERROR: 2006 - MySQL server has gone away TRUNCATE t1; # ERROR: 2006 - MySQL server has gone away DELETE FROM a2,a3 USING t2 AS a1 STRAIGHT_JOIN t2 AS a2 STRAIGHT_JOIN t1 AS a3; # ERROR: 2006 - MySQL server has gone away XA START 'xid2'; # ERROR: 2006 - MySQL server has gone away ANALYZE LOCAL TABLE t1; # ERROR: 2006 - MySQL server has gone away XA COMMIT 'xid2' ONE PHASE; # ERROR: 2006 - MySQL server has gone away SELECT c1 FROM t3 WHERE (c1) IN (SELECT c1 FROM t3 WHERE c1 = 'x05'); # ERROR: 2006 - MySQL server has gone away SET MAX_JOIN_SIZE=1000000; # ERROR: 2006 - MySQL server has gone away CREATE TEMPORARY TABLE IF NOT EXISTS t1 (c1 BIGINT(254) UNSIGNED,c2 DECIMAL(10,10) UNSIGNED ZEROFILL,c3 DOUBLE(2,2) ZEROFILL, PRIMARY KEY(c1)) ENGINE=MRG_MyISAM; # ERROR: 2006 - MySQL server has gone away SET MAX_JOIN_SIZE=1000000; # ERROR: 2006 - MySQL server has gone away SELECT @c; # ERROR: 2006 - MySQL server has gone away DELETE IGNORE FROM a2 USING t3 AS a1 CROSS JOIN t2 AS a2, t1 AS a3 WHERE a3.c2<=3.1415927; # ERROR: 2006 - MySQL server has gone away XA COMMIT 'xid1' ONE PHASE; # ERROR: 2006 - MySQL server has gone away SELECT (TAN(-1.e-2) DIV 'ÃÃÃ') + (ATAN2(-746) DIV 910) % (-705 - SIN(-544) MOD ROUND(-638) - LN(-767) MOD '12-23-2340') + (-769 DIV LOG10(-947)); # ERROR: 2006 - MySQL server has gone away RELEASE SAVEPOINT sp2; # ERROR: 2006 - MySQL server has gone away UPDATE t1 SET c1=(SIN(-857) MOD 924 DIV POW(783,-639)) DIV (CEIL(306) * RADIANS(-3.0)) WHERE c2=c1 OR c3=c3; # ERROR: 2006 - MySQL server has gone away SHOW CREATE VIEW v1; # ERROR: 2006 - MySQL server has gone away ALTER TABLE t1 ADD COLUMN c4 CHAR CHARACTER SET 'latin1' COLLATE 'latin1_bin'; # ERROR: 2006 - MySQL server has gone away SET SESSION TRANSACTION ISOLATION LEVEL SERIALIZABLE; # ERROR: 2006 - MySQL server has gone away SELECT f2((-39 MOD EXP(53)) DIV (LOG2(792) * -30 / POW(-125,-115))); # ERROR: 2006 - MySQL server has gone away SELECT * FROM performance_schema.events_statements_summary_by_program; # ERROR: 2006 - MySQL server has gone away XA BEGIN 'xid1'; # ERROR: 2006 - MySQL server has gone away UNLOCK TABLES; # ERROR: 2006 - MySQL server has gone away SET @@GLOBAL.storage_engine=CSV; # ERROR: 2006 - MySQL server has gone away SELECT * FROM t2 INTO OUTFILE 'out6'; # ERROR: 2006 - MySQL server has gone away XA END 'xid1'; # ERROR: 2006 - MySQL server has gone away UNLOCK TABLES; # ERROR: 2006 - MySQL server has gone away INSERT INTO t3 SELECT * FROM t1; # ERROR: 2006 - MySQL server has gone away INSERT INTO t2 SELECT * FROM t2; # ERROR: 2006 - MySQL server has gone away RESET SLAVE FOR CHANNEL 'group_replication_recovery'; # ERROR: 2006 - MySQL server has gone away SET @cmd:="SET @@GLOBAL.OPTIMIZER_SWITCH="loosescan=OFF""; # ERROR: 2006 - MySQL server has gone away SHOW DATABASES LIKE '%c%'; # ERROR: 2006 - MySQL server has gone away XA END 'xid1'; # ERROR: 2006 - MySQL server has gone away SELECT POWER(774,583) / TRUNCATE(-46,NULL) % LOG((ROUND(-485) + -238 / 12-23-2015 - -479 * -49) - (SQRT(42) DIV -753)) * 413; # ERROR: 2006 - MySQL server has gone away SELECT (SELECT (SELECT c3,c2 FROM t3) OR (SELECT t3.c2 FROM t1 RIGHT JOIN t3 ON t3.c1='\0x')) AND (SELECT (SELECT (SELECT c1,c1 FROM t1 AS a1, t1 AS a2 ) AND (SELECT c3,c1 FROM t3))) OR ((SELECT t1.c3 FROM t1 RIGHT JOIN t1 ON t1.c2) AND (SELECT c2,c3 FROM t3 AS a1, t3 AS a2 WHERE a3.c1>=(PI() DIV 875 + 743 MOD TRUNCATE(-804,-432)) - (POWER(1.e-2,772) / 988 + 1500 / 122 MOD -481 MOD 727) )) OR (SELECT t3.c1 FROM t2 RIGHT JOIN t3 ON t3.c3=(MOD(1.e-2,CURRENT_TIMESTAMP()-100000) DIV 332) / (-240 / -115 / DEGREES(-108))); # ERROR: 2006 - MySQL server has gone away ROLLBACK WORK; # ERROR: 2006 - MySQL server has gone away SHOW SLAVE STATUS; # ERROR: 2006 - MySQL server has gone away SET @a=2990; # ERROR: 2006 - MySQL server has gone away SET @@SESSION.SQL_MODE=(SELECT REPLACE(@@SQL_MODE,',ERROR_FOR_DIVISION_BY_ZERO','')); # ERROR: 2006 - MySQL server has gone away INSERT INTO t3 SELECT * FROM t3; # ERROR: 2006 - MySQL server has gone away SHOW SESSION VARIABLES LIKE '%n'; # ERROR: 2006 - MySQL server has gone away DROP PROCEDURE p1; # ERROR: 2006 - MySQL server has gone away SET GLOBAL innodb_monitor_reset='innodb_mem_validate_usec'; # ERROR: 2006 - MySQL server has gone away UNLOCK TABLES; # ERROR: 2006 - MySQL server has gone away CREATE TABLE t3 (c1 DECIMAL(1,1) ZEROFILL,c2 VARCHAR(10) CHARACTER SET 'Binary' COLLATE 'Binary',c3 DATE, PRIMARY KEY(c1)) ENGINE=InnoDB; # ERROR: 2006 - MySQL server has gone away ANALYZE NO_WRITE_TO_BINLOG TABLE t1; # ERROR: 2006 - MySQL server has gone away SELECT c3 FROM t3 AS a1 JOIN t2 AS a2 CROSS JOIN t1 AS a3 WHERE a1.c3>=6934 OR a3.c1<=(ROUND('01-01-1430') / LOG10(626)) MOD (-494 % 13) AND a1.c1<=a2.c1 OR a3.c3>=-1.e+20; # ERROR: 2006 - MySQL server has gone away CREATE PROCEDURE p1 (IN i1 VARCHAR(2) CHARACTER SET 'Binary' COLLATE 'Binary', IN i2 VARCHAR(255) BINARY) SQL SECURITY DEFINER SET @a=-1.e-30; # ERROR: 2006 - MySQL server has gone away UNLOCK TABLES; # ERROR: 2006 - MySQL server has gone away EXPLAIN SELECT f1(10-10-2014); # ERROR: 2006 - MySQL server has gone away CREATE TABLE t2 (c1 CHAR CHARACTER SET 'utf8' COLLATE 'utf8_bin',c2 DATE,c3 DECIMAL(65) ZEROFILL) ENGINE=MEMORY; # ERROR: 2006 - MySQL server has gone away XA START 'xid2'; # ERROR: 2006 - MySQL server has gone away LOAD DATA INFILE 'out9' INTO TABLE t3; # ERROR: 2006 - MySQL server has gone away SET GLOBAL innodb_monitor_reset_all='trx_rseg_history_len'; # ERROR: 2006 - MySQL server has gone away SELECT * FROM t3 INTO OUTFILE 'out8'; # ERROR: 2006 - MySQL server has gone away SET GLOBAL innodb_monitor_reset='ibuf_size'; # ERROR: 2006 - MySQL server has gone away ALTER TABLE t2 DROP COLUMN c2; # ERROR: 2006 - MySQL server has gone away CREATE TABLE IF NOT EXISTS t1 (c1 FLOAT PRIMARY KEY,c2 VARCHAR(2037),c3 BLOB) ENGINE=MRG_MyISAM; # ERROR: 2006 - MySQL server has gone away ROLLBACK TO sp1; # ERROR: 2006 - MySQL server has gone away SELECT (501 * COS(-94) - 667 DIV -2.0) / (CEIL(-969) / SIN(471) MOD COT(-362) + SIN(-407)) DIV ('2000-12-12 23:59:00' MOD CONV(592,896,395) DIV MOD(LOG2(-218) * POW(-292,626),453)) + (832 % -842 % ROUND(-338)); # ERROR: 2006 - MySQL server has gone away UPDATE performance_schema.setup_timers SET TIMER_NAME='TICK' WHERE NAME='statement'; # ERROR: 2006 - MySQL server has gone away SET GLOBAL TRANSACTION ISOLATION LEVEL REPEATABLE READ; # ERROR: 2006 - MySQL server has gone away DELETE FROM a3,a2 USING t2 AS a1 JOIN t2 AS a2 CROSS JOIN t1 AS a3 WHERE a2.c3=1.e+20; # ERROR: 2006 - MySQL server has gone away XA END 'xid2'; # ERROR: 2006 - MySQL server has gone away CREATE TABLE IF NOT EXISTS t3 (c1 NUMERIC(2) UNSIGNED ZEROFILL,c2 INTEGER(254),c3 TIMESTAMP(2)) ENGINE=PERFORMANCE_SCHEMA; # ERROR: 2006 - MySQL server has gone away SET @@SESSION.optimizer_switch="materialization=on"; # ERROR: 2006 - MySQL server has gone away SHOW CHARACTER SET LIKE '%z'; # ERROR: 2006 - MySQL server has gone away UPDATE t2 SET c1=1e3; # ERROR: 2006 - MySQL server has gone away SET GLOBAL innodb_monitor_disable='buffer_page_written_xdes'; # ERROR: 2006 - MySQL server has gone away UNLOCK TABLES; # ERROR: 2006 - MySQL server has gone away INSERT INTO t3 VALUES (2,(-958 - LOG10(NULL) * 982) * (LOG2(962) / -875),10-10-2014); # ERROR: 2006 - MySQL server has gone away INSERT INTO t2 VALUES (1000000000000000,2,(-870 / 838 / ATAN2(698)) * (CRC32(POWER(118,-718) / SQRT(667) / FLOOR(-851) / RAND(316)) * 605)); # ERROR: 2006 - MySQL server has gone away SELECT * FROM performance_schema.events_stages_summary_by_user_by_event_name; # ERROR: 2006 - MySQL server has gone away UPDATE t2 SET c1=01-01-1430; # ERROR: 2006 - MySQL server has gone away UPDATE t1 SET c1='³³³' WHERE c2=c1 ORDER BY c3,c1 LIMIT 4; # ERROR: 2006 - MySQL server has gone away LOAD DATA INFILE 'out8' INTO TABLE t2; # ERROR: 2006 - MySQL server has gone away SET GLOBAL TRANSACTION ISOLATION LEVEL REPEATABLE READ; # ERROR: 2006 - MySQL server has gone away INSERT INTO t3 VALUES (-2.0,1.e-20,NOW()); # ERROR: 2006 - MySQL server has gone away XA END 'xid1'; # ERROR: 2006 - MySQL server has gone away ALTER TABLE t1 ADD UNIQUE (c1); # ERROR: 2006 - MySQL server has gone away SET autocommit=1; # ERROR: 2006 - MySQL server has gone away XA END 'xid1'; # ERROR: 2006 - MySQL server has gone away COMMIT WORK; # ERROR: 2006 - MySQL server has gone away SET AUTOCOMMIT=ON; # ERROR: 2006 - MySQL server has gone away UPDATE t3 SET c1=CURRENT_TIMESTAMP(); # ERROR: 2006 - MySQL server has gone away TRUNCATE TABLE t1; # ERROR: 2006 - MySQL server has gone away SELECT CEILING('2000-40-12 00:00:00') % MOD('2000-12-12 23:61:00',-532); # ERROR: 2006 - MySQL server has gone away TRUNCATE t3; # ERROR: 2006 - MySQL server has gone away TRUNCATE t2; # ERROR: 2006 - MySQL server has gone away SELECT t3.c2 FROM t3 RIGHT JOIN t3 ON t3.c3 UNION SELECT t1.c1 FROM t1 LEFT OUTER JOIN t2 ON t1.c1=-1.e-20; # ERROR: 2006 - MySQL server has gone away ALTER TABLE t3 ADD UNIQUE (c3); # ERROR: 2006 - MySQL server has gone away SHOW OPEN TABLES LIKE '%z'; # ERROR: 2006 - MySQL server has gone away DROP PROCEDURE p3; # ERROR: 2006 - MySQL server has gone away CALL p1(@a); # ERROR: 2006 - MySQL server has gone away SET GLOBAL innodb_monitor_enable='os_data_writes'; # ERROR: 2006 - MySQL server has gone away XA END 'xid1'; # ERROR: 2006 - MySQL server has gone away RENAME TABLE t3 TO t1,t3 TO t1; # ERROR: 2006 - MySQL server has gone away XA COMMIT 'xid2' ONE PHASE; # ERROR: 2006 - MySQL server has gone away SELECT (FLOOR(-460) / -321) MOD (ATAN2(5000000000000000) + ABS(-227) - 1.e-3) - (4000000000000000 / PI() + -983); # ERROR: 2006 - MySQL server has gone away CREATE TABLE IF NOT EXISTS t3 (c1 VARCHAR(1) PRIMARY KEY,c2 JSON,c3 BLOB) ENGINE=InnoDB; # ERROR: 2006 - MySQL server has gone away SELECT f1('XYZ'); # ERROR: 2006 - MySQL server has gone away SELECT (SELECT t3.c3 FROM t2 LEFT JOIN t3 ON t3.c3); # ERROR: 2006 - MySQL server has gone away CREATE DEFINER=CURRENT_USER PROCEDURE p2 (OUT i1 SET('a','b','c') CHARACTER SET 'Binary' COLLATE 'Binary') SQL SECURITY DEFINER PURGE MASTER LOGS BEFORE CURRENT_TIMESTAMP(); # ERROR: 2006 - MySQL server has gone away INSERT INTO t3 SELECT * FROM t2; # ERROR: 2006 - MySQL server has gone away DROP TABLE t1; # ERROR: 2006 - MySQL server has gone away XA COMMIT 'xid1'; # ERROR: 2006 - MySQL server has gone away INSERT INTO t3 SELECT * FROM t2; # ERROR: 2006 - MySQL server has gone away DEALLOCATE PREPARE stmt; # ERROR: 2006 - MySQL server has gone away INSERT INTO t1 SELECT * FROM t1; # ERROR: 2006 - MySQL server has gone away EXECUTE stmt; # ERROR: 2006 - MySQL server has gone away CREATE DEFINER=user1 PROCEDURE p2 (OUT i1 CHAR, OUT i2 CHAR BINARY) NOT DETERMINISTIC SET GLOBAL innodb_monitor_enable='buffer_flush_sync_total_pages'; # ERROR: 2006 - MySQL server has gone away XA ROLLBACK 'xid1'; # ERROR: 2006 - MySQL server has gone away SET AUTOCOMMIT=ON; # ERROR: 2006 - MySQL server has gone away XA COMMIT 'xid2'; # ERROR: 2006 - MySQL server has gone away INSERT INTO t3 VALUES (1500,(ACOS(2013) / RADIANS(-290) DIV 571) MOD (752 - ABS(-879)),'cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc'); # ERROR: 2006 - MySQL server has gone away XA END 'xid1'; # ERROR: 2006 - MySQL server has gone away XA COMMIT 'xid1' ONE PHASE; # ERROR: 2006 - MySQL server has gone away SELECT EVENT_ID, EVENT_NAME, TIMER_WAIT FROM performance_schema.events_waits_history WHERE EVENT_NAME LIKE '%wsrep%'; # ERROR: 2006 - MySQL server has gone away TRUNCATE t1; # ERROR: 2006 - MySQL server has gone away COMMIT; # ERROR: 2006 - MySQL server has gone away UNLOCK TABLES; # ERROR: 2006 - MySQL server has gone away LOCK TABLES t3 AS a2 READ, t3 AS a0 READ; # ERROR: 2006 - MySQL server has gone away UPDATE t1 SET c1=1e1 LIMIT 9; # ERROR: 2006 - MySQL server has gone away SET GLOBAL innodb_monitor_reset='module_trx'; # ERROR: 2006 - MySQL server has gone away ROLLBACK WORK NO RELEASE; # ERROR: 2006 - MySQL server has gone away DELETE IGNORE a1,a2 FROM t1 AS a1, t2 AS a2, t3 AS a3 WHERE a2.c2<='\0x'; # ERROR: 2006 - MySQL server has gone away SHOW COLLATION LIKE '9%'; # ERROR: 2006 - MySQL server has gone away SET AUTOCOMMIT=ON; # ERROR: 2006 - MySQL server has gone away INSERT INTO t3 VALUES (2,(-958 - LOG10(NULL) * 982) * (LOG2(962) / -875),10-10-2014); # ERROR: 2006 - MySQL server has gone away ROLLBACK; # ERROR: 2006 - MySQL server has gone away UPDATE performance_schema.setup_timers SET TIMER_NAME='CYCLE' WHERE NAME='statement'; # ERROR: 2006 - MySQL server has gone away XA COMMIT 'xid1' ONE PHASE; # ERROR: 2006 - MySQL server has gone away SELECT (-679 + LOG(22) DIV POW(-267 % 447,-851)) DIV (RAND(-522) % LOG(595) + -330 - PI() + LOG2(441) MOD 794) + (COS(276) * -482 / ABS(628) / 10-10-2014 / 531) - (ACOS(1000) DIV LOG(119)); # ERROR: 2006 - MySQL server has gone away SET @@SESSION.default_tmp_storage_engine=CSV,MRG_MYISAM; # ERROR: 2006 - MySQL server has gone away SELECT (SELECT c2 FROM t1 AS a1 INNER JOIN t2 AS a2 CROSS JOIN t2 AS a3 ); # ERROR: 2006 - MySQL server has gone away SAVEPOINT sp1; # ERROR: 2006 - MySQL server has gone away INSERT INTO t2 VALUES ('c',1.0,1500); # ERROR: 2006 - MySQL server has gone away SELECT c1,c1 FROM t1 AS a1 INNER JOIN t2 AS a2 UNION SELECT c2 FROM t1 AS a1 CROSS JOIN t3 AS a2 INNER JOIN t1 AS a3 WHERE a1.c3<=a2.c2 UNION SELECT c1,c2 FROM t2; # ERROR: 2006 - MySQL server has gone away CREATE TEMPORARY TABLE IF NOT EXISTS t2 (c1 VARCHAR(255) BINARY CHARACTER SET 'Binary' COLLATE 'Binary',c2 VARCHAR(1024) CHARACTER SET 'latin1' COLLATE 'latin1_bin',c3 INTEGER(1), PRIMARY KEY(c1)) ENGINE=InnoDB; # ERROR: 2006 - MySQL server has gone away SELECT c2 FROM t3; # ERROR: 2006 - MySQL server has gone away * Last 250 consecutive queries all failed. Likely crash/assert, user privileges drop, or similar. Ending run. * SUMMARY: 1636/3052 queries failed (46.40%) were successful)