public long size() { return tl.size(); }
};
}
private Iter backups(final QueryContext ctx) throws QueryException {
checkCreate(ctx);
<BUG>final String prefix = expr.length == 0 ? null : string(checkStr(expr[0], ctx)) + '-';

final StringList list = ctx.context.databases.backups(prefix);

final IOFile dbpath = ctx.context.globalopts.dbpath();</BUG>
return new Iter() {

public long size() { return tl.size(); }
};
}
private Iter backups(final QueryContext ctx) throws QueryException {
checkCreate(ctx);
final String name = expr.length == 0 ? null : string(checkStr(expr[0], ctx));
final StringList backups = name == null ? ctx.context.databases.backups() :
ctx.context.databases.backups(name);
final IOFile dbpath = ctx.context.globalopts.dbpath();
return new Iter() {
