Don't return empty entry if no data is matched.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
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;
|
list<entry> entries;
|
||||||
|
|
||||||
while(!select.done())
|
while(!select.done() && select.execute() != 0)
|
||||||
{
|
{
|
||||||
select.execute();
|
|
||||||
|
|
||||||
entrybuf.datetime = string_to_timepoint(datetime, true);
|
entrybuf.datetime = string_to_timepoint(datetime, true);
|
||||||
|
|
||||||
vector<string> tags;
|
vector<string> tags;
|
||||||
|
|
Loading…
Reference in New Issue