Bug #31472 | multi_update crashes at assert about trans_safe | ||
---|---|---|---|
Submitted: | 9 Oct 2007 8:59 | Modified: | 3 Feb 2008 9:56 |
Reporter: | Andrei Elkin | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S3 (Non-critical) |
Version: | 5.0.50 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[9 Oct 2007 8:59]
Andrei Elkin
[9 Oct 2007 8:59]
Andrei Elkin
Earlier reported Bug #31472 multi_update crashes at assert about trans_safe is set to be the parent.
[2 Feb 2008 3:52]
Valeriy Kravchuk
I can NOT repeat this with 5.0.54: C:\Program Files\MySQL\MySQL Server 5.0\bin>mysql -uroot -proot test -P3308 Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 5 Server version: 5.0.54-enterprise-gpl-nt-log MySQL Enterprise Server (GPL) Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> drop table t3; Query OK, 0 rows affected (0.01 sec) mysql> drop table t4; Query OK, 0 rows affected (0.00 sec) mysql> CREATE TABLE t3 (a int, PRIMARY KEY (a), b int unique) ENGINE=MyISAM; Query OK, 0 rows affected (0.06 sec) mysql> CREATE TABLE t4 (a int, PRIMARY KEY (a), b int unique) ENGINE=Innodb; Query OK, 0 rows affected (0.16 sec) mysql> insert into t3 values (1,3),(2,6); Query OK, 2 rows affected (0.03 sec) Records: 2 Duplicates: 0 Warnings: 0 mysql> insert into t4 values (1,1),(3,2); Query OK, 2 rows affected (0.06 sec) Records: 2 Duplicates: 0 Warnings: 0 mysql> UPDATE t3,t4 SET t4.a=t3.a+1; ERROR 1062 (23000): Duplicate entry '2' for key 1
[3 Feb 2008 9:56]
Andrei Elkin
The bug is a duplication of Bug#30763 fixed with a patch for Bug #29136 as said on the parent bugs pages.