aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/sqlite.c
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-07-06 01:55:30 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-07-06 01:55:35 +0200
commit008ba3fac9df2b0858e4ce46b303832b9315465f (patch)
treedd6f690af14b4fdc4550b573aa41d91e8b62a22d /src/sqlite.c
parentworkflows/ci: Valgrind tests should pass now (diff)
downloadcimple-008ba3fac9df2b0858e4ce46b303832b9315465f.tar.gz
cimple-008ba3fac9df2b0858e4ce46b303832b9315465f.zip
storage_sqlite: avoid races when inserting repos
Insert first, then query the ID. That way, it'll work even if there're other workers inserting new repos.
Diffstat (limited to 'src/sqlite.c')
0 files changed, 0 insertions, 0 deletions