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