diff options
author | Arne Georg Gleditsch <argggh@lxr.linpro.no> | 2007-11-27 01:11:43 +0100 |
---|---|---|
committer | Arne Georg Gleditsch <argggh@lxr.linpro.no> | 2007-11-27 01:11:43 +0100 |
commit | 53aeb447f17030c94cd7c2048929c432a8761aff (patch) | |
tree | fb0dc36acc8949bc945ae9563c61de8f61e77953 /lib/LXRng | |
parent | 02066032cb2aa49b5d7cebdbfa5d83dd2f3571c0 (diff) |
Remove cruft.
Diffstat (limited to 'lib/LXRng')
-rw-r--r-- | lib/LXRng/Index/DBI.pm | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/LXRng/Index/DBI.pm b/lib/LXRng/Index/DBI.pm index 5288eda..5fd2a3a 100644 --- a/lib/LXRng/Index/DBI.pm +++ b/lib/LXRng/Index/DBI.pm @@ -97,19 +97,6 @@ sub pending_files { and r.id_tree = ? and r.is_indexed = 'f')}); -# $dbh->prepare(qq{ -# select rv.id, f.path, rv.revision -# from ${pre}files f, ${pre}revisions rv -# where rv.id_file = f.id -# and not exists(select 1 from ${pre}filestatus fs -# where fs.id_rfile = rv.id -# and fs.indexed = 't' -# and fs.hashed = 't' -# and fs.referenced = 't') -# and exists(select 1 from ${pre}filereleases fr, ${pre}releases r -# where fr.id_rfile = rv.id -# and fr.id_release = r.id -# and r.id_tree = ?)}); if ($sth->execute($tree_id) > 0) { return $sth->fetchall_arrayref(); } @@ -479,11 +466,6 @@ sub get_identifier_info { where i.id = ? and i.id_symbol = s.id and i.id_rfile = r.id and r.id_file = f.id}); -# select i.id_rfile, f.path, i.line, i.type, i.context, s.id, s.name -# from identifiers i, symbols s, revisions r, files f -# where i.id = ? and i.id_symbol = s.id -# and i.id_rfile = r.id and r.id_file = f.id}); - unless ($sth->execute($ident) == 1) { return undef; } |