Created
May 7, 2013 04:05
-
-
Save anonymous/5530187 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select count(*) from ( | |
select f.id, d1.name as dir, n1.name as name, c.sha1, size from | |
(select sha1 from collision group by sha1 having count(*)>1) msha | |
join collision c on c.sha1 = msha.sha1 | |
join file f on f.id=c.id | |
join NameList n1 on n1.id=f.name | |
join directory d1 on d1.id=f.dir | |
) z |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment