Bug #13627 MySQL crashes when invoking DROP TRIGGER in a trigger
| Submitted: | 30 Sep 2005 0:28 | Modified: | 20 Nov 2005 3:07 |
|---|---|---|---|
| Reporter: | jocelyn fournier (Silver Quality Contributor) | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server | Severity: | S1 (Critical) |
| Version: | 5.0.14-rc | OS: | Linux (linux) |
| Assigned to: | Oleksandr Byelkin | CPU Architecture: | Any |
[30 Sep 2005 0:28]
jocelyn fournier
[30 Sep 2005 0:44]
MySQL Verification Team
miguel@hegel:~/dbs/5.0> bin/mysql -uroot test
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 5.0.14-rc-debug
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> DROP TABLE IF EXISTS t1;
Query OK, 0 rows affected (0.01 sec)
mysql> DROP TABLE IF EXISTS t2;
Query OK, 0 rows affected (0.00 sec)
mysql> CREATE TABLE t1 (a int);
Query OK, 0 rows affected (0.04 sec)
mysql> CREATE TABLE t2 (a int);
Query OK, 0 rows affected (0.04 sec)
mysql> delimiter //
mysql> CREATE TRIGGER test BEFORE INSERT ON t1 FOR EACH ROW BEGIN DROP TRIGGER test1;
-> END //
Query OK, 0 rows affected (0.01 sec)
mysql> CREATE TRIGGER test1 BEFORE INSERT ON t2 FOR EACH ROW BEGIN DROP TRIGGER test;
-> END //
Query OK, 0 rows affected (0.01 sec)
mysql> delimiter ;
mysql> INSERT INTO t1 VALUES (1);
ERROR 1100 (HY000): Table 't2' was not locked with LOCK TABLES
mysql> INSERT INTO t1 VALUES (1);
ERROR 2013 (HY000): Lost connection to MySQL server during query
mysql>
[16 Oct 2005 7:06]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/internals/31143
[11 Nov 2005 14:51]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/internals/32181
[15 Nov 2005 11:05]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/internals/32266
[15 Nov 2005 17:06]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/internals/32278
[16 Nov 2005 12:12]
Oleksandr Byelkin
Thank you for bugreport. The bugfix is pushed to 5.0.17
[20 Nov 2005 3:07]
Paul DuBois
Noted in 5.0.17 changelog.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.058 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.