Bug with Polygon (4.1)

Bug with Polygon (4.1)

am 06.01.2003 00:32:45 von Georg Richter

Hi,

how-to-repeat:

mysql> create table a (a blob);
Query OK, 0 rows affected (0.01 sec)

mysql> insert into a values (point(1,1));
Query OK, 1 row affected (0.02 sec)

mysql> select linestring((select a from b), point(2,2));
works ok

mysql> select polygon(linestring(point(1,1), point(2,2)));
works ok

mysql> select polygon(linestring((select a from b), point(2,2)));
ERROR 2013: Lost connection to MySQL server during query

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 ha_myisam::write_row(char *) + 105
0x812a447 write_record(st_table *, st_copy_info *) + 643
0x8129cb4 mysql_insert(THD *, st_table_list *, List &, List
> &, List &, List &, enum_duplicates) + 1564
0x80fe22e mysql_execute_command(THD *) + 7570
0x8100d01 mysql_parse(THD *, char *, unsigned int) + 229
0x80fb90c dispatch_command(enum_server_command, THD *, char *, unsigned int)
+ 1732
0x80fb23d do_command(THD *) + 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-thread13408@lists.mysql.com
To unsubscribe, e-mail