Changeset:
        883369262044
        
https://sourceforge.net/p/mrbs/hg-code/ci/8833692620440773347e26a3f9313874ad9c7cfd
Author:
        Campbell Morrison <[email protected]>
Date:
        Thu Sep 29 09:49:01 2016 +0100
Log message:

Fixed comments for sql_query1()

diffstat:

 web/lib/MRBS/DB.php |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (16 lines):

diff -r 4f5c8d45272a -r 883369262044 web/lib/MRBS/DB.php
--- a/web/lib/MRBS/DB.php       Thu Sep 29 09:45:56 2016 +0100
+++ b/web/lib/MRBS/DB.php       Thu Sep 29 09:49:01 2016 +0100
@@ -120,9 +120,9 @@
   
   // Execute an SQL query which should return a single non-negative number 
value.
   // This is a lightweight alternative to query(), good for use with count(*)
-  // and similar queries. 
-  // It returns -1 on error or if the query did not return
-  // exactly one value, so error checking is somewhat limited.
+  // and similar queries.
+  // It returns -1 if the query did not return exactly one value, so error 
checking
+  // is somewhat limited.
   // It also returns -1 if the query returns a single NULL value, such as from
   // a MIN or MAX aggregate function applied over no rows.
   // Throws a DBException on error.

------------------------------------------------------------------------------
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to