]> granicus.if.org Git - php/commit
Unbundle libsqlite3
authorChristoph M. Becker <cmbecker69@gmx.de>
Sat, 6 Oct 2018 10:36:55 +0000 (12:36 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Sat, 6 Oct 2018 10:36:55 +0000 (12:36 +0200)
commit6083a387a81dbbd66d6316a3a12a63f06d5f7109
tree4576666b095bba91d6a78afe7f3d8cc67d442b20
parent61330b0faf5dfbed79cba012744dabce9d20cc8f
Unbundle libsqlite3

Since there is no need to patch libsqlite3 for our purposes, and since
libsqlite3 ≥ 3.3.9 (which is our current requirement) is widely
available on distros, there is no reason anymore to bundle the library.

Besides removing the bundled libsqlite, and adapting the configuration
respectively, we also fix the use of the SQLITE_ENABLE_COLUMN_METADATA
compile time constant to detect whether sqlite3_column_table_name() is
available by a working feature detection (otherwise bug_42589.phpt
would fail).  We also skip bug73068.phpt for libsqlite 3.11.0 to
3.14.1 which have a bug (<https://sqlite.org/src/info/ef360601>).

We also completely drop support for the obscure pdo_sqlite_external
extension (which could have been enabled on Windows only by passing
`--pdo-sqlite-external` to configure), since it is not needed anymore.

Furthermore, we remove references to the bundled libsqlite from
Makefile.gcov, CONTRIBUTING.md and README.REDIST.BINS.
14 files changed:
.travis.yml
CONTRIBUTING.md
Makefile.gcov
README.REDIST.BINS
ext/pdo_sqlite/config.m4
ext/pdo_sqlite/config.w32
ext/pdo_sqlite/sqlite_statement.c
ext/sqlite3/config.w32
ext/sqlite3/config0.m4
ext/sqlite3/libsqlite/sqlite3.c [deleted file]
ext/sqlite3/libsqlite/sqlite3.h [deleted file]
ext/sqlite3/libsqlite/sqlite3ext.h [deleted file]
ext/sqlite3/tests/bug73068.phpt
win32/build/confutils.js