Fixed bug when removing reference
authorImran Zaman <imran.zaman@linux.intel.com>
Mon, 30 Jun 2014 11:17:08 +0000 (14:17 +0300)
committerImran Zaman <imran.zaman@linux.intel.com>
Mon, 30 Jun 2014 11:17:08 +0000 (14:17 +0300)
src/daemon/db/gsignond-db-metadata-database.c

index 5c08c5e..e7b08e1 100644 (file)
@@ -1594,7 +1594,7 @@ gsignond_db_metadata_database_remove_reference (
                 "WHERE identity_id = %u AND "
                 "secctx_id = ( SELECT id FROM SECCTX "
                 "WHERE sysctx = %Q AND appctx = %Q ) "
-                "AND ref = :ref;",
+                "AND ref = %Q;",
                 identity_id, ref_owner->sys_ctx, ref_owner->app_ctx, reference);
     }
     if (!ret) {