From faa3edf8d314143967d206aa3815ae4f3a8c14dc Mon Sep 17 00:00:00 2001 From: wei <> Date: Thu, 11 Jan 2007 05:24:31 +0000 Subject: no quoting tablename for mysql active record. --- framework/Data/ActiveRecord/Vendor/TMysqlMetaDataInspector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Data') diff --git a/framework/Data/ActiveRecord/Vendor/TMysqlMetaDataInspector.php b/framework/Data/ActiveRecord/Vendor/TMysqlMetaDataInspector.php index 1c63eec1..dcbf6ada 100644 --- a/framework/Data/ActiveRecord/Vendor/TMysqlMetaDataInspector.php +++ b/framework/Data/ActiveRecord/Vendor/TMysqlMetaDataInspector.php @@ -33,7 +33,7 @@ class TMysqlMetaDataInspector extends TDbMetaDataInspector */ protected function getColumnDefinitions($table) { - $sql="SHOW FULL FIELDS FROM `{$table}`"; + $sql="SHOW FULL FIELDS FROM {$table}"; $conn = $this->getDbConnection(); $conn->setActive(true); $command = $conn->createCommand($sql); -- cgit v1.2.3