summaryrefslogtreecommitdiff
path: root/databases/ldb13/files/patch-ldb_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'databases/ldb13/files/patch-ldb_cache.c')
-rw-r--r--databases/ldb13/files/patch-ldb_cache.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/databases/ldb13/files/patch-ldb_cache.c b/databases/ldb13/files/patch-ldb_cache.c
deleted file mode 100644
index 031cd3dd1b21..000000000000
--- a/databases/ldb13/files/patch-ldb_cache.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- ldb_tdb/ldb_cache.c.orig 2018-03-04 05:41:25 UTC
-+++ ldb_tdb/ldb_cache.c
-@@ -91,7 +91,9 @@ static int ldb_schema_attribute_compare(
- {
- const struct ldb_schema_attribute *sa1 = (const struct ldb_schema_attribute *)p1;
- const struct ldb_schema_attribute *sa2 = (const struct ldb_schema_attribute *)p2;
-- return ldb_attr_cmp(sa1->name, sa2->name);
-+ int res = ldb_attr_cmp(sa1->name, sa2->name);
-+
-+ return (res) ? res : (sa1->flags > sa2->flags) ? 1 : (sa1->flags < sa2->flags) ? -1 : 0;
- }
-
- /*