This is a requirement for correct schema syntax comparison.
"lib/ldb/tests/test-tdb-features.sh" demostrates this when adding index
entries and the default syntax is set to INTEGER.
int r;
const struct ldb_schema_attribute *def = &ldb_attribute_default;
+ /* special attributes should always be handled by the default syntax */
+ if (name[0] == '@') {
+ return def;
+ }
+
/* as handlers are sorted, '*' must be the first if present */
if (strcmp(ldb->schema.attributes[0].name, "*") == 0) {
def = &ldb->schema.attributes[0];