Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:
Description
backtrace:
#8 0x00399d98 in __assert_fail () from /lib/libc.so.6
#9 0x08759630 in dynamic_column_date_store (str=0xae89ed04, value=0xae51347c) at ma_dyncol.c:716
#10 0x087598fa in data_store (str=0xae89ed04, value=0xae513478) at ma_dyncol.c:825
#11 0x0875a021 in dynamic_new_column_store (str=0xae89ed04, header_size=3, offset_size=1, column_count=1, not_null_count=1, data_size=3,
column_numbers=0xae5134b8, values=0xae513478, new_str=1 '\001') at ma_dyncol.c:1070
#12 0x0875a15f in dynamic_column_create_many_internal (str=0xae89ed04, column_count=1, column_numbers=0xae5134b8, values=0xae513478, new_str=1 '\001')
at ma_dyncol.c:1128
#13 0x0875a1da in dynamic_column_create_many (str=0xae89ed04, column_count=1, column_numbers=0xae5134b8, values=0xae513478) at ma_dyncol.c:1156
#14 0x082208e7 in Item_func_dyncol_create::val_str (this=0xae513228, str=0xae89f100) at item_strfunc.cc:3640
#15 0x081d0de7 in Item::send (this=0xae513228, protocol=0xa1c41e8, buffer=0xae89f100) at item.cc:5783
#16 0x08277910 in select_send::send_data (this=0xae5133c0, items=...) at sql_class.cc:1918
#17 0x083129ae in JOIN::exec (this=0xae521330) at sql_select.cc:1931
#18 0x083150fe in mysql_select (thd=0xa1c3ed8, rref_pointer_array=0xa1c5978, tables=0x0, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0,
having=0x0, proc_param=0x0, select_options=2147764736, result=0xae5133c0, unit=0xa1c55d8, select_lex=0xa1c5874) at sql_select.cc:2701
#19 0x0830d95b in handle_select (thd=0xa1c3ed8, lex=0xa1c557c, result=0xae5133c0, setup_tables_done_option=0) at sql_select.cc:282
#20 0x082aa308 in execute_sqlcom_select (thd=0xa1c3ed8, all_tables=0x0) at sql_parse.cc:5094
#21 0x082a1152 in mysql_execute_command (thd=0xa1c3ed8) at sql_parse.cc:2239
#22 0x082ac8ab in mysql_parse (thd=0xa1c3ed8, rawbuf=0xae512eb0 "SELECT COLUMN_CREATE( 1 , COLUMN_GET( 'a' , 2 AS DATE ) )", length=57,
found_semicolon=0xae8a0228) at sql_parse.cc:6094
#23 0x0829eddb in dispatch_command (command=COM_QUERY, thd=0xa1c3ed8, packet=0xa21eae9 "", packet_length=57) at sql_parse.cc:1215
#24 0x0829e239 in do_command (thd=0xa1c3ed8) at sql_parse.cc:904
#25 0x0829b2ec in handle_one_connection (arg=0xa1c3ed8) at sql_connect.cc:1154
#26 0x00821919 in start_thread () from /lib/libpthread.so.0
#27 0x00453cce in clone () from /lib/libc.so.6
test case:
SELECT COLUMN_CREATE( 1 , COLUMN_GET( 'a' , 2 AS DATE ) );
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Re: Assertion `value->year <= 9999' failed in dynamic_column_date_store
DECIMAL is also affected:
mysqld: decimal.c:1459: decimal_bin_size: Assertion `scale >= 0 && precision > 0 && scale <= precision' failed.