Bug #851 mysql_stmt_num_rows not implemented?
Submitted: 15 Jul 2003 12:55 Modified: 16 Jul 2003 4:34
Reporter: Brian O'Kelley Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S2 (Serious)
Version:4.1.0 OS:Linux (Linux Intel)
Assigned to: CPU Architecture:Any

[15 Jul 2003 12:55] Brian O'Kelley
Description:
The documentation (Section 9.1.7.12) states that there is a function mysql_stmt_num_rows, but it's not in any of the include files. Would be very nice to have.

Brian

How to repeat:
# grep num_rows /usr/include/mysql/*

/usr/include/mysql/mysql.h:my_ulonglong STDCALL mysql_num_rows(MYSQL_RES *res);

Suggested fix:
Implement it!
[16 Jul 2003 4:34] Alexander Keremidarski
Thank you for your bug report. This issue has been fixed in the latest
development tree for that product. You can find more information about
accessing our development trees at 
    http://www.mysql.com/doc/en/Installing_source_tree.html

# grep num_rows /usr/local/mysql-4.1/include/mysql/*
/usr/local/mysql-4.1/include/mysql/mysql.h:my_ulonglong STDCALL mysql_num_rows(MYSQL_RES *res);
/usr/local/mysql-4.1/include/mysql/mysql.h:my_ulonglong STDCALL mysql_stmt_num_rows(MYSQL_STMT *stmt);