diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-11-12 15:13:10 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-11-12 15:13:10 +0100 |
commit | f7e3cf20854402806f8d735ca498a2f240f2615c (patch) | |
tree | e366a1e564454331cd7aac0f7b915a84c526c119 /lib/l10n | |
parent | 859dd1e742c4c71b3fbd7035a866c230b80142c2 (diff) | |
download | nextcloud-server-f7e3cf20854402806f8d735ca498a2f240f2615c.tar.gz nextcloud-server-f7e3cf20854402806f8d735ca498a2f240f2615c.zip |
Fix UniqueConstraintViolationException while insert into oc_file_locks
* fixes #9305 by not being prone to the race condition in insertIfNotExists
* fixes #6899 by not using a query that can result in a deadlock
* replaces the insertIfNotExists call with an insert which is wrapped into a try-catch block
* followup to #12371
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/l10n')
0 files changed, 0 insertions, 0 deletions