Commit 39feca99 authored by pekka@mysql.com's avatar pekka@mysql.com

ndb - drop blob events: table is known so use it

parent a8d4eb8c
......@@ -3840,9 +3840,10 @@ NdbDictionaryImpl::dropBlobEvents(const NdbEventImpl& evnt)
if (! c.getBlobType() || c.getPartSize() == 0)
continue;
n--;
char bename[MAX_TAB_NAME_SIZE];
NdbBlob::getBlobEventName(bename, &evnt, &c);
(void)dropEvent(bename);
NdbEventImpl* blob_evnt = getBlobEvent(evnt, i);
if (blob_evnt == NULL)
continue;
(void)dropEvent(*blob_evnt);
}
} else {
// loop over MAX_ATTRIBUTES_IN_TABLE ...
......
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