forked from cory/tildefriends
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:
@ -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,"
|
||||
|
Reference in New Issue
Block a user