Commit f5ee7fb3 authored by FaramosCZ's avatar FaramosCZ Committed by Marko Mäkelä

Fix a memory leak in ALTER TABLE

Closes #965
parent 79078167
...@@ -836,6 +836,7 @@ BtrBulk::insert( ...@@ -836,6 +836,7 @@ BtrBulk::insert(
level, m_flush_observer)); level, m_flush_observer));
err = new_page_bulk->init(); err = new_page_bulk->init();
if (err != DB_SUCCESS) { if (err != DB_SUCCESS) {
UT_DELETE(new_page_bulk);
return(err); return(err);
} }
......
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