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);

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.038 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.