From: Andreas Steffen Date: Mon, 12 Jul 2010 20:44:27 +0000 (+0200) Subject: we need some ordering X-Git-Tag: 4.4.1~85 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c1918dc28f0d264c2f946bf26752a160c3aabe3d;p=thirdparty%2Fstrongswan.git we need some ordering --- diff --git a/src/libhydra/plugins/attr_sql/pool_attributes.c b/src/libhydra/plugins/attr_sql/pool_attributes.c index 7e3cb8607c..5f7afdfcd1 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) {