Workaround for LOWER -> LCASE for msaccess

git-svn-id: file:///svn/phpbb/trunk@283 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2001-05-13 17:08:04 +00:00
parent 557887b0d1
commit 12d405c8a3

View file

@ -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))