Fix to bug #470, http://bugs.skysql.com/show_bug.cgi?id=470, in hint_dup: the value field of the duplicated hint was not set. Instead data field was set twice.

This commit is contained in:
VilhoRaatikka
2014-08-07 00:14:15 +03:00
parent 0659d7abd0
commit 183428c48b

View File

@ -56,7 +56,7 @@ HINT *nlhead = NULL, *nltail = NULL, *ptr1, *ptr2;
if (ptr1->value)
ptr2->value = strdup(ptr1->value);
else
ptr2->data = NULL;
ptr2->value = NULL;
ptr2->next = NULL;
if (nltail)
{