[anjuta/symbol-db-model] symbol-db: Order query by symbol name
- From: Naba Kumar <naba src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta/symbol-db-model] symbol-db: Order query by symbol name
- Date: Sat, 13 Mar 2010 22:31:54 +0000 (UTC)
commit 5b546742501ff8475bcdd497f2bcc9cdf3dd125b
Author: Naba Kumar <naba gnome org>
Date: Sat Mar 13 20:45:50 2010 +0200
symbol-db: Order query by symbol name
plugins/symbol-db/symbol-db-engine-queries.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/symbol-db/symbol-db-engine-queries.c b/plugins/symbol-db/symbol-db-engine-queries.c
index 18cef3b..6ddb1d1 100644
--- a/plugins/symbol-db/symbol-db-engine-queries.c
+++ b/plugins/symbol-db/symbol-db-engine-queries.c
@@ -645,7 +645,7 @@ symbol_db_engine_get_global_members_filtered (SymbolDBEngine *dbe,
"sym_kind.kind_name AS kind_name %s FROM symbol "
"JOIN sym_kind ON symbol.kind_id = sym_kind.sym_kind_id %s "
"WHERE symbol.scope_id <= 0 AND symbol.is_file_scope = 0 "
- "%s %s %s", info_data->str, join_data->str,
+ "%s order by name %s %s", info_data->str, join_data->str,
group_by_option, limit, offset);
dyn_node = sdb_engine_insert_dyn_query_node_by_id (dbe,
@@ -718,7 +718,7 @@ symbol_db_engine_get_global_members_filtered (SymbolDBEngine *dbe,
"sym_kind.kind_name AS kind_name %s FROM symbol "
"%s JOIN sym_kind ON symbol.kind_id = sym_kind.sym_kind_id "
"WHERE symbol.scope_id <= 0 AND symbol.is_file_scope = 0 "
- "%s %s %s %s", info_data->str, join_data->str,
+ "%s %s order by name %s %s", info_data->str, join_data->str,
filter_str->str, group_by_option, limit, offset);
dyn_node = sdb_engine_insert_dyn_query_node_by_id (dbe,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]