Bug #13440 Partitions: crash if replace statement
Submitted: 23 Sep 2005 19:39 Modified: 20 Jan 2006 10:49
Reporter: Peter Gulutzan
Status: Closed
Category:Server: Partition Severity:S3 (Non-critical)
Version:5.1.2-alpha-debug OS:Linux (SUSE 9.2)
Assigned to: Mikael Ronstrom Target Version:

[23 Sep 2005 19:39] Peter Gulutzan
Description:
The statement "REPLACE table_name SET column_name = value"
causes a crash on a partitioned table.

How to repeat:
mysql> create table tpax (s1 int, unique (s1)) engine=innodb partition by list (s1)
(partition x1 VALUES in (10), partitionx2 values in (20));
Query OK, 0 rows affected (0.01 sec)

mysql> replace tpax set s1 = 4;
ERROR 2013 (HY000): Lost connection to MySQL server during query
[1 Nov 2005 23:23] Mikael Ronstrom
Overuse of unsigned integer is not always recommended
Stumbled on an edge case where int type was needed
[19 Jan 2006 10:05] Mikael Ronstrom
Patch pushed and will appear in 5.1.6
[20 Jan 2006 10:49] 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:

Documented bugfix in 5.1.6 changelog. Closed.