From 4cc92e89b376ee767ce1ba8ece55f3e3074d3ffa Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Fri, 15 Apr 2005 20:50:02 +0000 Subject: [PATCH] fix postgresql case-sensitivity issue git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5120 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/db/postgres7.php | 1 + phpBB/docs/CHANGELOG.html | 58 +++++++++++++++++++++++++-------------- phpBB/docs/INSTALL.html | 18 ++++++------ phpBB/docs/README.html | 6 ++-- 4 files changed, 51 insertions(+), 32 deletions(-) diff --git a/phpBB/db/postgres7.php b/phpBB/db/postgres7.php index 96a90fbb1a..03aa7ce15e 100644 --- a/phpBB/db/postgres7.php +++ b/phpBB/db/postgres7.php @@ -123,6 +123,7 @@ class sql_db $this->num_queries++; $query = preg_replace("/LIMIT ([0-9]+),([ 0-9]+)/", "LIMIT \\2 OFFSET \\1", $query); + $query = preg_replace('#(.*SELECT.*)(username|user_email|ban_email) = \'(.*)\'#ise', "\"\\1LOWER(\\2) = '\" . strtolower('\\3') . \"'\"", $query); if( $transaction == BEGIN_TRANSACTION && !$this->in_transaction ) { diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index 5264bef6c2..7a56cd8671 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -3,7 +3,7 @@ -phpBB 2.0.13 :: Changelog +phpBB 2.0.14 :: Changelog