From a9014dcee56ecbcee2321bddc51b239af2d59d5e Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 15 Jun 2007 14:55:45 +0000 Subject: Fixed #650. --- HISTORY | 3 ++- framework/Data/Common/Mysql/TMysqlMetaData.php | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/HISTORY b/HISTORY index e57784b9..256a255e 100644 --- a/HISTORY +++ b/HISTORY @@ -1,11 +1,12 @@ Version 3.1.0 To Be Released ============================ BUG: Ticket#621 - TWizardNavigationButtonStyle could not be found (Qiang) +BUG: Ticket#650 - Fixed TMysqlMetaData bug about SHOW FULL TABLES (Qiang) BUG: TWizard Sidebar using TDataListItemRenderer has error (Qiang) ENH: Ticket#631 - Make TQueue implement Countable as the other collection classes (Knut) ENH: Ticket#634 - Override __toString for TXmlElement and TXmlDocument (Knut) -NEW: Ticket#646 - Implement TAPCCache::add() (Knut) CHG: Ticket#649 - Wrong error message in THttpCookieCollection::itemAt() (Knut) +NEW: Ticket#646 - Implement TAPCCache::add() (Knut) Version 3.1.0 RC May 14, 2007 ============================= 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