diff options
author | xue <> | 2007-06-15 14:55:45 +0000 |
---|---|---|
committer | xue <> | 2007-06-15 14:55:45 +0000 |
commit | a9014dcee56ecbcee2321bddc51b239af2d59d5e (patch) | |
tree | 43a6466dfcb872fe512c8b7be75a0811bcd72005 /framework/Data/Common/Mysql/TMysqlMetaData.php | |
parent | 070339a7fd02d735c704b56242de402910c3e91f (diff) |
Fixed #650.
Diffstat (limited to 'framework/Data/Common/Mysql/TMysqlMetaData.php')
-rw-r--r-- | framework/Data/Common/Mysql/TMysqlMetaData.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Data/Common/Mysql/TMysqlMetaData.php b/framework/Data/Common/Mysql/TMysqlMetaData.php index 3b9a12f7..c80aa8e0 100644 --- a/framework/Data/Common/Mysql/TMysqlMetaData.php +++ b/framework/Data/Common/Mysql/TMysqlMetaData.php @@ -212,9 +212,9 @@ class TMysqlMetaData extends TDbMetaData if($this->getServerVersion()<5.01)
return false;
if($schemaName!==null)
- $sql = "SHOW FULL TABLES FROM `{$schemaName}` LIKE :table";
+ $sql = "SHOW FULL TABLES FROM `{$schemaName}` LIKE ':table'";
else
- $sql = 'SHOW FULL TABLES LIKE :table';
+ $sql = "SHOW FULL TABLES LIKE ':table'";
$command = $this->getDbConnection()->createCommand($sql);
$command->bindValue(':table', $tableName);
|