From b76dd1feacea773cbff168d5d916f4231acc7953 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Wed, 11 Mar 2015 19:59:13 +0100 Subject: [PATCH] data: sdb_data_strcmp supports arrays because sdb_data_format supports it. --- src/core/data.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/core/data.c b/src/core/data.c index 914946f..2b1cff2 100644 --- a/src/core/data.c +++ b/src/core/data.c @@ -668,12 +668,6 @@ sdb_data_strcmp(const sdb_data_t *d1, const sdb_data_t *d2) char d1_str[sdb_data_strlen(d1) + 1]; char d2_str[sdb_data_strlen(d2) + 1]; - if ((d1->type & SDB_TYPE_ARRAY) || (d2->type & SDB_TYPE_ARRAY)) { - /* TODO */ - errno = ENOTSUP; - return -1; - } - if (sdb_data_isnull(d1)) d1 = NULL; if (sdb_data_isnull(d2)) -- 2.30.2