Enlightenment CVS committal

Author  : chaos
Project : e17
Module  : apps/evfs

Dir     : e17/apps/evfs/src/bin


Modified Files:
        evfs_metadata_db.c 


Log Message:
Correctly load components

===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/bin/evfs_metadata_db.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- evfs_metadata_db.c  29 Aug 2007 04:31:39 -0000      1.16
+++ evfs_metadata_db.c  30 Aug 2007 03:11:42 -0000      1.17
@@ -573,7 +573,7 @@
 
        entries = ecore_list_new();
 
-       snprintf(query, sizeof(query), "select rtype, rkey, rvalue from 
VFolderSearchComponent where id = ?");
+       snprintf(query, sizeof(query), "select rtype, rkey, rvalue from 
VFolderSearchComponent where vfolderSearch = ?");
        ret = sqlite3_prepare(db, query, -1, &pStmt, 0);
 
        if (ret == SQLITE_OK) {
@@ -611,6 +611,8 @@
 
        files = ecore_list_new();
 
+       printf("Building query from %d entries\n", ecore_list_count(entries));
+       
        snprintf(query,sizeof(query),"select distinct f.filename from File f 
where 1 ");
        while ( (entry=ecore_list_next(entries))) {
                if (entry->type == 'M') {



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to