forked from extern/egroupware
fix due to caching and reusing of connection not correctly set $this->Type == "mysql"
This commit is contained in:
parent
af77a3b5f9
commit
2cc00a3c52
@ -560,7 +560,12 @@ class egw_db
|
||||
$Host = preg_replace('/password=[^ ]+/','password=$Password',$Host); // eg. postgres dsn contains password
|
||||
throw new egw_exception_db_connection("ADOdb::$connect($Host, $User, \$Password, $Database) reconnect failed.");
|
||||
}
|
||||
|
||||
// fix due to caching and reusing of connection not correctly set $this->Type == 'mysql'
|
||||
if ($this->Type == 'mysqli')
|
||||
{
|
||||
$this->setupType = $this->Type;
|
||||
$this->Type = 'mysql';
|
||||
}
|
||||
if ($new_connection)
|
||||
{
|
||||
foreach(get_included_files() as $file)
|
||||
|
Loading…
Reference in New Issue
Block a user