Bug #22172 | multi table delete does not work correct | ||
---|---|---|---|
Submitted: | 9 Sep 2006 10:19 | Modified: | 20 Oct 2006 7:54 |
Reporter: | Georg Richter | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Falcon storage engine | Severity: | S2 (Serious) |
Version: | 5.2 | OS: | Any (all) |
Assigned to: | Kevin Lewis | CPU Architecture: | Any |
[9 Sep 2006 10:19]
Georg Richter
[11 Sep 2006 5:47]
Calvin Sun
mantis bug#215.
[20 Oct 2006 5:35]
Kevin Lewis
Bug #22172 - falcon_bug_215.test failed to delete the second and third records from t1 because the table->status code was left with the value 64 (STATUS_DELETED). Apparently, it is up to the storage engine to set this back to zero on the next call, which is a call to handler::rnd_next(). I found this by tracing the same test against innodb to see what it does.
[20 Oct 2006 7:54]
Hakan Küçükyılmaz
Verified on Linux 32-bit and Linux 64-bit change set 1.2333, 2006-10-19 23:00:34-05:00 hakan@lsmy005:~/work/mysql/mysql-5.1-falcon/mysql-test> ./mysql-test-run.pl --enable-disabled --skip-ndb falcon_bug_215 TEST RESULT TIME (ms) ------------------------------------------------------- falcon_bug_215 [ pass ] 877 ------------------------------------------------------- Stopping All Servers Shutting-down Instance Manager All 1 tests were successful. Regards, Hakan