Some UI tweaks and some sqlite performance things.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3755 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2022-01-13 00:16:27 +00:00
parent 35b7eb511a
commit 7ba1e6980f
6 changed files with 8 additions and 5 deletions

View File

@ -12,6 +12,8 @@
void tf_ssb_db_init(tf_ssb_t* ssb)
{
sqlite3* db = tf_ssb_get_db(ssb);
sqlite3_exec(db, "PRAGMA journal_mode = WAL", NULL, NULL, NULL);
sqlite3_exec(db, "PRAGMA synchronous = NORMAL", NULL, NULL, NULL);
sqlite3_exec(db,
"CREATE TABLE IF NOT EXISTS messages ("
" author TEXT,"