From: Reini U. <ru...@us...> - 2004-11-11 14:34:23
|
Update of /cvsroot/phpwiki/phpwiki/lib/WikiDB/backend In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21964/WikiDB/backend Modified Files: ADODB_mysql.php PearDB_mysql.php Log Message: minor clarifications Index: ADODB_mysql.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/WikiDB/backend/ADODB_mysql.php,v retrieving revision 1.8 retrieving revision 1.9 diff -u -2 -b -p -d -r1.8 -r1.9 --- ADODB_mysql.php 10 Nov 2004 19:32:24 -0000 1.8 +++ ADODB_mysql.php 11 Nov 2004 14:34:12 -0000 1.9 @@ -128,4 +128,5 @@ extends WikiDB_backend_ADODB // have a record in the page table. Since it's just the // hit count, who cares? + // LIMIT since 3.23 $dbh->Execute(sprintf("UPDATE LOW_PRIORITY %s SET hits=hits+1 WHERE pagename=%s LIMIT 1", $this->_table_names['page_tbl'], Index: PearDB_mysql.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/WikiDB/backend/PearDB_mysql.php,v retrieving revision 1.11 retrieving revision 1.12 diff -u -2 -b -p -d -r1.11 -r1.12 --- PearDB_mysql.php 10 Nov 2004 19:32:24 -0000 1.11 +++ PearDB_mysql.php 11 Nov 2004 14:34:12 -0000 1.12 @@ -152,4 +152,5 @@ extends WikiDB_backend_PearDB // have a record in the page table. Since it's just the // hit count, who cares? + // LIMIT since 3.23 $dbh->query(sprintf("UPDATE LOW_PRIORITY %s SET hits=hits+1 WHERE pagename='%s' LIMIT 1", $this->_table_names['page_tbl'], |