Bug #15819 | LIST partitioning: crash on attempt to insert a value < lowest_list_const | ||
---|---|---|---|
Submitted: | 17 Dec 2005 4:56 | Modified: | 28 Dec 2005 14:30 |
Reporter: | Sergey Petrunya | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Partitions | Severity: | S2 (Serious) |
Version: | 5.1-bk | OS: | Linux (Linux) |
Assigned to: | Sergey Petrunya | CPU Architecture: | Any |
[17 Dec 2005 4:56]
Sergey Petrunya
[17 Dec 2005 13:40]
MySQL Verification Team
051217 11:42:03 [Note] /home/miguel/dbs/5.1/libexec/mysqld: ready for connections. Version: '5.1.4-alpha-debug' socket: '/tmp/mysql.sock' port: 3306 Source distribution [New Thread 1119861680 (LWP 28294)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1119861680 (LWP 28294)] 0x0815d772 in get_partition_id_list (part_info=0x919acb0, part_id=0x42bfa500) at sql_partition.cc:2476 2476 list_value= list_array[list_index].list_value; (gdb)
[27 Dec 2005 5:55]
Sergey Petrunya
Fixed by implementation of WL#2985 "Partition pruning". The fix has been pushed into 5.1.5 tree.
[28 Dec 2005 14:30]
Jon Stephens
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bugfix, yourself. More information about accessing the source trees is available at http://www.mysql.com/doc/en/Installing_source_tree.html Additional info: Note: The behaviour in such cases is now to return ERROR 1500 (HY000): Table has no partition for value %s. (Verified with clone from latest 5.1) Documented fix in 5.1.5 changelog. Closed.