[pLog-svn] r2232 - plog/trunk/class/database/pdb/drivers

oscar at devel.plogworld.net oscar at devel.plogworld.net
Wed Jun 15 16:20:47 GMT 2005


Author: oscar
Date: 2005-06-15 16:20:47 +0000 (Wed, 15 Jun 2005)
New Revision: 2232

Modified:
   plog/trunk/class/database/pdb/drivers/pdbdriverbase.class.php
Log:
it is not needed to add the ";" at the end of the query, and it was actually
breaking the queries that had a LIMIT xx,yy added via Execute($query,$page,$itemsPerPage)


Modified: plog/trunk/class/database/pdb/drivers/pdbdriverbase.class.php
===================================================================
--- plog/trunk/class/database/pdb/drivers/pdbdriverbase.class.php	2005-06-15 09:42:52 UTC (rev 2231)
+++ plog/trunk/class/database/pdb/drivers/pdbdriverbase.class.php	2005-06-15 16:20:47 UTC (rev 2232)
@@ -138,7 +138,8 @@
                 $query .= ' LIMIT ' . $limit;
             }
 
-            $query .= ';';
+            // not needed!
+            //$query .= ';';
 
             return $query;
         }




More information about the pLog-svn mailing list