This commit is contained in:
alecpl
2008-12-03 14:48:26 +00:00
parent 97840cb795
commit 4189ccf44a
2 changed files with 4 additions and 0 deletions

View File

@@ -349,12 +349,14 @@ class MDB2_Driver_mssql extends MDB2_Driver_Common
@mssql_query('SET ANSI_NULL_DFLT_ON ON', $connection);
/*
if (!empty($this->dsn['charset'])) {
$result = $this->setCharset($this->dsn['charset'], $connection);
if (PEAR::isError($result)) {
return $result;
}
}
*/
if ((bool)ini_get('mssql.datetimeconvert')) {
@ini_set('mssql.datetimeconvert', '0');

View File

@@ -412,12 +412,14 @@ class MDB2_Driver_sqlite extends MDB2_Driver_Common
'unable to establish a connection', __FUNCTION__);
}
/*
if (!empty($this->dsn['charset'])) {
$result = $this->setCharset($this->dsn['charset'], $connection);
if (PEAR::isError($result)) {
return $result;
}
}
*/
$this->connection = $connection;
$this->connected_dsn = $this->dsn;