diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2018-05-08 10:40:35 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2018-05-08 10:53:56 -0700 |
commit | c456aed129430a76cfbb1718a74783dffab60df5 (patch) | |
tree | 87beda9730e5cb757a8f4d19315229a4f8469194 /bin | |
parent | e839bf52997249bdbe1373d4df6a257c7f779a5f (diff) | |
download | qtlocation-mapboxgl-upstream/fix-10796.tar.gz |
Avoid exceptions for flow control during database creationupstream/fix-10796
Unfortuntely, it's difficult to avoid all exceptions, because sqlite3_open_v2 does not reliably return SQLITE_NOTADB if the file is not a database. However, this should avoid cases where developers misinterpret the SQLITE_CANTOPEN exception as a crash, which is the common case.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions