/[BackupPC]/trunk/sql/fix_found_in_db.sql
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/sql/fix_found_in_db.sql

Parent Directory Parent Directory | Revision Log Revision Log


Revision 75 - (show annotations)
Fri Aug 26 20:44:24 2005 UTC (18 years, 10 months ago) by dpavlin
File size: 201 byte(s)
added some useful SQL examples. They are lightly commented within each file.

1 -- fix database to repair found_in_db bug fixed in r74
2
3 delete from files where id not in (
4 select distinct on(shareid,path,date,size) id
5 from files
6 order by shareid,path,date,size,backupnum asc
7 );

  ViewVC Help
Powered by ViewVC 1.1.26