fix missing stmt
Anirudh Oppiliappan x@icyphox.sh
Mon, 12 Aug 2024 20:18:15 +0300
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
database.go
→
database.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 = ?")