mirror of
https://github.com/nextcloud/server.git
synced 2026-04-20 22:00:39 -04:00
fix(cache): etag constraint violation
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
This commit is contained in:
parent
d334773b98
commit
4db5f708b6
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue