Merge remote-tracking branch 'origin/develop' into MXS-122
Conflicts: server/core/dcb.c
This commit is contained in:
@ -380,6 +380,7 @@ mlist_cursor_t* mlist_cursor_init(
|
||||
|
||||
if (c == NULL) {
|
||||
goto return_cursor;
|
||||
simple_mutex_unlock(&list->mlist_mutex);
|
||||
}
|
||||
c->mlcursor_chk_top = CHK_NUM_MLIST_CURSOR;
|
||||
c->mlcursor_chk_tail = CHK_NUM_MLIST_CURSOR;
|
||||
@ -565,6 +566,7 @@ bool mlist_cursor_move_to_first(
|
||||
simple_mutex_lock(&list->mlist_mutex, true);
|
||||
|
||||
if (mc->mlcursor_list->mlist_deleted) {
|
||||
simple_mutex_unlock(&list->mlist_mutex);
|
||||
return false;
|
||||
}
|
||||
/** Set position point to first node */
|
||||
|
Reference in New Issue
Block a user