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