On 3/8/16, Reinhard Max <Reinhard at m4x.de> wrote: > Hi, > > the documentation for "PRAGMA synchronous"[1] says that the default > for databases in WAL mode is NORMAL (1). But when I open a database in > WAL mode or switch an open database to WAL mode, querying PRAGMA > synchronous returns 2 (checked in 3.8.6, 3.8.10 and 3.11.1). > > Is this a bug in the documentation or in the code, or is 1 being used > internally even if 2 is reported? >
Documentation bug. Fixed at https://www.sqlite.org/docsrc/timeline?c=3540d6 -- D. Richard Hipp drh at sqlite.org

