summaryrefslogtreecommitdiffstats
path: root/lib/private/Repair/NC13
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-07-25 12:22:28 +0200
committerJoas Schilling <coding@schilljs.com>2017-08-02 09:48:16 +0200
commit100fe07f5d54e5dfe8bcb369f1ee35dc1736f348 (patch)
tree993c4944fab0a19c4e8af66457051ff0e4a8ac7c /lib/private/Repair/NC13
parent2f8756754ff62a199cd6cc2a530a14fe5bd77c17 (diff)
downloadnextcloud-server-100fe07f5d54e5dfe8bcb369f1ee35dc1736f348.tar.gz
nextcloud-server-100fe07f5d54e5dfe8bcb369f1ee35dc1736f348.zip
Fix repair step for oracle...
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Repair/NC13')
-rw-r--r--lib/private/Repair/NC13/RepairInvalidPaths.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Repair/NC13/RepairInvalidPaths.php b/lib/private/Repair/NC13/RepairInvalidPaths.php
index 734ee8a4ca6..b7a22c6a7f3 100644
--- a/lib/private/Repair/NC13/RepairInvalidPaths.php
+++ b/lib/private/Repair/NC13/RepairInvalidPaths.php
@@ -70,7 +70,7 @@ class RepairInvalidPaths implements IRepairStep {
->from('filecache', 'f')
->innerJoin('f', 'filecache', 'p', $builder->expr()->andX(
$builder->expr()->eq('f.parent', 'p.fileid'),
- $builder->expr()->neq('p.name', $builder->createNamedParameter(''))
+ $builder->expr()->isNotNull('p.name')
))
->where($builder->expr()->neq('f.path', $computedPath))
->setMaxResults(self::MAX_ROWS);