Bug #10007 crash in mysql_stmt_fetch
Submitted: 19 Apr 2005 18:27 Modified: 20 Apr 2005 18:56
Reporter: Johan Andersson Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server Severity:S1 (Critical)
Version:mysql 5.0.4 OS:Linux (RHEL 4 (64-bit opteron), *)
Assigned to: Dean Ellis CPU Architecture:Any

[19 Apr 2005 18:27] Johan Andersson
Description:
Get a crash as soon as I request for more than two params (select p1, p2 from ...), then it crashes in mysql_stmt_fetch. Using prepared statements. selecting one param works fine.

How to repeat:
Compile the program (it is attached)
Create table (see below)
[19 Apr 2005 18:28] Johan Andersson
changed prio and status.
[20 Apr 2005 18:08] Dean Ellis
Re-opening as the test case may be corrupting MYSQL_BIND, causing the crash itself.
[20 Apr 2005 18:56] Dean Ellis
The test case itself has bugs; once corrected the errors are resolved.