diff options
author | Dan Peterson <danp@danp.net> | 2021-10-25 12:08:40 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-26 00:08:40 +0900 |
commit | 3bb6941859daeb47b7003156db3de7c3224116f2 (patch) | |
tree | b0643b50602194fb17cd35456d37708c227a5fbd /sqlite3_test.go | |
parent | Test on 1.17 (diff) | |
download | golite-3bb6941859daeb47b7003156db3de7c3224116f2.tar.gz golite-3bb6941859daeb47b7003156db3de7c3224116f2.tar.xz |
sqlite3.go: use PRAGMA to set busy_timeout (#910)
The busy_timeout pragma was added in sqlite 3.7.15 as an alternative
to calling sqlite3_busy_timeout directly:
https://sqlite.org/pragma.html#pragma_busy_timeout
While there's no functional change here, using the pragma does align
setting busy_timeout with other settings and removes the special case
for calling sqlite3_busy_timeout directly.
Diffstat (limited to 'sqlite3_test.go')
0 files changed, 0 insertions, 0 deletions