stmtDeleteXonker=preparetodie(db,"delete from xonkers where name = ? and flavor = ? and dt < ?")
stmtDeleteOldXonkers=preparetodie(db,"delete from xonkers where flavor = ? and dt < ?")
stmtRecentHonkers=preparetodie(db,"select distinct(honker) from honks where userid = ? and honker not in (select xid from honkers where userid = ? and flavor = 'sub') order by honkid desc limit 100")
stmtUpdateFlags=preparetodie(db,"update honks set flags = flags | ? where honkid = ?")
stmtClearFlags=preparetodie(db,"update honks set flags = flags & ~ ? where honkid = ?")