ST_BUFFER asserts if radius = 0 in maria-5.3-gis
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Fix Released
|
Undecided
|
Alexey Botchkov |
Bug Description
assertion:
mysqld: item_geofunc.
1
backtrace:
#8 0x00399d98 in __assert_fail () from /lib/libc.so.6
#9 0x0825c142 in get_n_sincos (n=65, sinus=0xae8819d0, cosinus=0xae8819c8) at item_geofunc.
#10 0x0825c313 in fill_gap (trn=0xae881abc, x=1, y=1, ax=0, ay=-0, bx=-0, by=0, d=0, empty_gap=
#11 0x0825c7ec in Item_func_
#12 0x0825cf13 in Item_func_
#13 0x0825d055 in Item_func_
#14 0x08482b29 in Gis_line_
#15 0x0825d2a8 in Item_func_
#16 0x081db831 in Item::send (this=0xae512a28, protocol=0xa0cfc0c, buffer=0xae882060) at item.cc:5905
#17 0x08288f24 in select_
#18 0x08325d74 in JOIN::exec (this=0xae520a60) at sql_select.cc:2069
#19 0x08328790 in mysql_select (thd=0xa0cf8e0, rref_pointer_
having=0x0, proc_param=0x0, select_
#20 0x0832065b in handle_select (thd=0xa0cf8e0, lex=0xa0d0fa0, result=0xae512d78, setup_tables_
#21 0x082bbd8b in execute_
#22 0x082b2b8f in mysql_execute_
#23 0x082be3c7 in mysql_parse (thd=0xa0cf8e0,
rawbuf=
found_
#24 0x082b082b in dispatch_command (command=COM_QUERY, thd=0xa0cf8e0, packet=0xa12a3e9 "", packet_length=107) at sql_parse.cc:1206
#25 0x082afcb1 in do_command (thd=0xa0cf8e0) at sql_parse.cc:904
#26 0x082acd2c in handle_
#27 0x00821919 in start_thread () from /lib/libpthread
#28 0x00453cce in clone () from /lib/libc.so.6
test case:
SELECT ST_BUFFER (
);
bzr version-info
revision-id: <email address hidden>
date: 2011-06-20 00:21:41 +0500
build-date: 2011-06-23 18:00:04 +0300
revno: 2982
branch-nick: maria-5.3-gis
Related branches
Changed in maria: | |
milestone: | none → 5.3 |
assignee: | nobody → Alexey Botchkov (holyfoot) |
Changed in maria: | |
status: | Fix Committed → Fix Released |
patch pushed into the 5.3-gis.