mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 16:48:27 -05:00
parent
3d56311f0c
commit
0ce8323c0d
@ -798,7 +798,9 @@ int loadAppendOnlyFile(char *filename) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* This point can only be reached when EOF is reached without errors.
|
/* This point can only be reached when EOF is reached without errors.
|
||||||
* If the client is in the middle of a MULTI/EXEC, log error and quit. */
|
* If the client is in the middle of a MULTI/EXEC, handle it as it was
|
||||||
|
* a short read, even if technically the protocol is correct: we want
|
||||||
|
* to remove the unprocessed tail and continue. */
|
||||||
if (fakeClient->flags & CLIENT_MULTI) goto uxeof;
|
if (fakeClient->flags & CLIENT_MULTI) goto uxeof;
|
||||||
|
|
||||||
loaded_ok: /* DB loaded, cleanup and return C_OK to the caller. */
|
loaded_ok: /* DB loaded, cleanup and return C_OK to the caller. */
|
||||||
|
Loading…
Reference in New Issue
Block a user