From c1918dc28f0d264c2f946bf26752a160c3aabe3d Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Mon, 12 Jul 2010 22:44:27 +0200 Subject: [PATCH] we need some ordering --- src/libhydra/plugins/attr_sql/pool_attributes.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libhydra/plugins/attr_sql/pool_attributes.c b/src/libhydra/plugins/attr_sql/pool_attributes.c index 7e3cb8607..5f7afdfcd 100644 --- a/src/libhydra/plugins/attr_sql/pool_attributes.c +++ b/src/libhydra/plugins/attr_sql/pool_attributes.c @@ -586,7 +586,9 @@ void status_attr(bool hexout) "LEFT OUTER JOIN identities " "ON attributes.identity = identities.id " "LEFT OUTER JOIN attribute_pools " - "ON attributes.pool = attribute_pools.id", + "ON attributes.pool = attribute_pools.id " + "ORDER BY attributes.type, attribute_pools.name, " + "identities.type, identities.data, attributes.value", DB_INT, DB_TEXT, DB_INT, DB_BLOB, DB_BLOB); if (enumerator) {