diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 18:00:34 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 18:00:34 +0000 |
commit | 3f619478f796eddbba6e39502fe941b285dd97b1 (patch) | |
tree | e2c7b5777f728320e5b5542b6213fd3591ba51e2 /libmariadb/man/mysql_num_rows.3 | |
parent | Initial commit. (diff) | |
download | mariadb-upstream.tar.xz mariadb-upstream.zip |
Adding upstream version 1:10.11.6.upstream/1%10.11.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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] |