Only print error if completion actually failed
This commit is contained in:
parent
2622291196
commit
b4a18b2aef
1 changed files with 2 additions and 1 deletions
|
@ -373,6 +373,7 @@ midori_location_action_popup_timeout_cb (gpointer data)
|
||||||
result = sqlite3_step (stmt);
|
result = sqlite3_step (stmt);
|
||||||
if (result != SQLITE_ROW && !action->search_engines)
|
if (result != SQLITE_ROW && !action->search_engines)
|
||||||
{
|
{
|
||||||
|
if (result == SQLITE_ERROR)
|
||||||
g_print (_("Failed to select from history\n"));
|
g_print (_("Failed to select from history\n"));
|
||||||
sqlite3_reset (stmt);
|
sqlite3_reset (stmt);
|
||||||
sqlite3_clear_bindings (stmt);
|
sqlite3_clear_bindings (stmt);
|
||||||
|
|
Loading…
Reference in a new issue