diff options
author | wei <> | 2007-01-11 05:24:31 +0000 |
---|---|---|
committer | wei <> | 2007-01-11 05:24:31 +0000 |
commit | faa3edf8d314143967d206aa3815ae4f3a8c14dc (patch) | |
tree | 3f3d9448f8b9770b669e4b5526a4fb44c207adfb /framework/Data | |
parent | 65731b050199ab7ecdd4027fa2d65f2175fe561e (diff) |
no quoting tablename for mysql active record.
Diffstat (limited to 'framework/Data')
-rw-r--r-- | framework/Data/ActiveRecord/Vendor/TMysqlMetaDataInspector.php | 2 |
1 files changed, 1 insertions, 1 deletions
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);
|