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

Commit 91268be

Browse files
committed
Change EndTransaction to CommitTransaction
1 parent 39751d5 commit 91268be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/codegen/table_scan_translator_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ TEST_F(TableScanTranslatorTest, MultiLayoutScan) {
708708
// Get table reference
709709
auto table = catalog->GetTableWithName(test_db_name, DEFAULT_SCHEMA_NAME,
710710
table_name, txn);
711-
txn_manager.EndTransaction(txn);
711+
txn_manager.CommitTransaction(txn);
712712

713713
/////////////////////////////////////////////////////////
714714
// Reset default_layout_ to LayoutType::COLUMN
@@ -718,7 +718,7 @@ TEST_F(TableScanTranslatorTest, MultiLayoutScan) {
718718
catalog->GetSystemCatalogs(table->GetDatabaseOid())->GetTableCatalog()
719719
->UpdateDefaultLayoutOid(table->GetDefaultLayout()->GetOid(),
720720
table->GetOid(), txn);
721-
txn_manager.EndTransaction(txn);
721+
txn_manager.CommitTransaction(txn);
722722

723723
/////////////////////////////////////////////////////////
724724
// Load in 100 tuples

0 commit comments

Comments
 (0)