mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-10 11:46:32 +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);
|
unset($this->row);
|
||||||
if($query != "")
|
if($query != "")
|
||||||
{
|
{
|
||||||
|
if($this->db_type == "msaccess")
|
||||||
|
{
|
||||||
|
echo $query = preg_replace("/LOWER\(/", "LCASE(", $query);
|
||||||
|
}
|
||||||
|
|
||||||
if(!eregi("^INSERT ",$query))
|
if(!eregi("^INSERT ",$query))
|
||||||
{
|
{
|
||||||
if(eregi("LIMIT", $query))
|
if(eregi("LIMIT", $query))
|
||||||
|
Reference in New Issue
Block a user