diff options
author | christophe.boulain <> | 2011-01-19 14:56:01 +0000 |
---|---|---|
committer | christophe.boulain <> | 2011-01-19 14:56:01 +0000 |
commit | 95b032891d6617525636cc7b680117dbb14afba7 (patch) | |
tree | 0b9a8adf92176592894cb4f3d981c8a2e0c4f5ec /framework/Data/Common/Mssql | |
parent | f01b9699967b8959ce8721c1e0e3d6edeb309c52 (diff) |
Merge last changes on "Data" from trunk
Diffstat (limited to 'framework/Data/Common/Mssql')
-rw-r--r-- | framework/Data/Common/Mssql/TMssqlMetaData.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Data/Common/Mssql/TMssqlMetaData.php b/framework/Data/Common/Mssql/TMssqlMetaData.php index 8309e4ec..2751caf3 100644 --- a/framework/Data/Common/Mssql/TMssqlMetaData.php +++ b/framework/Data/Common/Mssql/TMssqlMetaData.php @@ -53,9 +53,9 @@ class TMssqlMetaData extends TDbMetaData AND t.table_name = :table EOD; if($schemaName!==null) - $sql .= ' AND t.schema_name = :schema'; + $sql .= ' AND t.table_schema = :schema'; if($catalogName!==null) - $sql .= ' AND t.catalog_name = :catalog'; + $sql .= ' AND t.table_catalog = :catalog'; $command = $this->getDbConnection()->createCommand($sql); $command->bindValue(':table', $tableName); |