]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix repair step for oracle...
authorJoas Schilling <coding@schilljs.com>
Tue, 25 Jul 2017 10:22:28 +0000 (12:22 +0200)
committerJoas Schilling <coding@schilljs.com>
Thu, 3 Aug 2017 14:40:54 +0000 (16:40 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/private/Repair/NC13/RepairInvalidPaths.php

index 69ef3123d31fcfd78b65773d2a5c16a4a20c1cd2..f19a4e41f39c61d43b7d220ff33806808a1a744d 100644 (file)
@@ -66,7 +66,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);