From d6ef8e39d858de50107950180ea111349e4b0d6f Mon Sep 17 00:00:00 2001 From: rojaro <> Date: Thu, 25 Jun 2009 13:55:19 +0000 Subject: - added missing namespacepath elements for schemas --- framework/Db/TDbConnection.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/framework/Db/TDbConnection.php b/framework/Db/TDbConnection.php index c386f62b..c1c65173 100755 --- a/framework/Db/TDbConnection.php +++ b/framework/Db/TDbConnection.php @@ -371,22 +371,22 @@ class TDbConnection extends TComponent switch(strtolower($driver)) { case 'pgsql': // PostgreSQL - prado::using('System.db.schema.TPgsqlSchema'); + prado::using('System.db.schema.pgsql..TPgsqlSchema'); return $this->_schema=new TPgsqlSchema($this); case 'mysqli': // MySQL case 'mysql': - prado::using('System.db.schema.TMysqlSchema'); + prado::using('System.db.schema.mysql..TMysqlSchema'); return $this->_schema=new TMysqlSchema($this); case 'sqlite': // sqlite 3 case 'sqlite2': // sqlite 2 - prado::using('System.db.schema.TSqliteSchema'); + prado::using('System.db.schema.sqlite.TSqliteSchema'); return $this->_schema=new TSqliteSchema($this); case 'mssql': // Mssql driver on windows hosts case 'dblib': // dblib drivers on linux (and maybe others os) hosts - prado::using('System.db.schema.TMssqlSchema'); + prado::using('System.db.schema.mssql.TMssqlSchema'); return $this->_schema=new TMssqlSchema($this); case 'oci': // Oracle driver - prado::using('System.db.schema.TOciSchema'); + prado::using('System.db.schema.oci.TOciSchema'); return $this->_schema=new TOciSchema($this); case 'ibm': default: -- cgit v1.2.3