Crash with Spatial Index (4.1)
am 06.01.2003 00:08:03 von Georg RichterHi,
how-to-repeat:
mysql> drop table a;
Query OK, 0 rows affected (0.00 sec)
mysql> create table a (a blob, spatial key(a));
Query OK, 0 rows affected (0.00 sec)
mysql> create table b (a int);
Query OK, 0 rows affected (0.01 sec)
mysql> insert into b values (1);
Query OK, 1 row affected (0.03 sec)
mysql> insert into a (a) values (point(1,1));
Query OK, 1 row affected (0.02 sec)
mysql> insert into a (a) values (point(1, (select a from b)));
ERROR 2013: Lost connection to MySQL server during query
When spatial key isn't defined query works ok
Btw: Is there any docu available which is more up to date than gis.txt in the
Docs-subdir?
Stack-Trace:
0x80f112b handle_segfault + 447
0x40047bc4 _end + 935313260
0x8260dbd sp_get_geometry_mbr + 17
0x8260c30 sp_mbr_from_wkb + 84
0x8260b56 sp_make_key + 86
0x823acdb _mi_make_key + 107
0x82434a7 mi_write + 839
0x81524a1 write_row__9ha_myisamPc + 105
0x812a447 write_record__FP8st_tableP12st_copy_info + 643
0x8129cb4
mysql_insert__FP3THDP13st_table_listRt4List1Z4ItemRt4List1Zt 4List1Z4ItemT2T215enum_duplicates
+ 1564
0x80fe22e mysql_execute_command__FP3THD + 7570
0x8100d01 mysql_parse__FP3THDPcUi + 229
0x80fb90c dispatch_command__F19enum_server_commandP3THDPcUi + 1732
0x80fb23d do_command__FP3THD + 301
0x80fa947 handle_one_connection + 723
0x40044f37 _end + 935301855
0x401a0baa _end + 936726354
Regards
Georg
------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail bugs-thread13407@lists.mysql.com
To unsubscribe, e-mail