/**
* Tests the compatibility of transactions with DDL statements.
*/ publicfunctiontestTransactionWithDdlStatement(){ // First, test that a commit works normally, even with DDL statements.
$transaction = $this->connection->startTransaction(); $this->insertRow('row'); $this->executeDDLStatement(); unset($transaction); $this->assertRowPresent('row');