Skip to content

Commit

Permalink
DDC-1337 - Fix MultiTableDeleteExecutor and MultiTableUpdateExecutor …
Browse files Browse the repository at this point in the history
…in MySQL transaction case
  • Loading branch information
beberlei committed Sep 25, 2011
1 parent 90c50b0 commit 7f9cb95
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/Doctrine/ORM/Query/Exec/MultiTableDeleteExecutor.php
Expand Up @@ -98,7 +98,7 @@ public function __construct(AST\Node $AST, $sqlWalker)
}
$this->_createTempTableSql = $platform->getCreateTemporaryTableSnippetSQL() . ' ' . $tempTable . ' ('
. $platform->getColumnDeclarationListSQL($columnDefinitions) . ')';
$this->_dropTempTableSql = 'DROP TABLE ' . $tempTable;
$this->_dropTempTableSql = $platform->getDropTemporaryTableSQL($tempTable);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion lib/Doctrine/ORM/Query/Exec/MultiTableUpdateExecutor.php
Expand Up @@ -137,7 +137,7 @@ public function __construct(AST\Node $AST, $sqlWalker)
$this->_createTempTableSql = $platform->getCreateTemporaryTableSnippetSQL() . ' ' . $tempTable . ' ('
. $platform->getColumnDeclarationListSQL($columnDefinitions) . ')';

$this->_dropTempTableSql = 'DROP TABLE ' . $tempTable;
$this->_dropTempTableSql = $platform->getDropTemporaryTableSQL($tempTable);
}

/**
Expand Down

0 comments on commit 7f9cb95

Please sign in to comment.