mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 05:52:27 +01:00
Bug#25387 ndb: dbug assert in reference counting for event operations
- on blob part execute failure, must leave in state executin, and await dropEventOperation
This commit is contained in:
parent
532a2d9942
commit
867e6dc674
1 changed files with 6 additions and 1 deletions
|
@ -571,7 +571,12 @@ NdbEventOperationImpl::execute_nolock()
|
|||
while (blob_op != NULL) {
|
||||
r = blob_op->execute_nolock();
|
||||
if (r != 0) {
|
||||
break;
|
||||
// since main op is running and possibly some blob ops as well
|
||||
// we can't just reset the main op. Instead return with error,
|
||||
// main op (and blob ops) will be cleaned up when user calls
|
||||
// dropEventOperation
|
||||
m_error.code= myDict->getNdbError().code;
|
||||
DBUG_RETURN(r);
|
||||
}
|
||||
// add blob reference to main op
|
||||
// removed by TE_STOP or TE_CLUSTER_FAILURE
|
||||
|
|
Loading…
Reference in a new issue