Bug #21186 | Crash on DELETE within a stored procedure | ||
---|---|---|---|
Submitted: | 20 Jul 2006 15:47 | Modified: | 23 Jul 2006 9:07 |
Reporter: | Steve Nunes | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Stored Routines | Severity: | S3 (Non-critical) |
Version: | 5.0.22 | OS: | Linux (Linux (RedHat ES3)) |
Assigned to: | CPU Architecture: | Any |
[20 Jul 2006 15:47]
Steve Nunes
[20 Jul 2006 22:17]
Hartmut Holzgraefe
This may be a duplicate of bug #19399. Could you try to resolve the stack trace information from the error log as documented in http://dev.mysql.com/doc/refman/5.0/en/using-stack-trace.html so that we can further investigate this?
[20 Jul 2006 23:07]
Steve Nunes
resolved stack trace... 0x81776d8 handle_segfault + 368 0xe7df88 (?) 0x818eca0 _Z21mysql_execute_commandP3THD + 9374 0x818eca0 _Z21mysql_execute_commandP3THD + 9374 0x8289324 _ZN13sp_instr_stmt9exec_coreEP3THDPj + 14 0x8289071 _ZN13sp_lex_keeper23reset_lex_and_exec_coreEP3THDPjbP8sp_instr + 337 0x8289204 _ZN13sp_instr_stmt7executeEP3THDPj + 224 0x8286303 _ZN7sp_head7executeEP3THD + 1219 0x8287296 _ZN7sp_head17execute_procedureEP3THDP4ListI4ItemE + 1010 0x8190fcf _Z21mysql_execute_commandP3THD + 18381 0x8193986 _Z11mysql_parseP3THDPcj + 312 0x818b5bf _Z16dispatch_command19enum_server_commandP3THDPcj + 1617 0x818af63 _Z10do_commandP3THD + 437 0x818a25a handle_one_connection + 768 0xe77dd8 (?) 0x1edd1a (?)
[23 Jul 2006 8:13]
Valeriy Kravchuk
Please, upload some data for the table and send exact call that fails. I was not able to repeat on empty tables with 5.0.25-BK: Please, openxs@suse:~/dbs/5.0> bin/mysql -uroot vj_node 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 13 to server version: 5.0.25 Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> call DeleteEntry(1,1); ERROR 1370 (42000): execute command denied to user 'vjweb'@'%' for routine 'vj_n ode.DeleteEntry' mysql> grant all on *.* to 'vjweb'@'%'; Query OK, 0 rows affected (0.00 sec) mysql> call DeleteEntry(1,1); Query OK, 0 rows affected (0.01 sec)
[23 Jul 2006 9:07]
Valeriy Kravchuk
As we have mulitable delete here in SP, it is almost surely a duplicate of bug #19399. At least, should be checked again only after patch for that fix will apper in public tree.