diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2019-05-29 12:39:04 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2019-05-29 12:56:56 +0200 |
commit | c7f96f5301c2e60d1c5ef1e945e70e921afc71ce (patch) | |
tree | f727dea1b7da0e03f0ed64a7b7e7cd01d60a8e1f /src/shared | |
parent | b22049ea14b62a2a743fd5fbd23563c566ef528a (diff) | |
download | qttools-c7f96f5301c2e60d1c5ef1e945e70e921afc71ce.tar.gz |
Close the last SELECT query with pending results
Ensure we close the last SELECT query in case
we read just one result. If we don't iterate
over all results available, the query may
block the database connection. The other
database connection won't be able to interact
with database until the open query is closed.
Fixes: QDS-779
Change-Id: I30cece520918a10972deaa3d093ffaea11cab5c0
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'src/shared')
0 files changed, 0 insertions, 0 deletions