Commit graph

22 commits

Author SHA1 Message Date
Peter Kokot
f5227c5863 Move HAVE_SQLITE3_CLOSE_V2 to pdo_sqlite
Closes GH-4444
2019-07-21 00:40:59 +02:00
Christoph M. Becker
6083a387a8 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.
2018-10-06 12:36:55 +02:00
Peter Kokot
8d3f8ca12a Remove unused Git attributes ident
The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.

In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.

This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.
2018-07-25 00:53:25 +02:00
Morva Kristóf
ed0a58d0ae Enable JSON1 for bundled libsqlite 2017-11-22 12:00:13 +01:00
Anatol Belski
ef55a4b5b3 Enable FTS4 and FTS5 for bundled libsqlite
FTS3 is already enabled by default, and the other FTS versions
seems just to have been missed. Given that, the other FTS plugins
look like a low impact so worth a try. The current bundled libsqlite
versions in 7.x are proven stable already and support FTS5.
2016-11-08 02:26:43 +01:00
Scott MacVicar
6b805e28d1 Add metadata support to the bundled version of libsqlite on Windows, part of bug #49206.
Will commit the new feature part separately.
2009-10-16 02:22:48 +00:00
Kalle Sommer Nielsen
d6242c96fe Don't build sqlite as threadsafe if we are doing an NTS build 2009-08-10 16:58:53 +00:00
Elizabeth Marie Smith
6f7ced7ec0 Stupid typo 2008-08-06 16:57:08 +00:00
Elizabeth Marie Smith
58771162b4 Fix include path 2008-08-06 16:48:19 +00:00
Elizabeth Marie Smith
8a515d6b51 Some fancy detection for sqlite3 and pdo_sqlite3 - so the two extensions don't depend on each other if shared, and don't try to put two versions of the sqlite3 lib if static 2008-08-05 20:22:53 +00:00
Scott MacVicar
1390f0614d Remove non existent defines, change THREADSAFE to SQLITE_THREADSAFE and sync with 5.3 2008-07-24 14:20:51 +00:00
Scott MacVicar
fe8c688313 Add .cvsignore, update config.w32 and remove the other bundled sqlite library 2008-07-24 11:24:28 +00:00
Scott MacVicar
31dade5280 MFB: Update bundled SQLite to 3.5.6 2008-03-07 10:55:14 +00:00
Ilia Alshanetsky
5c01690d9b MFB: Upgraded libsqlite in pdo_sqlite to 3.3.7 2006-08-14 16:35:23 +00:00
Edin Kadribasic
78c2c50c86 MFB: Remove pecl includes (Steph), except pdo_odbc which will remain broke 2006-05-11 21:48:57 +00:00
Ilia Alshanetsky
bb38017142 Upgrade sqlite lib to 3.2.5 2005-08-28 16:57:01 +00:00
Ilia Alshanetsky
7d02c9dcb2 Upgraded bundled sqlite lib to 3.2.2 2005-06-30 20:58:36 +00:00
Frank M. Kromann
17264461f9 fix build when the pecl module is part of the php source tree 2005-03-19 10:55:47 +00:00
Wez Furlong
742b0ab676 build bundled sqlite on win32 2005-02-28 03:23:56 +00:00
Edin Kadribasic
3da64fa20a Add additional include search path 2004-09-20 21:26:24 +00:00
Wez Furlong
6fa469f367 make it build on win32 2004-09-19 15:47:13 +00:00
Wez Furlong
2f161ab79d First cut at a PDO driver for SQLite 3.x
Features:
- native prepare/execute and bound parameters.
- finally supports binary data (via bound parameter api)
- full unicode/utf-8 support

Missing:
- UDF functions
- authorizer hooks for safe_mode/open_basedir restrictions

You need to download, compile and install sqlite3 yourself; we're not bundling
it (at least, not yet).
2004-09-19 10:55:41 +00:00