Bug #4000 | subquery with variable on BDB table fails + damages table | ||
---|---|---|---|
Submitted: | 4 Jun 2004 11:51 | Modified: | 23 Jun 2004 17:55 |
Reporter: | Matthias Leich | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 4.1 | OS: | Linux (Linux) |
Assigned to: | Sergei Golubchik | CPU Architecture: | Any |
[4 Jun 2004 11:51]
Matthias Leich
[4 Jun 2004 11:54]
Matthias Leich
Test case file for mysqltest
Attachment: bla.test (application/octet-stream, text), 1.74 KiB.
[7 Jun 2004 14:51]
Matthias Leich
The bug seems to be bigger, because the variable is not needed. I have an a little bit different(correlated subquery,no variable) test case which gives the same error. I assume there is the same reason for the same wrong behaviour. That's the reason why I do not write a new bug report. Please have a look on the file ml_err5.test. BTW: I have also a test case (correlated subquery, prepared statement) with that error.
[7 Jun 2004 14:53]
Matthias Leich
test case with correlated subquery + no variable
Attachment: ml_err5.test (application/octet-stream, text), 250 bytes.
[7 Jun 2004 17:17]
Ramil Kalimullin
Matthias, thank you for the excellent test cases! ChangeSet 1.1896 04/06/07 20:16:02 ram@gw.mysql.r18.ru +3 -0 A fix (Bug #4000: subquery with variable on BDB table fails + damages table).
[22 Jun 2004 10:48]
Michael Widenius
Sergei will shortly push a fix for index_init/index_end usage that will fix this bug.
[23 Jun 2004 17:55]
Sergei Golubchik
fixed in 4.1.3