summaryrefslogtreecommitdiff
path: root/includes/database.mysql.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/database.mysql.inc')
-rw-r--r--includes/database.mysql.inc12
1 files changed, 8 insertions, 4 deletions
diff --git a/includes/database.mysql.inc b/includes/database.mysql.inc
index 2f27a7a5e..73e331615 100644
--- a/includes/database.mysql.inc
+++ b/includes/database.mysql.inc
@@ -24,8 +24,9 @@ function db_connect($url) {
/**
* Runs a query in the database.
*
- * @param $query SQL query, followed by a variable number of arguments which are substituted into query by sprintf.
- * @return a MySQL result or FALSE if the query was not executed correctly.
+ * @param $query SQL query, followed by a variable number of arguments which
+ * are substituted into query by sprintf.
+ * @return a MySQL result or FALSE if the query was not executed correctly.
*/
function db_query($query) {
$args = func_get_args();
@@ -148,8 +149,11 @@ function db_affected_rows() {
/**
* Runs a LIMIT query in the database.
*
- * @param $query SQL query, followed by a variable number of arguments which are substituted into query by sprintf, followed by 'from' and 'count' parameters. 'from' is the row to start fetching, 'count' the numbers of rows to fetch.
- * @return a MySQL result or FALSE if the query was not executed correctly.
+ * @param $query SQL query, followed by a variable number of arguments which
+ * are substituted into query by sprintf, followed by 'from' and 'count'
+ * parameters. 'from' is the row to start fetching, 'count' the numbers of
+ * rows to fetch.
+ * @return a MySQL result or FALSE if the query was not executed correctly.
*/
function db_query_range($query) {
$args = func_get_args();