summaryrefslogtreecommitdiff
path: root/framework/Data
diff options
context:
space:
mode:
authorwei <>2007-04-22 00:38:45 +0000
committerwei <>2007-04-22 00:38:45 +0000
commitf2ad54728d9d49a391e28501ae3ceea3c2bc5da0 (patch)
tree4fef13b21ce6741d9efcc9f0290260cfb77c1b4e /framework/Data
parent758c9ced5f5cd5d3c8a724bded78f90b8322e23f (diff)
Minor change to Mysql metadata
Diffstat (limited to 'framework/Data')
-rw-r--r--framework/Data/Common/Mysql/TMysqlMetaData.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Data/Common/Mysql/TMysqlMetaData.php b/framework/Data/Common/Mysql/TMysqlMetaData.php
index e4d043ed..58648b5f 100644
--- a/framework/Data/Common/Mysql/TMysqlMetaData.php
+++ b/framework/Data/Common/Mysql/TMysqlMetaData.php
@@ -270,8 +270,8 @@ EOD;
$sql = "SHOW CREATE TABLE `{$schemaName}`.`{$tableName}`";
else
$sql = "SHOW CREATE TABLE `{$tableName}`";
- $this->getDbConnection()->cancel(); //remove any existing prepared statement
$command = $this->getDbConnection()->createCommand($sql);
+ $command->cancel(); //remove any existing prepared statement
$result = $command->queryRow();
return $result['Create Table'];
}