From defe7baf7d3551d15d0551dd0a923e51a5dd4534 Mon Sep 17 00:00:00 2001 From: Gabor Hojtsy Date: Tue, 16 Apr 2002 19:18:19 +0000 Subject: [PATCH] Adding missing parameter info git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78451 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mysql/functions/mysql-query.xml | 8 ++++++++ reference/mysql/functions/mysql-unbuffered-query.xml | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/reference/mysql/functions/mysql-query.xml b/reference/mysql/functions/mysql-query.xml index a09bd9cc8f..93a5ddeab2 100644 --- a/reference/mysql/functions/mysql-query.xml +++ b/reference/mysql/functions/mysql-query.xml @@ -11,6 +11,7 @@ resourcemysql_query stringquery resourcelink_identifier + intresult_mode mysql_query sends a query to the currently @@ -21,6 +22,13 @@ to establish a link as if mysql_connect was called with no arguments, and use it. + + The optional result_mode parameter + can be MYSQL_USE_RESULT and MYSQL_STORE_RESULT. It + defaults to MYSQL_STORE_RESULT, so the result is buffered. + See also mysql_unbuffered_query for the + counterpart of this behaviour. + The query string should not end with a semicolon. diff --git a/reference/mysql/functions/mysql-unbuffered-query.xml b/reference/mysql/functions/mysql-unbuffered-query.xml index dd9233d6ce..e82a8f9869 100644 --- a/reference/mysql/functions/mysql-unbuffered-query.xml +++ b/reference/mysql/functions/mysql-unbuffered-query.xml @@ -14,6 +14,7 @@ resourcemysql_unbuffered_query stringquery resourcelink_identifier + intresult_mode mysql_unbuffered_query sends a SQL query @@ -28,6 +29,13 @@ have to specify the optional parameter link_identifier. + + The optional result_mode parameter + can be MYSQL_USE_RESULT and MYSQL_STORE_RESULT. It + defaults to MYSQL_USE_RESULT, so the result is not buffered. + See also mysql_query for the + counterpart of this behaviour. + The benefits of mysql_unbuffered_query come