Mysql_backend now only sends complete packets from the backend servers.

This commit is contained in:
Markus Makela
2015-03-22 08:56:18 +02:00
parent 55513cc998
commit e0ce987d72
2 changed files with 21 additions and 5 deletions

View File

@ -336,6 +336,8 @@ gwbuf_append(GWBUF *head, GWBUF *tail)
{
if (!head)
return tail;
if(!tail)
return head;
CHK_GWBUF(head);
head->tail->next = tail;
head->tail = tail->tail;