mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 11:31:51 +01:00
Fixes to BLOB replication code for changes to event(now stores own copy of table)
This commit is contained in:
parent
211ae3ee9b
commit
1939dacd14
3 changed files with 2 additions and 2 deletions
|
@ -4670,7 +4670,7 @@ NdbDictionaryImpl::fix_blob_events(const NdbDictionary::Table* table, const char
|
|||
{
|
||||
const NdbTableImpl& t = table->m_impl;
|
||||
const NdbEventImpl* ev = getEvent(ev_name);
|
||||
assert(ev != NULL && ev->m_tableImpl == &t);
|
||||
assert(ev != NULL);
|
||||
Uint32 i;
|
||||
for (i = 0; i < t.m_columns.size(); i++) {
|
||||
assert(t.m_columns[i] != NULL);
|
||||
|
|
|
@ -267,6 +267,7 @@ class NdbEventImpl : public NdbDictionary::Event, public NdbDictObjectImpl {
|
|||
friend class NdbEventOperationImpl;
|
||||
friend class NdbEventBuffer;
|
||||
friend class EventBufData_hash;
|
||||
friend class NdbBlob;
|
||||
public:
|
||||
NdbEventImpl();
|
||||
NdbEventImpl(NdbDictionary::Event &);
|
||||
|
|
|
@ -335,7 +335,6 @@ NdbEventOperationImpl::getBlobHandle(const NdbColumnImpl *tAttrInfo, int n)
|
|||
NdbEventOperationImpl* tLastBlopOp = NULL;
|
||||
while (tBlobOp != NULL) {
|
||||
if (strcmp(tBlobOp->m_eventImpl->m_name.c_str(), bename) == 0) {
|
||||
assert(tBlobOp->m_eventImpl->m_tableImpl == tAttrInfo->m_blobTable);
|
||||
break;
|
||||
}
|
||||
tLastBlopOp = tBlobOp;
|
||||
|
|
Loading…
Add table
Reference in a new issue