crash-in-cmpfunc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
High
|
Brian Aker | ||
7.0 |
Fix Released
|
High
|
Brian Aker |
Bug Description
--disable_warnings
DROP TABLE IF EXISTS `aa`;
DROP TABLE IF EXISTS `bb`;
--enable_warnings
CREATE TABLE `aa` (
`pk` INT NOT NULL AUTO_INCREMENT,
`col_char_1024` VARCHAR(1024) COLLATE utf8_general_ci DEFAULT NULL,
`col_int` INT DEFAULT NULL,
`col_
`col_bigint_key` BIGINT DEFAULT NULL,
`col_
PRIMARY KEY (`pk`),
KEY `col_bigint_key` (`col_bigint_key`)
) ENGINE='InnoDB' COLLATE=
INSERT INTO `aa` VALUES (1,'w',
CREATE TABLE `bb` (
`col_
`col_bigint_key` BIGINT DEFAULT NULL,
`pk` INT NOT NULL AUTO_INCREMENT,
`col_text_key` TEXT COLLATE utf8_general_ci DEFAULT NULL,
`col_
PRIMARY KEY (`pk`),
KEY `col_char_
KEY `col_bigint_key` (`col_bigint_key`),
KEY `col_text_key` (`col_text_
KEY `col_int_
) ENGINE='InnoDB' COLLATE=
INSERT INTO `bb` VALUES ('DCJRX'
SELECT DISTINCT OUTR . `col_char_1024` AS X FROM AA AS OUTR WHERE ( OUTR . `col_bigint_key` , OUTR . `col_int` ) IN ( SELECT DISTINCT INNR . `col_int_
DROP TABLE `aa`,`bb`;
Changed in drizzle: | |
assignee: | nobody → Andrew Hutchings (linuxjedi) |
#0 0x00007ffff50fdba5 in raise () from /lib/libc.so.6 :convert_ constant_ item (session=0x19026d0, field_item= 0x1905280, item=0x19054a8) at drizzled/ item/cmpfunc. cc:480 :Item_bool_ func2:: fix_length_ and_dec (this=0x1905408) at drizzled/ item/cmpfunc. cc:539 :Item_func: :fix_fields (this=0x1905408, session=0x19026d0) at drizzled/ function/ func.cc: 177 :Item_cond: :fix_fields (this=0x19055a0, session=0x19026d0) at drizzled/ item/cmpfunc. cc:3921 :Session: :setup_ conds (this=0x19026d0, leaves=0x1904d78, conds=0x6) at drizzled/ sql_base. cc:3761 array=0x1904810 , tables_init=<value optimised out>, wild_num=<value optimised out>, conds_init=<value optimised out>, og_num=<value optimised out>, order_init=0x0, group_init=0x0, having_init=0x0, select_ lex_arg= 0x1904658, unit_arg=0x19048c8) at drizzled/ join.cc: 5454 :Join:: prepare (this=0x192bb68, rref_pointer_ array=0x1904810 , tables_init=<value optimised out>, wild_num=<value optimised out>, conds_init=<value optimised out>, og_num=<value optimised out>, order_init=0x0, group_init=0x0, having_init=0x0, select_ lex_arg= 0x1904658, unit_arg=0x19048c8) at drizzled/ join.cc: 200 :subselect_ single_ select_ engine: :prepare (this=0x19057f8) at drizzled/ item/subselect. cc:2036 :Item_subselect ::fix_fields (this=0x19056b0, session_ param=< value optimised out>, ref=0x1905ed0) at drizzled/ item/subselect. cc:192 :Item_cond: :fix_fields (this=0x1929168, session=0x19026d0) at drizzled/ item/cmpfunc. cc:3921 :Session: :setup_ conds (this=0x19026d0, leaves=0x1904238, conds=0x6) at drizzled/ sql_base. cc:3761 array=0x19034a8 , tables_init=<value optimised out>, wild_num=<value optimised out>, conds_init=<value optimised out>, og_num=<value optimised out>, order_init= 0x1929390, group_init=0x0, having_init=0x0, select_ lex_arg= 0x19032f0, unit_arg=0x19030f0) at drizzled/ join.cc: 5454 :Join:: prepare (this=0x19295e0, rref_pointer_ array=0x19034a8 , tables_init=<value optimised out>, wild_num=<value optimised out>, conds_init=<value optimised out>, og_num=<value optimised out>, order_init= 0x1929390, group_init=0x0, having_init=0x0, select_ lex_arg= 0x19032f0, unit_arg=0x19030f0) at drizzled/ join.cc: 200 :mysql_ select (session=0x19026d0, rref_pointer_ array=< value optimised out>, tables=0x1904238, wild_num=0, fields=<value optimised out>, conds=0x1929168, og_num=2, order=0x1929390, group=0x0, having=0x0, select_ options= 2147500033, result=0x19295c0, unit=0x19030f0, select_ lex=0x19032f0) at drizzled/ sql_select. cc:409 :handle_ select (session=0x19026d0, lex=0x19030d0, result=0x19295c0, setup_tables_do...
#1 0x00007ffff51016b0 in abort () from /lib/libc.so.6
#2 0x00007ffff50f6a71 in __assert_fail () from /lib/libc.so.6
#3 0x00000000005dabf6 in drizzled:
#4 0x00000000005e1e7a in drizzled:
#5 0x00000000005a08d4 in drizzled:
#6 0x00000000005da6b0 in drizzled:
#7 0x000000000067249f in drizzled:
#8 0x000000000061173e in setup_without_group (this=0x192bb68, rref_pointer_
#9 drizzled:
#10 0x00000000005fae70 in drizzled:
#11 0x00000000005fb91d in drizzled:
#12 0x00000000005da6b0 in drizzled:
#13 0x000000000067249f in drizzled:
#14 0x000000000061173e in setup_without_group (this=0x19295e0, rref_pointer_
#15 drizzled:
#16 0x000000000069269b in drizzled:
#17 0x0000000000692840 in drizzled: