From a9014dcee56ecbcee2321bddc51b239af2d59d5e Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 15 Jun 2007 14:55:45 +0000 Subject: Fixed #650. --- framework/Data/Common/Mysql/TMysqlMetaData.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework') 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); -- cgit v1.2.3