MXS-2326: Clone routing hints on gwbuf_clone
When a buffer is cloned the hints for that buffer should also be cloned.
This commit is contained in:
parent
19143e04e1
commit
775fc043c8
@ -180,6 +180,7 @@ static GWBUF* gwbuf_clone_one(GWBUF* buf)
|
||||
rval->end = buf->end;
|
||||
rval->gwbuf_type = buf->gwbuf_type;
|
||||
rval->tail = rval;
|
||||
rval->hint = hint_dup(buf->hint);
|
||||
rval->next = NULL;
|
||||
|
||||
return rval;
|
||||
|
Loading…
x
Reference in New Issue
Block a user