Commit e545d107 authored by unknown's avatar unknown

bug#24470 MySQL Servers crashes during creating new tables with blob column:...

bug#24470  MySQL Servers crashes during creating new tables with blob column: fix of error handling at resource shortage


parent b846af89
......@@ -2299,7 +2299,7 @@ NdbDictionaryImpl::createTable(NdbTableImpl &t)
// blob tables - use "t2" to get values set by kernel
if (t2->m_noOfBlobs != 0 && createBlobTables(*t2) != 0) {
int save_code = m_error.code;
(void)dropTable(*t2);
(void)dropTableGlobal(*t2);
m_error.code = save_code;
delete t2;
DBUG_RETURN(-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