You can also put the offending query into a randgen grammar by itself and it will crash immediately (leave other values the same).
test-suite test case:
--disable_warnings
DROP TABLE IF EXISTS `a`;
DROP TABLE IF EXISTS `c`;
DROP TABLE IF EXISTS `aa`;
--enable_warnings
CREATE TABLE `a` (
`col_bigint` bigint DEFAULT NULL,
`col_enum_not_null` enum('a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z') NOT NULL,
`col_enum_not_null_key` enum('a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z') NOT NULL,
`col_int_key` int DEFAULT NULL,
`col_bigint_not_null` bigint NOT NULL,
`col_enum` enum('a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z') DEFAULT NULL,
`col_text_not_null` text NOT NULL,
`col_char_10_key` varchar(10) DEFAULT NULL,
`col_int` int DEFAULT NULL,
`col_char_1024` varchar(1024) DEFAULT NULL,
`col_char_10_not_null_key` varchar(10) NOT NULL,
`pk` int NOT NULL AUTO_INCREMENT,
`col_enum_key` enum('a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z') DEFAULT NULL,
`col_char_1024_not_null_key` varchar(1024) NOT NULL,
`col_char_10` varchar(10) DEFAULT NULL,
`col_char_1024_key` varchar(1024) DEFAULT NULL,
`col_text` text,
`col_text_not_null_key` text NOT NULL,
`col_bigint_not_null_key` bigint NOT NULL,
`col_char_1024_not_null` varchar(1024) NOT NULL,
`col_int_not_null` int NOT NULL,
`col_int_not_null_key` int NOT NULL,
`col_char_10_not_null` varchar(10) NOT NULL,
`col_text_key` text,
`col_bigint_key` bigint DEFAULT NULL,
PRIMARY KEY (`pk`),
KEY `col_enum_not_null_key` (`col_enum_not_null_key`),
KEY `col_int_key` (`col_int_key`),
KEY `col_char_10_key` (`col_char_10_key`),
KEY `col_char_10_not_null_key` (`col_char_10_not_null_key`),
KEY `col_enum_key` (`col_enum_key`),
KEY `col_char_1024_not_null_key` (`col_char_1024_not_null_key`(255)),
KEY `col_char_1024_key` (`col_char_1024_key`(255)),
KEY `col_text_not_null_key` (`col_text_not_null_key`(255)),
KEY `col_bigint_not_null_key` (`col_bigint_not_null_key`),
KEY `col_int_not_null_key` (`col_int_not_null_key`),
KEY `col_text_key` (`col_text_key`(255)),
KEY `col_bigint_key` (`col_bigint_key`)
) ENGINE=InnoDB COLLATE = utf8_general_ci;
ALTER TABLE `a` DISABLE KEYS;
ALTER TABLE `a` ENABLE KEYS;
CREATE TABLE `c` (
`pk` int NOT NULL AUTO_INCREMENT,
`col_int_key` int DEFAULT NULL,
`col_text_not_null_key` text NOT NULL,
`col_bigint_key` bigint DEFAULT NULL,
`col_char_10_not_null` varchar(10) NOT NULL,
`col_text_key` text,
`col_char_10_not_null_key` varchar(10) NOT NULL,
`col_enum` enum('a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z') DEFAULT NULL,
`col_text_not_null` text NOT NULL,
`col_enum_key` enum('a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z') DEFAULT NULL,
`col_bigint_not_null_key` bigint NOT NULL,
`col_enum_not_null` enum('a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z') NOT NULL,
`col_int_not_null_key` int NOT NULL,
`col_char_1024` varchar(1024) DEFAULT NULL,
`col_int` int DEFAULT NULL,
`col_text` text,
`col_enum_not_null_key` enum('a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z') NOT NULL,
`col_char_10` varchar(10) DEFAULT NULL,
`col_bigint_not_null` bigint NOT NULL,
`col_int_not_null` int NOT NULL,
`col_char_1024_not_null` varchar(1024) NOT NULL,
`col_char_1024_not_null_key` varchar(1024) NOT NULL,
`col_char_10_key` varchar(10) DEFAULT NULL,
`col_char_1024_key` varchar(1024) DEFAULT NULL,
`col_bigint` bigint DEFAULT NULL,
PRIMARY KEY (`pk`),
KEY `col_int_key` (`col_int_key`),
KEY `col_text_not_null_key` (`col_text_not_null_key`(255)),
KEY `col_bigint_key` (`col_bigint_key`),
KEY `col_text_key` (`col_text_key`(255)),
KEY `col_char_10_not_null_key` (`col_char_10_not_null_key`),
KEY `col_enum_key` (`col_enum_key`),
KEY `col_bigint_not_null_key` (`col_bigint_not_null_key`),
KEY `col_int_not_null_key` (`col_int_not_null_key`),
KEY `col_enum_not_null_key` (`col_enum_not_null_key`),
KEY `col_char_1024_not_null_key` (`col_char_1024_not_null_key`(255)),
KEY `col_char_10_key` (`col_char_10_key`),
KEY `col_char_1024_key` (`col_char_1024_key`(255))
) ENGINE=InnoDB COLLATE = utf8_general_ci;
ALTER TABLE `c` DISABLE KEYS;
INSERT INTO `c` VALUES (1,NULL,'',2,'t',NULL,'d','v','','h',3251880405938208768,'v',0,'q',NULL,NULL,'n','h',1,6,'look','TYZGK','b','JRKMQ',NULL);
ALTER TABLE `c` ENABLE KEYS;
CREATE TABLE `aa` (
`pk` int NOT NULL AUTO_INCREMENT,
`col_char_10` varchar(10) DEFAULT NULL,
`col_bigint` bigint DEFAULT NULL,
`col_text` text,
`col_char_10_key` varchar(10) DEFAULT NULL,
`col_char_10_not_null` varchar(10) NOT NULL,
`col_char_1024` varchar(1024) DEFAULT NULL,
`col_int` int DEFAULT NULL,
`col_enum_not_null_key` enum('a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z') NOT NULL,
`col_enum` enum('a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z') DEFAULT NULL,
`col_bigint_not_null_key` bigint NOT NULL,
`col_char_1024_not_null_key` varchar(1024) NOT NULL,
`col_int_not_null_key` int NOT NULL,
`col_bigint_not_null` bigint NOT NULL,
`col_char_1024_not_null` varchar(1024) NOT NULL,
`col_char_10_not_null_key` varchar(10) NOT NULL,
`col_int_key` int DEFAULT NULL,
`col_text_not_null` text NOT NULL,
`col_char_1024_key` varchar(1024) DEFAULT NULL,
`col_enum_not_null` enum('a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z') NOT NULL,
`col_bigint_key` bigint DEFAULT NULL,
`col_text_key` text,
`col_text_not_null_key` text NOT NULL,
`col_int_not_null` int NOT NULL,
`col_enum_key` enum('a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z') DEFAULT NULL,
PRIMARY KEY (`pk`),
KEY `col_char_10_key` (`col_char_10_key`),
KEY `col_enum_not_null_key` (`col_enum_not_null_key`),
KEY `col_bigint_not_null_key` (`col_bigint_not_null_key`),
KEY `col_char_1024_not_null_key` (`col_char_1024_not_null_key`(255)),
KEY `col_int_not_null_key` (`col_int_not_null_key`),
KEY `col_char_10_not_null_key` (`col_char_10_not_null_key`),
KEY `col_int_key` (`col_int_key`),
KEY `col_char_1024_key` (`col_char_1024_key`(255)),
KEY `col_bigint_key` (`col_bigint_key`),
KEY `col_text_key` (`col_text_key`(255)),
KEY `col_text_not_null_key` (`col_text_not_null_key`(255)),
KEY `col_enum_key` (`col_enum_key`)
) ENGINE=InnoDB COLLATE = utf8_general_ci;
ALTER TABLE `aa` DISABLE KEYS;
INSERT INTO `aa` VALUES (1,'t',NULL,NULL,'ZDPHP','what','w',9,'s','u',-6388637546401759232,'well',-523436032,-8847321467969339392,'think','at',2071265280,'','LPUJD','o',NULL,NULL,'',-1974206464,'w');
INSERT INTO `aa` VALUES (2,'JULPJ',7,NULL,'AIJUR','of','n',-1692139520,'p','u',5,'on',1,4369336063479513088,'were','VDMDI',1,'','don\'t','j',NULL,NULL,'',3,'f');
INSERT INTO `aa` VALUES (3,'here',NULL,NULL,'NEMIU','a','r',4,'n','u',1,'ASUNK',621543424,-4336122016227655680,'SDQKX','WPTIG',NULL,'','think','i',-2842897264777625600,NULL,'',-274595840,'v');
INSERT INTO `aa` VALUES (4,'didn\'t',6,NULL,'HMHFF','BYTHJ','PUKQU',9,'o','n',-9123448420122492928,'d',880148480,-2739595948324814848,'TQVBJ','your',1734213632,'','on','o',NULL,NULL,'',295501824,'d');
INSERT INTO `aa` VALUES (5,'the',4,NULL,'XIXMV','w','not',-1091567616,'b','w',9,'m',1963982848,1417789457691574272,'t','q',1505558528,'','YTUNQ','v',3557843705622691840,NULL,'',9,'q');
INSERT INTO `aa` VALUES (6,'UYRFL',5333950808666931200,NULL,'k','QPWUT','NZDDR',126156800,'c','o',6,'to',8,7526922352219652096,'l','OOQXU',8,'','o','d',-4628011567076605952,NULL,'',2,'d');
INSERT INTO `aa` VALUES (7,'is',NULL,NULL,'GJZBY','as','have',534904832,'p','q',5,'t',1445462016,8631711635808976896,'just','RDODX',NULL,'','so','f',-5755881798756204544,NULL,'',-1601306624,'g');
INSERT INTO `aa` VALUES (8,'f',-941533797097144320,NULL,'UGMMS','hey','OGLVA',8,'i','j',5903374686552588288,'m',0,-840765755434729472,'we','e',-1685520384,'','get','c',NULL,NULL,'',-1770323968,'v');
INSERT INTO `aa` VALUES (9,'KKWBL',NULL,NULL,'p','TWEJA','didn\'t',NULL,'f','l',2,'USQVA',-747241472,-4598175219545276416,'v','FEKXH',NULL,'','l','e',NULL,NULL,'',256311296,'e');
INSERT INTO `aa` VALUES (10,'g',NULL,NULL,'RMZLQ','e','t',NULL,'p','g',-3207125884641214464,'FUBQO',6,8817766595414720512,'going','GTHOM',-1431502848,'','h','g',-5719290051783819264,NULL,'',4,'c');
ALTER TABLE `aa` ENABLE KEYS;
SELECT X . `col_int_key` FROM `c` AS X LEFT JOIN `a` AS Y USING ( `col_enum_key` ) WHERE X . `col_enum_key` = ( SELECT `col_int_not_null_key` FROM `aa` WHERE `pk` = 5 ) LIMIT 8 ;
randgen command line: drizzle: host=localhost: port=9306: user=root: password= :database= test --threads=1 --engine=Innodb --gendata= conf/drizzle/ drizzle. zz --grammar= conf/engines/ engine_ stress. yy --debug --queries=100000 --threads=1
./gentest.pl --dsn=dbi:
You can also put the offending query into a randgen grammar by itself and it will crash immediately (leave other values the same).
test-suite test case:
--disable_warnings
DROP TABLE IF EXISTS `a`;
DROP TABLE IF EXISTS `c`;
DROP TABLE IF EXISTS `aa`;
--enable_warnings
CREATE TABLE `a` ( enum_not_ null` enum('a' ,'b','c' ,'d','e' ,'f','g' ,'h','i' ,'j','k' ,'l','m' ,'n','o' ,'p','q' ,'r','s' ,'t','u' ,'v','w' ,'x','y' ,'z') NOT NULL, enum_not_ null_key` enum('a' ,'b','c' ,'d','e' ,'f','g' ,'h','i' ,'j','k' ,'l','m' ,'n','o' ,'p','q' ,'r','s' ,'t','u' ,'v','w' ,'x','y' ,'z') NOT NULL, bigint_ not_null` bigint NOT NULL, ,'b','c' ,'d','e' ,'f','g' ,'h','i' ,'j','k' ,'l','m' ,'n','o' ,'p','q' ,'r','s' ,'t','u' ,'v','w' ,'x','y' ,'z') DEFAULT NULL, text_not_ null` text NOT NULL, char_10_ not_null_ key` varchar(10) NOT NULL, ,'b','c' ,'d','e' ,'f','g' ,'h','i' ,'j','k' ,'l','m' ,'n','o' ,'p','q' ,'r','s' ,'t','u' ,'v','w' ,'x','y' ,'z') DEFAULT NULL, char_1024_ not_null_ key` varchar(1024) NOT NULL, char_1024_ key` varchar(1024) DEFAULT NULL, text_not_ null_key` text NOT NULL, bigint_ not_null_ key` bigint NOT NULL, char_1024_ not_null` varchar(1024) NOT NULL, int_not_ null` int NOT NULL, int_not_ null_key` int NOT NULL, char_10_ not_null` varchar(10) NOT NULL, not_null_ key` (`col_enum_ not_null_ key`), 10_key` ), 10_not_ null_key` (`col_char_ 10_not_ null_key` ), 1024_not_ null_key` (`col_char_ 1024_not_ null_key` (255)), 1024_key` (255)), not_null_ key` (`col_text_ not_null_ key`(255) ), not_null_ key` (`col_bigint_ not_null_ key`), not_null_ key` (`col_int_ not_null_ key`), key`(255) ),
`col_bigint` bigint DEFAULT NULL,
`col_
`col_
`col_int_key` int DEFAULT NULL,
`col_
`col_enum` enum('a'
`col_
`col_char_10_key` varchar(10) DEFAULT NULL,
`col_int` int DEFAULT NULL,
`col_char_1024` varchar(1024) DEFAULT NULL,
`col_
`pk` int NOT NULL AUTO_INCREMENT,
`col_enum_key` enum('a'
`col_
`col_char_10` varchar(10) DEFAULT NULL,
`col_
`col_text` text,
`col_
`col_
`col_
`col_
`col_
`col_
`col_text_key` text,
`col_bigint_key` bigint DEFAULT NULL,
PRIMARY KEY (`pk`),
KEY `col_enum_
KEY `col_int_key` (`col_int_key`),
KEY `col_char_10_key` (`col_char_
KEY `col_char_
KEY `col_enum_key` (`col_enum_key`),
KEY `col_char_
KEY `col_char_1024_key` (`col_char_
KEY `col_text_
KEY `col_bigint_
KEY `col_int_
KEY `col_text_key` (`col_text_
KEY `col_bigint_key` (`col_bigint_key`)
) ENGINE=InnoDB COLLATE = utf8_general_ci;
ALTER TABLE `a` DISABLE KEYS;
ALTER TABLE `a` ENABLE KEYS;
CREATE TABLE `c` ( text_not_ null_key` text NOT NULL, char_10_ not_null` varchar(10) NOT NULL, char_10_ not_null_ key` varchar(10) NOT NULL, ,'b','c' ,'d','e' ,'f','g' ,'h','i' ,'j','k' ,'l','m' ,'n','o' ,'p','q' ,'r','s' ,'t','u' ,'v','w' ,'x','y' ,'z') DEFAULT NULL, text_not_ null` text NOT NULL, ,'b','c' ,'d','e' ,'f','g' ,'h','i' ,'j','k' ,'l','m' ,'n','o' ,'p','q' ,'r','s' ,'t','u' ,'v','w' ,'x','y' ,'z') DEFAULT NULL, bigint_ not_null_ key` bigint NOT NULL, enum_not_ null` enum('a' ,'b','c' ,'d','e' ,'f','g' ,'h','i' ,'j','k' ,'l','m' ,'n','o' ,'p','q' ,'r','s' ,'t','u' ,'v','w' ,'x','y' ,'z') NOT NULL, int_not_ null_key` int NOT NULL, enum_not_ null_key` enum('a' ,'b','c' ,'d','e' ,'f','g' ,'h','i' ,'j','k' ,'l','m' ,'n','o' ,'p','q' ,'r','s' ,'t','u' ,'v','w' ,'x','y' ,'z') NOT NULL, bigint_ not_null` bigint NOT NULL, int_not_ null` int NOT NULL, char_1024_ not_null` varchar(1024) NOT NULL, char_1024_ not_null_ key` varchar(1024) NOT NULL, char_1024_ key` varchar(1024) DEFAULT NULL, not_null_ key` (`col_text_ not_null_ key`(255) ), key`(255) ), 10_not_ null_key` (`col_char_ 10_not_ null_key` ), not_null_ key` (`col_bigint_ not_null_ key`), not_null_ key` (`col_int_ not_null_ key`), not_null_ key` (`col_enum_ not_null_ key`), 1024_not_ null_key` (`col_char_ 1024_not_ null_key` (255)), 10_key` ), 1024_key` (255))
`pk` int NOT NULL AUTO_INCREMENT,
`col_int_key` int DEFAULT NULL,
`col_
`col_bigint_key` bigint DEFAULT NULL,
`col_
`col_text_key` text,
`col_
`col_enum` enum('a'
`col_
`col_enum_key` enum('a'
`col_
`col_
`col_
`col_char_1024` varchar(1024) DEFAULT NULL,
`col_int` int DEFAULT NULL,
`col_text` text,
`col_
`col_char_10` varchar(10) DEFAULT NULL,
`col_
`col_
`col_
`col_
`col_char_10_key` varchar(10) DEFAULT NULL,
`col_
`col_bigint` bigint DEFAULT NULL,
PRIMARY KEY (`pk`),
KEY `col_int_key` (`col_int_key`),
KEY `col_text_
KEY `col_bigint_key` (`col_bigint_key`),
KEY `col_text_key` (`col_text_
KEY `col_char_
KEY `col_enum_key` (`col_enum_key`),
KEY `col_bigint_
KEY `col_int_
KEY `col_enum_
KEY `col_char_
KEY `col_char_10_key` (`col_char_
KEY `col_char_1024_key` (`col_char_
) ENGINE=InnoDB COLLATE = utf8_general_ci;
ALTER TABLE `c` DISABLE KEYS; '',2,'t' ,NULL,' d','v', '','h', 325188040593820 8768,'v' ,0,'q', NULL,NULL, 'n','h' ,1,6,'look' ,'TYZGK' ,'b','JRKMQ' ,NULL);
INSERT INTO `c` VALUES (1,NULL,
ALTER TABLE `c` ENABLE KEYS;
CREATE TABLE `aa` ( char_10_ not_null` varchar(10) NOT NULL, enum_not_ null_key` enum('a' ,'b','c' ,'d','e' ,'f','g' ,'h','i' ,'j','k' ,'l','m' ,'n','o' ,'p','q' ,'r','s' ,'t','u' ,'v','w' ,'x','y' ,'z') NOT NULL, ,'b','c' ,'d','e' ,'f','g' ,'h','i' ,'j','k' ,'l','m' ,'n','o' ,'p','q' ,'r','s' ,'t','u' ,'v','w' ,'x','y' ,'z') DEFAULT NULL, bigint_ not_null_ key` bigint NOT NULL, char_1024_ not_null_ key` varchar(1024) NOT NULL, int_not_ null_key` int NOT NULL, bigint_ not_null` bigint NOT NULL, char_1024_ not_null` varchar(1024) NOT NULL, char_10_ not_null_ key` varchar(10) NOT NULL, text_not_ null` text NOT NULL, char_1024_ key` varchar(1024) DEFAULT NULL, enum_not_ null` enum('a' ,'b','c' ,'d','e' ,'f','g' ,'h','i' ,'j','k' ,'l','m' ,'n','o' ,'p','q' ,'r','s' ,'t','u' ,'v','w' ,'x','y' ,'z') NOT NULL, text_not_ null_key` text NOT NULL, int_not_ null` int NOT NULL, ,'b','c' ,'d','e' ,'f','g' ,'h','i' ,'j','k' ,'l','m' ,'n','o' ,'p','q' ,'r','s' ,'t','u' ,'v','w' ,'x','y' ,'z') DEFAULT NULL, 10_key` ), not_null_ key` (`col_enum_ not_null_ key`), not_null_ key` (`col_bigint_ not_null_ key`), 1024_not_ null_key` (`col_char_ 1024_not_ null_key` (255)), not_null_ key` (`col_int_ not_null_ key`), 10_not_ null_key` (`col_char_ 10_not_ null_key` ), 1024_key` (255)), key`(255) ), not_null_ key` (`col_text_ not_null_ key`(255) ),
`pk` int NOT NULL AUTO_INCREMENT,
`col_char_10` varchar(10) DEFAULT NULL,
`col_bigint` bigint DEFAULT NULL,
`col_text` text,
`col_char_10_key` varchar(10) DEFAULT NULL,
`col_
`col_char_1024` varchar(1024) DEFAULT NULL,
`col_int` int DEFAULT NULL,
`col_
`col_enum` enum('a'
`col_
`col_
`col_
`col_
`col_
`col_
`col_int_key` int DEFAULT NULL,
`col_
`col_
`col_
`col_bigint_key` bigint DEFAULT NULL,
`col_text_key` text,
`col_
`col_
`col_enum_key` enum('a'
PRIMARY KEY (`pk`),
KEY `col_char_10_key` (`col_char_
KEY `col_enum_
KEY `col_bigint_
KEY `col_char_
KEY `col_int_
KEY `col_char_
KEY `col_int_key` (`col_int_key`),
KEY `col_char_1024_key` (`col_char_
KEY `col_bigint_key` (`col_bigint_key`),
KEY `col_text_key` (`col_text_
KEY `col_text_
KEY `col_enum_key` (`col_enum_key`)
) ENGINE=InnoDB COLLATE = utf8_general_ci;
ALTER TABLE `aa` DISABLE KEYS; NULL,NULL, 'ZDPHP' ,'what' ,'w',9, 's','u' ,-6388637546401 759232, 'well', -523436032, -88473214679693 39392,' think', 'at',2071265280 ,'','LPUJD' ,'o',NULL, NULL,'' ,-1974206464, 'w'); ,7,NULL, 'AIJUR' ,'of',' n',-1692139520, 'p','u' ,5,'on' ,1,436933606347 9513088, 'were', 'VDMDI' ,1,'',' don\'t' ,'j',NULL, NULL,'' ,3,'f') ; ,NULL,NULL, 'NEMIU' ,'a','r' ,4,'n', 'u',1,' ASUNK', 621543424, -43361220162276 55680,' SDQKX', 'WPTIG' ,NULL,' ','think' ,'i',-284289726 4777625600, NULL,'' ,-274595840, 'v'); 't',6,NULL, 'HMHFF' ,'BYTHJ' ,'PUKQU' ,9,'o', 'n',-9123448420 122492928, 'd',880148480, -27395959483248 14848,' TQVBJ', 'your', 1734213632, '','on' ,'o',NULL, NULL,'' ,295501824, 'd'); ,4,NULL, 'XIXMV' ,'w','not' ,-1091567616, 'b','w' ,9,'m', 1963982848, 141778945769157 4272,'t' ,'q',1505558528 ,'','YTUNQ' ,'v',3557843705 622691840, NULL,'' ,9,'q') ; ,53339508086669 31200,NULL, 'k','QPWUT' ,'NZDDR' ,126156800, 'c','o' ,6,'to' ,8,752692235221 9652096, 'l','OOQXU' ,8,'',' o','d', -46280115670766 05952,NULL, '',2,'d' ); ,NULL,NULL, 'GJZBY' ,'as',' have',534904832 ,'p','q' ,5,'t', 1445462016, 863171163580897 6896,'just' ,'RDODX' ,NULL,' ','so', 'f',-5755881798 756204544, NULL,'' ,-1601306624, 'g'); -94153379709714 4320,NULL, 'UGMMS' ,'hey', 'OGLVA' ,8,'i', 'j',59033746865 52588288, 'm',0,- 840765755434729 472,'we' ,'e',-168552038 4,'','get' ,'c',NULL, NULL,'' ,-1770323968, 'v'); ,NULL,NULL, 'p','TWEJA' ,'didn\ 't',NULL, 'f','l' ,2,'USQVA' ,-747241472, -45981752195452 76416,' v','FEKXH' ,NULL,' ','l',' e',NULL, NULL,'' ,256311296, 'e'); ,NULL,NULL, 'RMZLQ' ,'e','t' ,NULL,' p','g', -32071258846412 14464,' FUBQO', 6,8817766595414 720512, 'going' ,'GTHOM' ,-1431502848, '','h', 'g',-5719290051 783819264, NULL,'' ,4,'c') ;
INSERT INTO `aa` VALUES (1,'t',
INSERT INTO `aa` VALUES (2,'JULPJ'
INSERT INTO `aa` VALUES (3,'here'
INSERT INTO `aa` VALUES (4,'didn\
INSERT INTO `aa` VALUES (5,'the'
INSERT INTO `aa` VALUES (6,'UYRFL'
INSERT INTO `aa` VALUES (7,'is'
INSERT INTO `aa` VALUES (8,'f',
INSERT INTO `aa` VALUES (9,'KKWBL'
INSERT INTO `aa` VALUES (10,'g'
ALTER TABLE `aa` ENABLE KEYS;
SELECT X . `col_int_key` FROM `c` AS X LEFT JOIN `a` AS Y USING ( `col_enum_key` ) WHERE X . `col_enum_key` = ( SELECT `col_int_ not_null_ key` FROM `aa` WHERE `pk` = 5 ) LIMIT 8 ;
DROP TABLE `a`,`c`,`aa`;