Remove sqlite3BtreeGetJournalname() from src/vdbeaux.c
Closed this issue · 1 comments
danshearer commented
Describe the bug
sqlite3BtreeGetJournalname() is a journal-mode-specific BTree-specifc function only called once, in vdbeaux.c .
The purpose of this seems to be to abort if the pager says journal/WAL filenames aren't relevant. However we need to
intercept this higher up, to allow for alternative backends altogether.
So we should change this function call in vdbeaux.c to be sqlite3BtreeAbortCommit(), which will call sqlite3BtreeGetJournalname() in the case that standard btree is in use.