diff options
Diffstat (limited to 'framework/Data/Common/Mysql/TMysqlMetaData.php')
| -rw-r--r-- | framework/Data/Common/Mysql/TMysqlMetaData.php | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/framework/Data/Common/Mysql/TMysqlMetaData.php b/framework/Data/Common/Mysql/TMysqlMetaData.php index ebe851b6..e4d043ed 100644 --- a/framework/Data/Common/Mysql/TMysqlMetaData.php +++ b/framework/Data/Common/Mysql/TMysqlMetaData.php @@ -270,6 +270,7 @@ 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);
  		$result = $command->queryRow();
  		return $result['Create Table'];
 | 
