Skip to content

Commit

Permalink
Fix hanging startup
Browse files Browse the repository at this point in the history
  • Loading branch information
manup committed Dec 17, 2018
1 parent 9e850d1 commit 5cc6a82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ void DeRestPluginPrivate::cleanUpDb()
// delete duplicates in device_descriptors
//"DELETE FROM device_descriptors WHERE rowid NOT IN"
//" (SELECT max(rowid) FROM device_descriptors GROUP BY device_id,type,endpoint)",
//nullptr

nullptr
};

for (int i = 0; sql[i] != nullptr; i++)
Expand Down

0 comments on commit 5cc6a82

Please sign in to comment.