summaryrefslogtreecommitdiff
path: root/db.h
diff options
context:
space:
mode:
authorTrumeet <yuuta@yuuta.moe>2023-03-19 15:00:05 -0700
committerTrumeet <yuuta@yuuta.moe>2023-03-19 15:00:05 -0700
commit9f86b3bbe7d5d892620f1973ca069da67e90b568 (patch)
treef6c30c33785e8d6e28b9c1d1eee2780bd5a8df0f /db.h
parente1a3e886bf36da6fc49b52ed5f24e8b193dadc4d (diff)
downloadksyxbot-9f86b3bbe7d5d892620f1973ca069da67e90b568.tar
ksyxbot-9f86b3bbe7d5d892620f1973ca069da67e90b568.tar.gz
ksyxbot-9f86b3bbe7d5d892620f1973ca069da67e90b568.tar.bz2
ksyxbot-9f86b3bbe7d5d892620f1973ca069da67e90b568.zip
Share stmt_global_stat
Diffstat (limited to 'db.h')
-rw-r--r--db.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/db.h b/db.h
index 93fdb43..e121593 100644
--- a/db.h
+++ b/db.h
@@ -13,6 +13,8 @@
#define ULEN(X) (X == 0 ? 1 : (int)floor(log10(X)) + 1)
#define LLEN(X) ((int)floor(log10(llabs(X))) + 1 + ((X < 0) ? 1 : 0))
+extern sqlite3_stmt *stmt_global_stat;
+
extern sqlite3 *db;
void db_init(void);