Added NULL check for cname.  This "cannot happen". Found by Coverity.
Added NULL check for cname.  This "cannot happen".
Found by Coverity.

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