diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-11-12 15:13:10 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-11-13 14:05:16 +0100 |
commit | 243516d785a6d1c22600cd4cdd4c5cf9cd21b0d2 (patch) | |
tree | 4388be90cd4e5f00e7f950539f221a95bd9be132 /config | |
parent | 0737a6fbe4548e512f9fe182c10d5a97390bd16a (diff) | |
download | nextcloud-server-243516d785a6d1c22600cd4cdd4c5cf9cd21b0d2.tar.gz nextcloud-server-243516d785a6d1c22600cd4cdd4c5cf9cd21b0d2.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 'config')
0 files changed, 0 insertions, 0 deletions