Oof. That's needed for json_each.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3977 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2022-09-10 18:09:10 +00:00
parent bb0a840dc6
commit 6ea6ae2322

View File

@ -582,6 +582,8 @@ static int _tf_ssb_sqlite_authorizer(void* user_data, int action_code, const cha
break;
case SQLITE_PRAGMA:
return strcmp(arg0, "data_version") == 0 ? SQLITE_OK : SQLITE_DENY;
case SQLITE_UPDATE:
return strcmp(arg0, "sqlite_master") == 0 ? SQLITE_OK : SQLITE_DENY;
}
return SQLITE_DENY;
}