aboutsummaryrefslogtreecommitdiff
path: root/src/connections.cc
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-08-30 22:41:00 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-08-30 22:41:00 -0300
commit6694516890d12e11b89f76a480032cc60c1ab4e2 (patch)
treeb452d1142cd8ef3797e400f7bdf1b78b070be6cc /src/connections.cc
parent9c29c27aa876a355b483cdd508e380905624bd27 (diff)
downloadquerymanager-6694516890d12e11b89f76a480032cc60c1ab4e2.tar.gz
querymanager-6694516890d12e11b89f76a480032cc60c1ab4e2.zip
add check to make sure the database is open with write permissions
Using `sqlite_open` with `SQLITE_OPEN_READWRITE` doesn't guarantee the database will be open with read-write permissions. - See: https://www.sqlite.org/c3ref/open.html
Diffstat (limited to 'src/connections.cc')
0 files changed, 0 insertions, 0 deletions