From f2ad54728d9d49a391e28501ae3ceea3c2bc5da0 Mon Sep 17 00:00:00 2001 From: wei <> Date: Sun, 22 Apr 2007 00:38:45 +0000 Subject: Minor change to Mysql metadata --- framework/Data/Common/Mysql/TMysqlMetaData.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Data/Common') 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']; } -- cgit v1.2.3