Code

store_lookup_test: Added some tests for attribute.FOO IS NULL.
[sysdb.git] / src / core / store_lookup.c
index 557b93662f55d0ce4a83329112c98a2382b74a85..317be555b7be0560833fd056e47daf8e1d0e72e7 100644 (file)
@@ -580,7 +580,7 @@ isnull_matcher_destroy(sdb_object_t *obj)
 static char *
 isnull_tostring(sdb_store_matcher_t *m, char *buf, size_t buflen)
 {
-       snprintf(buf, buflen, "(IS NULL, attr.%s)", ISNULL_M(m)->attr_name);
+       snprintf(buf, buflen, "(IS NULL, ATTR[%s])", ISNULL_M(m)->attr_name);
        return buf;
 } /* isnull_tostring */