diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-06 01:55:30 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-06 01:55:35 +0200 |
commit | 008ba3fac9df2b0858e4ce46b303832b9315465f (patch) | |
tree | dd6f690af14b4fdc4550b573aa41d91e8b62a22d /src/sqlite.c | |
parent | workflows/ci: Valgrind tests should pass now (diff) | |
download | cimple-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