all repos — honk @ f46bfee6ac9b06f2850f37d9d75c22b9c72e41de

my fork of honk

fix missing stmt
Anirudh Oppiliappan x@icyphox.sh
Mon, 12 Aug 2024 20:18:15 +0300
commit

f46bfee6ac9b06f2850f37d9d75c22b9c72e41de

parent

9bc3913398f9f61f71a9f13aed34eabf9492865c

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M database.godatabase.go

@@ -1424,6 +1424,7 @@ stmtCheckFileData = preparetodie(g_blobdb, "select xid from filedata where hash = ?")

stmtGetFileData = preparetodie(g_blobdb, "select media, content from filedata where xid = ?") stmtFindXonk = preparetodie(db, "select honkid from honks where userid = ? and xid = ?") stmtGetFileInfo = preparetodie(db, "select url from filemeta where xid = ?") + stmtFindFile = preparetodie(db, "select fileid, xid from filemeta where url = ? and local = 1") stmtFindFileId = preparetodie(db, "select xid, local, description from filemeta where fileid = ? and url = ? and local = 1") stmtUserByName = preparetodie(db, "select userid, username, displayname, about, pubkey, seckey, options from users where username = ? and userid > 0") stmtUserByNumber = preparetodie(db, "select userid, username, displayname, about, pubkey, seckey, options from users where userid = ?")