butnotthose:=" and convoy not in (select name from zonkers where userid = ? and wherefore = 'zonvoy' order by zonkerid desc limit 100)"
stmtOneXonk=preparetodie(db,selecthonks+"where honks.userid = ? and xid = ?")
stmtOneBonk=preparetodie(db,selecthonks+"where honks.userid = ? and xid = ? and what = 'bonk' and whofore = 2")
stmtPublicHonks=preparetodie(db,selecthonks+"where whofore = 2 and dt > ?"+limit)
stmtUserHonks=preparetodie(db,selecthonks+"where (whofore = 2 or whofore = ?) and username = ? and dt > ?"+limit)
stmtHonksForUser=preparetodie(db,selecthonks+"where honks.userid = ? and dt > ? and honker in (select xid from honkers where userid = ? and flavor = 'sub' and combos not like '% - %')"+butnotthose+limit)
stmtSaveXonker=preparetodie(db,"insert into xonkers (name, info, flavor) values (?, ?, ?)")
stmtDeleteXonker=preparetodie(db,"delete from xonkers where name = ? and flavor = ?")
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 xid = ? and userid = ?")
stmtClearFlags=preparetodie(db,"update honks set flags = flags & ~ ? where xid = ? and userid = ?")
stmtUpdateFlags=preparetodie(db,"update honks set flags = flags | ? where honkid = ?")
stmtClearFlags=preparetodie(db,"update honks set flags = flags & ~ ? where honkid = ?")