]> git.ktnx.net Git - mpd-feeder.git/commitdiff
fix two instances of hanging open statements
authorDamyan Ivanov <dmn@debian.org>
Thu, 11 Nov 2021 20:06:45 +0000 (20:06 +0000)
committerDamyan Ivanov <dmn@debian.org>
Thu, 11 Nov 2021 20:06:45 +0000 (20:06 +0000)
when a cursor is exhausted with while (sth->fetch) {...} there is no
problem. Single row fetches, however need an explicit sth->finish or
the cursor remains open. this is not a big problem, but it is annoying
to see the warnings when the statement is reused (due to caching) or the
connection is shut down


No differences found