Dear Maintainer,
I submitted a patch to fix bug in SQLite3 where the database does not automatically fix power outages.
Bug description:
In the Makefile. in file, sqlite3 $(TEEX) is compiled by shell. c and libsqlite3. la, using the parameter -DSQLITE_INABLE_DBPAGE_VTAB.
However, when compiling the (*. lo) file in the static library libsqlite3.la, -DSQLITE_INABLE_DBPAGE_VTAB was not used.
This will result in the SQLITE_INABLE_DBPAGE_VTAB function not being enabled.
My repair suggestion is to add the parameter -DSQLITE_INABLE_DBPAGE_VTAB to CFLAGS in the rules file.
I am using Linux, 6.11.0-24-generic and libc6 2.39.
The patch has been tested on Debian bookworm and works correctly.
Thank you for considering this contribution.
Best regards,
Xiaofeng Tang
tangxiaofeng@kylinos.cn