#1106563 Fix bug in SQLite3 where the database does not automatically fix power outages

Package:
sqlite3
Source:
sqlite3
Description:
Command line interface for SQLite 3
Submitter:
tangxiaofeng@kylinos.cn
Date:
2025-12-08 15:41:01 UTC
Severity:
normal
Tags:
#1106563#5
Date:
2025-05-26 08:39:51 UTC
From:
To:
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

#1106563#10
Date:
2025-12-08 15:23:44 UTC
From:
To:
Duplicate of #1099542.