Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

Commit 52438c0

Browse files
committed
Revert changes fixed in #1235
1 parent 32bf049 commit 52438c0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/sql/insert_sql_test.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,6 @@ TEST_F(InsertSQLTests, BadTypes) {
598598
query = "INSERT INTO foo(id5) VALUES('h');";
599599
EXPECT_THROW(TestingSQLUtil::GeneratePlanWithOptimizer(optimizer, query, txn),
600600
peloton::Exception);
601-
txn_manager.CommitTransaction(txn);
602601

603602
// free the database just created
604603
txn = txn_manager.BeginTransaction();
@@ -619,7 +618,6 @@ TEST_F(InsertSQLTests, NonExistentTable) {
619618
txn = txn_manager.BeginTransaction();
620619
EXPECT_THROW(TestingSQLUtil::GeneratePlanWithOptimizer(optimizer, query, txn),
621620
peloton::CatalogException);
622-
txn_manager.CommitTransaction(txn);
623621
}
624622

625623
} // namespace test

0 commit comments

Comments
 (0)