| Bug #52765 | killing "drop function if exists" causes debug assert | ||
|---|---|---|---|
| Submitted: | 12 Apr 2010 12:23 | Modified: | 11 Jun 2012 16:39 |
| Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
| Status: | Can't repeat | Impact on me: | |
| Category: | MySQL Server: General | Severity: | S3 (Non-critical) |
| Version: | 5.1.45-debug, 5.1 bzr | OS: | Any (Windows XP, Linux) |
| Assigned to: | Jon Olav Hauglid | CPU Architecture: | Any |
[12 Apr 2010 12:23]
Shane Bester
[13 Apr 2010 6:40]
Sveta Smirnova
Thank you for the report. Verified as described. To repeat: In 1 terminal run while true; do ./bin/mysql -uroot -S /tmp/mysql_ssmirnova.sock test <./bug52765.sql; done $head bug52765.sql drop function if exists f1; create function f1() returns int return 1; drop function if exists f1; create function f1() returns int return 1; drop function if exists f1; create function f1() returns int return 1; drop function if exists f1; create function f1() returns int return 1; drop function if exists f1; create function f1() returns int return 1; drop function if exists f1; create function f1() returns int return 1; drop function if exists f1; create function f1() returns int return 1; drop function if exists f1; create function f1() returns int return 1; drop function if exists f1; create function f1() returns int return 1; drop function if exists f1; ... $wc -l bug52765.sql 33826 bug52765.sql In second terminal open mysql command line client, then issue SHOW PROCESSLIST, then KILL until server crashes.
[13 Apr 2010 7:48]
Sveta Smirnova
To easily repeat bug in second connection use command: $for i in `seq 1 2 1111`; do ./bin/mysql -uroot -S /tmp/mysql_ssmirnova.sock -e "kill $i"; sleep 1; done
