Bug #6059 | mysql_stmt_field_count returns positive numbers when no resultset is available | ||
---|---|---|---|
Submitted: | 13 Oct 2004 6:57 | Modified: | 21 Oct 2004 16:19 |
Reporter: | Georg Richter | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S1 (Critical) |
Version: | >= 4.1 | OS: | Linux (Linux) |
Assigned to: | Konstantin Osipov | CPU Architecture: | Any |
[13 Oct 2004 6:57]
Georg Richter
[15 Oct 2004 22:51]
Konstantin Osipov
Subject: bk commit - 4.1 tree (konstantin:1.2109) BUG#6059 ChangeSet 1.2109 04/10/16 02:49:56 konstantin@mysql.com +3 -0 A fix and test case for bug#6059 "mysql_stmt_field_count returns positive numbers when no resultset is available": when sending result set metadata we need to use virtual select_result::send_fields, and not address protocol directly, because select_result descendents may intercept result set (it's the case for example for SELECT INTO OUTFILE).
[21 Oct 2004 16:19]
Konstantin Osipov
Fixed in 4.1.7