Don't return empty entry if no data is matched.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Add check if number of rows is != 0.
This commit is contained in:
parent
24ac4a4a25
commit
76ed9e9222
|
@ -132,10 +132,8 @@ namespace remwharead
|
|||
|
||||
list<entry> entries;
|
||||
|
||||
while(!select.done())
|
||||
while(!select.done() && select.execute() != 0)
|
||||
{
|
||||
select.execute();
|
||||
|
||||
entrybuf.datetime = string_to_timepoint(datetime, true);
|
||||
|
||||
vector<string> tags;
|
||||
|
|
Loading…
Reference in New Issue
Block a user