mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Updated for improved use with ODBC setups + introduced a re-install feature ... the schema updates _only_ remove foreign key and drop table clauses
git-svn-id: file:///svn/phpbb/trunk@1491 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -50,11 +50,11 @@ class sql_db
|
||||
|
||||
if($this->persistency)
|
||||
{
|
||||
$this->db_connect_id = odbc_pconnect($this->server, "", "");
|
||||
$this->db_connect_id = odbc_pconnect($this->server, $this->user, $this->password);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->db_connect_id = odbc_connect($this->server, "", "");
|
||||
$this->db_connect_id = odbc_connect($this->server, $this->user, $this->password);
|
||||
}
|
||||
|
||||
if($this->db_connect_id)
|
||||
@@ -169,7 +169,6 @@ class sql_db
|
||||
{
|
||||
$query = preg_replace("/\\\'/s", "''", $query);
|
||||
}
|
||||
|
||||
$this->query_result = odbc_exec($this->db_connect_id, $query);
|
||||
|
||||
if($this->query_result)
|
||||
|
Reference in New Issue
Block a user