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:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user