summaryrefslogtreecommitdiff
path: root/src/database/query.cpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-06-21 17:36:53 +0200
committerlouiz’ <louiz@louiz.org>2017-06-21 17:41:03 +0200
commit4d55a120d8fa5564a439102ab97b43da589bf4f3 (patch)
treec4b46b71ca41d933f348ab0a6683efd9f39c3044 /src/database/query.cpp
parent651caabb2d2f4e2d6bac3fcde59a69f9cad7eb75 (diff)
downloadbiboumi-4d55a120d8fa5564a439102ab97b43da589bf4f3.tar.gz
biboumi-4d55a120d8fa5564a439102ab97b43da589bf4f3.tar.bz2
biboumi-4d55a120d8fa5564a439102ab97b43da589bf4f3.tar.xz
biboumi-4d55a120d8fa5564a439102ab97b43da589bf4f3.zip
Re-implement correctly the handling of failure to open the database
If we can’t open it at startup, we exit. If we can’t open it on reload, we keep the previously-opened database. This way, we’re assured to always have a valid and open database available.
Diffstat (limited to 'src/database/query.cpp')
0 files changed, 0 insertions, 0 deletions