diff --git a/src/lib/sqlite.cpp b/src/lib/sqlite.cpp index efb1be5..0a86660 100644 --- a/src/lib/sqlite.cpp +++ b/src/lib/sqlite.cpp @@ -132,10 +132,8 @@ namespace remwharead list entries; - while(!select.done()) + while(!select.done() && select.execute() != 0) { - select.execute(); - entrybuf.datetime = string_to_timepoint(datetime, true); vector tags;