Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion plugins/sql.c
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,8 @@ static struct command_result *one_refresh_done(struct command *cmd,
/* If we may have more, keep going. */
if (was_limited)
return td->refresh(cmd, dbq->tables[0], dbq);
else
td->refresh_needs = REFRESH_UNNECESSARY;

/* We are no longer refreshing */
assert(td->refreshing);
Expand Down Expand Up @@ -1747,7 +1749,6 @@ static struct command_result *refresh_by_created_index(struct command *cmd,

/* Since we're relying on watches, mark refreshing unnecessary to start */
assert(td->refresh_needs != REFRESH_UNNECESSARY);
td->refresh_needs = REFRESH_UNNECESSARY;

req = jsonrpc_request_start(cmd, td->cmdname,
limited_list_done, forward_error,
Expand Down
Loading