Commit 12fa938e authored by Naba Kumar's avatar Naba Kumar

symbol-db: Fixed async error handling, prevents dangling idle loop

parent a2322bff
......@@ -496,7 +496,7 @@ sdb_query_execute_real (SymbolDBQuery *query)
if (!symbol_db_engine_is_connected (priv->dbe_selected) ||
symbol_db_engine_is_scanning (priv->dbe_selected))
return NULL;
return GINT_TO_POINTER (-1);
if (!priv->sql_stmt)
sdb_query_update (query);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment