Bug #3153 | bad result set data with "SELECT...FOR UPDATE" | ||
---|---|---|---|
Submitted: | 12 Mar 2004 4:58 | Modified: | 21 Mar 2004 23:09 |
Reporter: | marcello soffritti | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S2 (Serious) |
Version: | 4.0.16 | OS: | HP/UX (HPUX11.11) |
Assigned to: | Dean Ellis | CPU Architecture: | Any |
[12 Mar 2004 4:58]
marcello soffritti
[18 Mar 2004 13:04]
Dean Ellis
I cannot repeat this against 4.0.19 or 4.1.2. Session A should and does block all three queries in Session B. Please try with a current release, and make sure that the test case is accurate.
[18 Mar 2004 13:24]
Dean Ellis
Clarifying: The lock that Session A holds should (and does in testing) cause each of the three queries that Session B attempts to block and then time out.
[18 Mar 2004 23:59]
Heikki Tuuri
Hi! I was not able to repeat the strange output against 4.0.15 or 4.0.17 on Linux. I tested also with the query cache enabled. Hmm... could this be some bug in the mysqld HP-UX build? Thank you, Heikki
[21 Mar 2004 23:09]
Heikki Tuuri
Hi! A note from Guilhem: " Just to say that yesterday I tested on our HP-UX 11 machine ... with 4.0.15-64bit and 4.1.2-latest-bk and got results like on Linux (always timeout). So I could not repeat their problem. " Thus, we cannot repeat this on 64-bit HP-UX either. Marcello, please send us very detailed instructions about how to repeat the problem. Thank you, Heikki
[26 Mar 2004 6:50]
marcello soffritti
Hi, I have noticed that I can't repeat the bug again. Note that I think that the bug exists: in fact the trace messages + SQL commands added in the bug description are the mysql client real input/output. If I'll encounter it again, I'll add a new comment to the current bug #3153. Best regards, Marcello.