summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorrojaro <>2009-06-25 13:55:19 +0000
committerrojaro <>2009-06-25 13:55:19 +0000
commitd6ef8e39d858de50107950180ea111349e4b0d6f (patch)
tree4e803b1657c88eb68f7ecdeddeea93790429f96c /framework
parent3f0149b5b74d4017ba7f4ca28aa8a3e2053db964 (diff)
- added missing namespacepath elements for schemas
Diffstat (limited to 'framework')
-rwxr-xr-xframework/Db/TDbConnection.php10
1 files 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: