[tracker-miners/wip/carlosg/cli-split: 12/23] libtracker-data: Pass virtual table data on TrackerDBManager construction



commit cb24a237d7408d351ad86631015bb500a5c411c2
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu May 2 14:26:15 2019 +0200

    libtracker-data: Pass virtual table data on TrackerDBManager construction
    
    There are paths where the TrackerDBManager may create the writable interface
    early within tracker_db_manager_new(), setting the vtab data later will
    work for database interfaces created later on, but not for the already
    created ones.
    
    Pass the vtab data as (yet...) another argument to tracker_db_manager_new()
    so it is available anytime for the interfaces that will be later created.
    
    Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1683903

 src/tracker/tracker-reset.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/tracker/tracker-reset.c b/src/tracker/tracker-reset.c
index 576e73880..488c5145e 100644
--- a/src/tracker/tracker-reset.c
+++ b/src/tracker/tracker-reset.c
@@ -274,6 +274,7 @@ reset_run (void)
                                                     NULL,
                                                     NULL,
                                                     NULL,
+                                                    NULL,
                                                     &error);
 
                if (!db_manager) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]