Bug #12865 | Insertion of many rows with duplicates, crashes table with triggers | ||
---|---|---|---|
Submitted: | 30 Aug 2005 0:30 | Modified: | 30 Aug 2005 16:16 |
Reporter: | Jeff Donner | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 5.0.10+ (maybe earlier too) | OS: | SunOS 5.8 |
Assigned to: | CPU Architecture: | Any |
[30 Aug 2005 0:30]
Jeff Donner
[30 Aug 2005 0:55]
MySQL Verification Team
You can upload the schema definition and data at: ftp://ftp.mysql.com:/pub/mysql/download and it will be private only for MySQL's developer. Please use a zipped file with name bug12865.zip Thanks in advance.
[30 Aug 2005 15:13]
Jeff Donner
Miguel, I wasn't able to upload to your FTP server (anonymous didn't have write permissions or something) but this way worked - I hope you notice the file.
[30 Aug 2005 15:56]
MySQL Verification Team
Sorry was my mistake. I wrote the wrong directory should be the /upload directory instead of /download. I was able to get the attached file. Thanks.
[30 Aug 2005 16:16]
MySQL Verification Team
I was unable to reproduce the crash table with current BK source server: mysql> source /home/miguel/dbs/5.0/bug12865.sql Query OK, 0 rows affected, 1 warning (0.00 sec) Query OK, 0 rows affected (0.05 sec) Query OK, 0 rows affected (0.01 sec) Query OK, 0 rows affected (0.01 sec) ERROR 1442 (HY000): Can't update table 'T' in stored function/trigger because it is already used by statement which invoked this stored function/trigger. mysql> check table T; +-------+-------+----------+----------+ | Table | Op | Msg_type | Msg_text | +-------+-------+----------+----------+ | sd.T | check | status | OK | +-------+-------+----------+----------+ 1 row in set (0.01 sec) Maybe is related to the bug: http://bugs.mysql.com/bug.php?id=12644 with your server version.