all repos — honk @ 0a64960b7d818461cad63a07e4f16c87c4e69245

my fork of honk

index honks.rid
Ted Unangst tedu@tedunangst.com
Mon, 11 Mar 2024 21:38:49 -0400
commit

0a64960b7d818461cad63a07e4f16c87c4e69245

parent

11af84c2490e1c83ea58ac36cfbe2d46226b4c7b

2 files changed, 6 insertions(+), 1 deletions(-)

jump to
M schema.sqlschema.sql

@@ -13,6 +13,7 @@ create table tracks (xid text, fetches text);

create index idx_honksxid on honks(xid); create index idx_honksurl on honks(url); +create index idx_honksrid on honks(rid) where rid <> ''; create index idx_honksconvoy on honks(convoy); create index idx_honkshonker on honks(honker); create index idx_honksoonker on honks(oonker);
M upgradedb.goupgradedb.go

@@ -23,7 +23,7 @@

"humungus.tedunangst.com/r/webs/htfilter" ) -var myVersion = 49 // index honks url +var myVersion = 50 // index honks rid type dbexecer interface { Exec(query string, args ...interface{}) (sql.Result, error)

@@ -214,6 +214,10 @@ try("create index idx_honksurl on honks(url)")

setV(49) fallthrough case 49: + try("create index idx_honksrid on honks(rid) where rid <> ''") + setV(50) + fallthrough + case 50: try("analyze") closedatabases()