mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-09 19:26:53 +02:00
Workaround for LOWER -> LCASE for msaccess
git-svn-id: file:///svn/phpbb/trunk@283 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@ -126,6 +126,11 @@ class sql_db
|
||||
unset($this->row);
|
||||
if($query != "")
|
||||
{
|
||||
if($this->db_type == "msaccess")
|
||||
{
|
||||
echo $query = preg_replace("/LOWER\(/", "LCASE(", $query);
|
||||
}
|
||||
|
||||
if(!eregi("^INSERT ",$query))
|
||||
{
|
||||
if(eregi("LIMIT", $query))
|
||||
|
Reference in New Issue
Block a user