Fix crash in remote00 test: When copying a variable (ValPtr), when the value refers to a string, we must allocate memory for the string and not share the string among the copies, or else the string value is freed twice.
Fix crash in remote00 test:
When copying a variable (ValPtr), when the value refers to a string, we must allocate memory for the string and not share the string among the copies, or else the string value is freed twice.

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb