Revision: 2488
          https://sourceforge.net/p/mrbs/code/2488/
Author:   cimorrison
Date:     2012-10-11 10:55:28 +0000 (Thu, 11 Oct 2012)
Log Message:
-----------
Corrected comments

Modified Paths:
--------------
    mrbs/trunk/web/dbsys.inc
    mrbs/trunk/web/mysql.inc
    mrbs/trunk/web/mysqli.inc
    mrbs/trunk/web/pgsql.inc

Modified: mrbs/trunk/web/dbsys.inc
===================================================================
--- mrbs/trunk/web/dbsys.inc    2012-10-11 08:52:21 UTC (rev 2487)
+++ mrbs/trunk/web/dbsys.inc    2012-10-11 10:55:28 UTC (rev 2488)
@@ -155,7 +155,7 @@
 }
 
 
-// Run a SQL query, returns a result object
+// Run a SQL query, returns a result object or FALSE on failure
 function sql_query($sql)
 {
   if (func_num_args() > 1)

Modified: mrbs/trunk/web/mysql.inc
===================================================================
--- mrbs/trunk/web/mysql.inc    2012-10-11 08:52:21 UTC (rev 2487)
+++ mrbs/trunk/web/mysql.inc    2012-10-11 10:55:28 UTC (rev 2488)
@@ -92,7 +92,7 @@
 
 // Execute an SQL query. Returns a database-dependent result handle,
 // which should be passed back to sql_row or sql_row_keyed to get the results.
-// Returns 0 on error; use sql_error to get the error message.
+// Returns FALSE on error; use sql_error to get the error message.
 function sql_mysql_query ($sql, $db_conn = null)
 {
   sql_mysql_ensure_handle($db_conn);

Modified: mrbs/trunk/web/mysqli.inc
===================================================================
--- mrbs/trunk/web/mysqli.inc   2012-10-11 08:52:21 UTC (rev 2487)
+++ mrbs/trunk/web/mysqli.inc   2012-10-11 10:55:28 UTC (rev 2488)
@@ -99,7 +99,7 @@
 
 // Execute an SQL query. Returns a database-dependent result handle,
 // which should be passed back to sql_row or sql_row_keyed to get the results.
-// Returns 0 on error; use sql_error to get the error message.
+// Returns FALSE on error; use sql_error to get the error message.
 function sql_mysqli_query ($sql, $db_conn = null)
 {
   sql_mysqli_ensure_handle($db_conn);

Modified: mrbs/trunk/web/pgsql.inc
===================================================================
--- mrbs/trunk/web/pgsql.inc    2012-10-11 08:52:21 UTC (rev 2487)
+++ mrbs/trunk/web/pgsql.inc    2012-10-11 10:55:28 UTC (rev 2488)
@@ -107,7 +107,7 @@
 
 // Execute an SQL query. Returns a database-dependent result handle,
 // which should be passed back to sql_row or sql_row_keyed to get the results.
-// Returns 0 on error; use sql_error to get the error message.
+// Returns FALSE on error; use sql_error to get the error message.
 function sql_pgsql_query ($sql, $db_conn = null)
 {
   sql_pgsql_ensure_handle($db_conn);
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to