plugin-test: add mqi_open() that db-cmd's work even if noone else opens the DB
authorJanos Kovacs <jankovac503@gmail.com>
Sun, 7 Oct 2012 16:31:38 +0000 (19:31 +0300)
committerKrisztian Litkey <krisztian.litkey@intel.com>
Fri, 26 Oct 2012 16:03:51 +0000 (19:03 +0300)
src/plugins/plugin-test.c

index ea6d4d0..8ced359 100644 (file)
@@ -800,6 +800,8 @@ static int test_init(mrp_plugin_t *plugin)
 
     subscribe_events(plugin);
 
+    mqi_open();
+
     return !args[ARG_FAILINIT].bln;
 }