Commit e9ce57f6 authored by Benjamin Eberlei's avatar Benjamin Eberlei

Weird behavior of temporary table test on travis

parent a0ba0af4
# Doctrine DBAL
[![Build Status](https://secure.travis-ci.org/doctrine/dbal.png)](http://travis-ci.org/doctrine/dbal)
Powerful database abstraction layer with many features for database schema introspection, schema management and PDO abstraction.
## More resources:
* [Website](http://www.doctrine-project.org)
* [Documentation](http://www.doctrine-project.org/projects/dbal/current/docs/en)
* [Issue Tracker](http://www.doctrine-project.org/jira/browse/DBAL)
* [Downloads](http://github.com/doctrine/dbal/downloads)
...@@ -35,7 +35,10 @@ class TemporaryTableTest extends \Doctrine\Tests\DbalFunctionalTestCase ...@@ -35,7 +35,10 @@ class TemporaryTableTest extends \Doctrine\Tests\DbalFunctionalTestCase
$table->addColumn("id", "integer"); $table->addColumn("id", "integer");
$table->setPrimaryKey(array('id')); $table->setPrimaryKey(array('id'));
$this->_conn->beginTransaction();
$this->_conn->getSchemaManager()->createTable($table); $this->_conn->getSchemaManager()->createTable($table);
$this->_conn->commit();
$this->_conn->beginTransaction(); $this->_conn->beginTransaction();
$this->_conn->insert("non_temporary", array("id" => 1)); $this->_conn->insert("non_temporary", array("id" => 1));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment