aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/sqlite/sqlite_database.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-09-13 13:25:49 +0200
committerTobias Brunner <tobias@strongswan.org>2013-10-11 15:16:05 +0200
commit5abe3c52d396339f3e1ac5f5a63cb8a4dfa0209d (patch)
tree920eed6c686d2b71b88974fa25a45b5e0c1a1819 /src/libstrongswan/plugins/sqlite/sqlite_database.c
parent4b8b1354cea559844d7cbf2e460e90dab3655fad (diff)
downloadstrongswan-5abe3c52d396339f3e1ac5f5a63cb8a4dfa0209d.tar.bz2
strongswan-5abe3c52d396339f3e1ac5f5a63cb8a4dfa0209d.tar.xz
attr-sql: Handle concurrent insertion of identities
If the same identity is added concurrently by two threads (or by the pool utility) INSERT might fail even though the SELECT was unsuccessful before. We are currently not able to lock the identities table in a portable way (something like SELECT ... FOR UPDATE on MySQL).
Diffstat (limited to 'src/libstrongswan/plugins/sqlite/sqlite_database.c')
0 files changed, 0 insertions, 0 deletions