Commit e545d107 authored by unknown's avatar unknown
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);