Find files with checksum is null
This commit is contained in:
parent
4f4e5540ff
commit
9c0af9a71e
9
Notes
9
Notes
|
@ -127,3 +127,12 @@ are hardlinked to older instances. Example (on mri):
|
|||
| 3225686 | f | 65559 | 1260229629 | hjp | betreuer | u::rw-,g::r--,o:r-- | | NULL | NULL | NULL |
|
||||
+---------+-----------+-----------+------------+------------+------------+---------------------+----------------+-----------+------------------------------------------+-----------------+
|
||||
|
||||
Find files with checksum is null:
|
||||
|
||||
select versions2.id, prefix, path from versions2, instances, files, sessions
|
||||
where file_type = 'f' and checksum is null
|
||||
and versions2.id=instances.version
|
||||
and instances.file=files.id
|
||||
and instances.session=sessions.id
|
||||
limit 100000;
|
||||
|
||||
|
|
Loading…
Reference in New Issue