Added additional tests for null strings in bacstr module when comparing strings.

This commit is contained in:
skarg
2006-02-10 12:51:56 +00:00
parent 7648d14517
commit c8b4daf188
+10
View File
@@ -257,6 +257,16 @@ bool characterstring_same(
}
}
}
else if (src)
{
if (src->length == 0)
same_status = true;
}
else if (dest)
{
if (dest->length == 0)
same_status = true;
}
return same_status;
}