Skip to content
Snippets Groups Projects
Commit ba1d0fa0 authored by Dmitry E. Oboukhov's avatar Dmitry E. Oboukhov
Browse files

tp_reply always returns reply-code

parent bebb9192
No related branches found
No related tags found
No related merge requests found
......@@ -550,7 +550,7 @@ tp_reply(struct tp *p) {
p->f = NULL;
p->u = NULL;
if (tp_unlikely(p->h->type == TP_PING))
return TP_PING;
return p->code;
if (tp_unlikely(p->h->type != TP_UPDATE &&
p->h->type != TP_INSERT &&
p->h->type != TP_DELETE &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment