Browse Source

fix(cache): etag constraint violation

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
pull/49420/head
skjnldsv 12 months ago
parent
commit
4db5f708b6
  1. 2
      lib/private/Files/Cache/CacheQueryBuilder.php

2
lib/private/Files/Cache/CacheQueryBuilder.php

@ -48,7 +48,7 @@ class CacheQueryBuilder extends ExtendedQueryBuilder {
public function selectFileCache(?string $alias = null, bool $joinExtendedCache = true) {
$name = $alias ?: 'filecache';
$this->select("$name.fileid", 'storage', 'path', 'path_hash', "$name.parent", "$name.name", 'mimetype', 'mimepart', 'size', 'mtime',
'storage_mtime', 'encrypted', 'etag', "$name.permissions", 'checksum', 'unencrypted_size')
'storage_mtime', 'encrypted', "$name.etag", "$name.permissions", 'checksum', 'unencrypted_size')
->from('filecache', $name);
if ($joinExtendedCache) {

Loading…
Cancel
Save