[Phpbb-php5mod-cvs-checkins] phpbb-php5/db mysqli.php,1.5,1.6 postgres7.php,1.3,1.4
Brought to you by:
jelly_doughnut
From: Josh <jel...@us...> - 2005-05-08 02:12:52
|
Update of /cvsroot/phpbb-php5mod/phpbb-php5/db In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28399/db Modified Files: mysqli.php postgres7.php Log Message: - phpBB 2.0.15 - some bug fixes courtesy of astute users - a few long arrays turned to short ones Index: mysqli.php =================================================================== RCS file: /cvsroot/phpbb-php5mod/phpbb-php5/db/mysqli.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** mysqli.php 22 Feb 2005 01:21:02 -0000 1.5 --- mysqli.php 8 May 2005 02:12:43 -0000 1.6 *************** *** 86,90 **** if( $this->in_transaction ) { ! mysqli_query("COMMIT", $this->db_connect_id); } --- 86,90 ---- if( $this->in_transaction ) { ! mysqli_query($this->db_connect_id, "COMMIT"); } *************** *** 126,130 **** if( $transaction == END_TRANSACTION && $this->in_transaction ) { ! $result = mysqli_query("COMMIT", $this->db_connect_id); } } --- 126,130 ---- if( $transaction == END_TRANSACTION && $this->in_transaction ) { ! $result = mysqli_query($this->db_connect_id, "COMMIT"); } } Index: postgres7.php =================================================================== RCS file: /cvsroot/phpbb-php5mod/phpbb-php5/db/postgres7.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** postgres7.php 16 Apr 2005 21:02:23 -0000 1.3 --- postgres7.php 8 May 2005 02:12:43 -0000 1.4 *************** *** 124,128 **** $query = preg_replace("/LIMIT ([0-9]+),([ 0-9]+)/", "LIMIT \\2 OFFSET \\1", $query); - $query = preg_replace('#(.*WHERE.*)(username|user_email|ban_email) = \'(.*)\'#ise', "\"\\1LOWER(\\2) = '\" . strtolower('\\3') . \"'\"", $query); if( $transaction == BEGIN_TRANSACTION && !$this->in_transaction ) --- 124,127 ---- |