diff options
Diffstat (limited to '')
-rw-r--r-- | libmariadb/man/mysql_num_rows.3 | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/libmariadb/man/mysql_num_rows.3 b/libmariadb/man/mysql_num_rows.3 new file mode 100644 index 00000000..c4c25d84 --- /dev/null +++ b/libmariadb/man/mysql_num_rows.3 @@ -0,0 +1,35 @@ +.\" Automatically generated by Pandoc 2.5 +.\" +.TH "mysql_num_rows" "3" "" "Version 3.3.1" "MariaDB Connector/C" +.hy +.SS Name +.PP +mysql_num_rows \- Returns number of rows in a result set. +.SS Synopsis +.IP +.nf +\f[C] +#include <mysql.h> + +my_ulonglong mysql_num_rows(MYSQL_RES * ); +\f[R] +.fi +.SS Description +.PP +Returns number of rows in a result set. +.SS Parameters +.IP \[bu] 2 +\f[C]MYSQL_RES\f[R] \- a result set identifier returned by +\f[B]mysql_store_result(3)\f[R] or \f[B]mysql_use_result(3)\f[R]. +### Notes The behaviour of \f[C]mysql_num_rows()\f[R] depends on whether +buffered or unbuffered result sets are being used. +For unbuffered result sets, \f[C]mysql_num_rows()\f[R] will not return +the correct number of rows until all the rows in the result have been +retrieved. +.SS See also +.IP \[bu] 2 +\f[B]mysql_affected_rows(3)\f[R] +.IP \[bu] 2 +\f[B]mysql_use_result(3)\f[R] +.IP \[bu] 2 +\f[B]mysql_store_result(3)\f[R] |