[anjuta] symbol-db: Show only top levels in level 0 nodes.
- From: Naba Kumar <naba src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] symbol-db: Show only top levels in level 0 nodes.
- Date: Fri, 9 Apr 2010 20:20:12 +0000 (UTC)
commit 1970dea9380b73b1476d3f7f159f469ad6745720
Author: Naba Kumar <naba gnome org>
Date: Wed Apr 7 10:44:36 2010 +0300
symbol-db: Show only top levels in level 0 nodes.
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 2791c2e..89071ac 100644
--- a/plugins/symbol-db/symbol-db-engine-queries.c
+++ b/plugins/symbol-db/symbol-db-engine-queries.c
@@ -1602,11 +1602,11 @@ symbol_db_engine_get_file_symbols (SymbolDBEngine *dbe,
"symbol.returntype AS returntype, file.file_path AS db_file_path "
"%s FROM symbol "
"JOIN file ON symbol.file_defined_id = file.file_id "
- "%s WHERE (symbol.scope_id = 0 AND file.file_path = ## /* name:'filepath' type:gchararray */) "
+ "%s WHERE symbol.scope_id = 0 AND (file.file_path = ## /* name:'filepath' type:gchararray */ "
"or symbol.scope_definition_id in (select scope_id from symbol join file on "
"symbol.file_defined_id = file.file_id where "
"file.file_path = ## /* name:'filepath' type:gchararray */ "
- "group by symbol.scope_id) "
+ "group by symbol.scope_id)) "
"GROUP BY symbol.scope_definition_id ORDER BY symbol.file_position %s %s",
info_data->str, join_data->str, limit, offset);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]