mirror of
https://github.com/php/php-src.git
synced 2026-04-26 09:28:21 +02:00
SQLite PHP_4_3 is dead. Long live SQLite PECL_4_3!
This commit is contained in:
@@ -3,7 +3,7 @@ dnl config.m4 for extension sqlite
|
||||
dnl vim:et:ts=2:sw=2
|
||||
|
||||
PHP_ARG_WITH(sqlite, for sqlite support,
|
||||
[ --with-sqlite Include sqlite support], yes)
|
||||
[ --with-sqlite Include sqlite support])
|
||||
|
||||
if test "$PHP_SQLITE" != "no"; then
|
||||
|
||||
|
||||
+135
-124
@@ -1,130 +1,141 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<!DOCTYPE package SYSTEM "../pear/package.dtd">
|
||||
<!DOCTYPE package SYSTEM "../../../php4/pear/package.dtd">
|
||||
<package>
|
||||
<name>SQLite</name>
|
||||
<summary>SQLite database bindings</summary>
|
||||
<maintainers>
|
||||
<maintainer>
|
||||
<user>wez</user>
|
||||
<name>Wez Furlong</name>
|
||||
<email>wez@php.net</email>
|
||||
<role>lead</role>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<user>tal</user>
|
||||
<name>Tal Peer</name>
|
||||
<email>tal@php.net</email>
|
||||
<role>developer</role>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<user>helly</user>
|
||||
<name>Marcus Börger</name>
|
||||
<email>helly@php.net</email>
|
||||
<role>lead</role>
|
||||
</maintainer>
|
||||
</maintainers>
|
||||
<description>
|
||||
SQLite is a C library that implements an embeddable SQL database engine.
|
||||
Programs that link with the SQLite library can have SQL database access
|
||||
without running a separate RDBMS process.
|
||||
This extension allows you to access SQLite databases from within PHP.
|
||||
<name>SQLite</name>
|
||||
<summary>SQLite database bindings</summary>
|
||||
<maintainers>
|
||||
<maintainer>
|
||||
<user>wez</user>
|
||||
<name>Wez Furlong</name>
|
||||
<email>wez@php.net</email>
|
||||
<role>lead</role>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<user>tal</user>
|
||||
<name>Tal Peer</name>
|
||||
<email>tal@php.net</email>
|
||||
<role>developer</role>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<user>helly</user>
|
||||
<name>Marcus Börger</name>
|
||||
<email>helly@php.net</email>
|
||||
<role>lead</role>
|
||||
</maintainer>
|
||||
</maintainers>
|
||||
<description>
|
||||
SQLite is a C library that implements an embeddable SQL database engine.
|
||||
Programs that link with the SQLite library can have SQL database access
|
||||
without running a separate RDBMS process.
|
||||
This extension allows you to access SQLite databases from within PHP.
|
||||
|
||||
Windows binary available from:
|
||||
http://snaps.php.net/win32/PECL_STABLE/php_sqlite.dll
|
||||
</description>
|
||||
<license>PHP</license>
|
||||
<release>
|
||||
<state>stable</state>
|
||||
<version>1.1-dev</version>
|
||||
<date>TBA</date>
|
||||
<notes>
|
||||
Added:
|
||||
OO API (Marcus).
|
||||
</notes>
|
||||
<filelist>
|
||||
<file role="src" name="config.m4"/>
|
||||
<file role="src" name="sqlite.c"/>
|
||||
<file role="src" name="sqlite.dsp"/>
|
||||
<file role="src" name="php_sqlite.h"/>
|
||||
<file role="src" name="php_sqlite.def"/>
|
||||
<file role="src" name="Makefile.frag"/>
|
||||
<file role="doc" name="CREDITS"/>
|
||||
<file role="doc" name="README"/>
|
||||
<file role="doc" name="TODO"/>
|
||||
<file role="doc" name="sqlite.php"/>
|
||||
<file role="test" name="tests/sqlite_001.phpt"/>
|
||||
<file role="test" name="tests/sqlite_002.phpt"/>
|
||||
<file role="test" name="tests/sqlite_003.phpt"/>
|
||||
<file role="test" name="tests/sqlite_004.phpt"/>
|
||||
<file role="test" name="tests/sqlite_005.phpt"/>
|
||||
<file role="test" name="tests/sqlite_006.phpt"/>
|
||||
<file role="test" name="tests/sqlite_007.phpt"/>
|
||||
<file role="test" name="tests/sqlite_008.phpt"/>
|
||||
<file role="test" name="tests/sqlite_009.phpt"/>
|
||||
<file role="test" name="tests/sqlite_010.phpt"/>
|
||||
<file role="test" name="tests/sqlite_011.phpt"/>
|
||||
<file role="test" name="tests/sqlite_012.phpt"/>
|
||||
<file role="test" name="tests/sqlite_013.phpt"/>
|
||||
<file role="test" name="tests/sqlite_014.phpt"/>
|
||||
<file role="test" name="tests/sqlite_015.phpt"/>
|
||||
<file role="test" name="tests/sqlite_016.phpt"/>
|
||||
<file role="test" name="tests/sqlite_017.phpt"/>
|
||||
<file role="test" name="tests/blankdb.inc"/>
|
||||
Windows binary available from:
|
||||
http://snaps.php.net/win32/PECL_STABLE/php_sqlite.dll
|
||||
</description>
|
||||
<license>PHP</license>
|
||||
<release>
|
||||
<state>stable</state>
|
||||
<version>1.0</version>
|
||||
<date>2003-06-21</date>
|
||||
<notes>
|
||||
Added:
|
||||
sqlite_udf_encode_binary() and sqlite_udf_decode_binary() for
|
||||
handling binary data in UDF callbacks.
|
||||
sqlite_popen() for persistent db connections.
|
||||
sqlite_unbuffered_query() for high performance queries.
|
||||
sqlite_last_error() returns error code from last operation.
|
||||
sqlite_error_string() returns description of error.
|
||||
sqlite_create_aggregate() for registering aggregating SQL functions.
|
||||
sqlite_create_function() for registering regular SQL functions.
|
||||
sqlite_fetch_string() for speedy access to first column of result sets.
|
||||
sqlite_fetch_all() to receive all rowsets from a query as an array.
|
||||
iteration interface
|
||||
|
||||
<dir name="libsqlite">
|
||||
<file role="doc" name="README"/>
|
||||
<file role="src" name="VERSION"/>
|
||||
sqlite_query() functions accept resource/query string in either order,
|
||||
for compatibility with mysql and postgresql extensions.
|
||||
|
||||
<dir name="src">
|
||||
<file role="src" name="attach.c"/>
|
||||
<file role="src" name="auth.c"/>
|
||||
<file role="src" name="btree.c"/>
|
||||
<file role="src" name="btree_rb.c"/>
|
||||
<file role="src" name="build.c"/>
|
||||
<file role="src" name="copy.c"/>
|
||||
<file role="src" name="delete.c"/>
|
||||
<file role="src" name="encode.c"/>
|
||||
<file role="src" name="expr.c"/>
|
||||
<file role="src" name="func.c"/>
|
||||
<file role="src" name="hash.c"/>
|
||||
<file role="src" name="insert.c"/>
|
||||
<file role="src" name="main.c"/>
|
||||
<file role="src" name="opcodes.c"/>
|
||||
<file role="src" name="os.c"/>
|
||||
<file role="src" name="pager.c"/>
|
||||
<file role="src" name="parse.c"/>
|
||||
<file role="src" name="parse.y"/>
|
||||
<file role="src" name="pragma.c"/>
|
||||
<file role="src" name="printf.c"/>
|
||||
<file role="src" name="random.c"/>
|
||||
<file role="src" name="select.c"/>
|
||||
<file role="src" name="table.c"/>
|
||||
<file role="src" name="tokenize.c"/>
|
||||
<file role="src" name="trigger.c"/>
|
||||
<file role="src" name="update.c"/>
|
||||
<file role="src" name="util.c"/>
|
||||
<file role="src" name="vacuum.c"/>
|
||||
<file role="src" name="vdbe.c"/>
|
||||
<file role="src" name="where.c"/>
|
||||
<file role="src" name="btree.h"/>
|
||||
<file role="src" name="hash.h"/>
|
||||
<file role="src" name="opcodes.h"/>
|
||||
<file role="src" name="os.h"/>
|
||||
<file role="src" name="pager.h"/>
|
||||
<file role="src" name="parse.h"/>
|
||||
<file role="src" name="sqlite_config.w32.h"/>
|
||||
<file role="src" name="sqlite.h.in"/>
|
||||
<file role="src" name="sqliteInt.h"/>
|
||||
<file role="src" name="sqlite.w32.h"/>
|
||||
<file role="src" name="vdbe.h"/>
|
||||
</dir>
|
||||
</dir>
|
||||
</filelist>
|
||||
<deps>
|
||||
<dep type="php" rel="ge">5.0.0</dep>
|
||||
</deps>
|
||||
</release>
|
||||
Fixed some build issues for thread-safe builds.
|
||||
|
||||
Increase the default busy timeout interval to 60 seconds.
|
||||
</notes>
|
||||
<filelist>
|
||||
<file role="src" name="config.m4"/>
|
||||
<file role="src" name="sqlite.c"/>
|
||||
<file role="src" name="sqlite.dsp"/>
|
||||
<file role="src" name="php_sqlite.h"/>
|
||||
<file role="src" name="php_sqlite.def"/>
|
||||
<file role="src" name="Makefile.frag"/>
|
||||
<file role="doc" name="CREDITS"/>
|
||||
<file role="doc" name="README"/>
|
||||
<file role="doc" name="TODO"/>
|
||||
<file role="doc" name="sqlite.php"/>
|
||||
<file role="test" name="tests/sqlite_001.phpt"/>
|
||||
<file role="test" name="tests/sqlite_002.phpt"/>
|
||||
<file role="test" name="tests/sqlite_003.phpt"/>
|
||||
<file role="test" name="tests/sqlite_004.phpt"/>
|
||||
<file role="test" name="tests/sqlite_005.phpt"/>
|
||||
<file role="test" name="tests/sqlite_006.phpt"/>
|
||||
<file role="test" name="tests/sqlite_007.phpt"/>
|
||||
<file role="test" name="tests/sqlite_008.phpt"/>
|
||||
<file role="test" name="tests/sqlite_009.phpt"/>
|
||||
<file role="test" name="tests/sqlite_010.phpt"/>
|
||||
<file role="test" name="tests/sqlite_011.phpt"/>
|
||||
<file role="test" name="tests/sqlite_012.phpt"/>
|
||||
<file role="test" name="tests/sqlite_013.phpt"/>
|
||||
<file role="test" name="tests/sqlite_014.phpt"/>
|
||||
<file role="test" name="tests/sqlite_015.phpt"/>
|
||||
<file role="test" name="tests/sqlite_016.phpt"/>
|
||||
<file role="test" name="tests/sqlite_017.phpt"/>
|
||||
<file role="test" name="tests/blankdb.inc"/>
|
||||
|
||||
<dir name="libsqlite">
|
||||
<file role="doc" name="README"/>
|
||||
<file role="src" name="VERSION"/>
|
||||
|
||||
<dir name="src">
|
||||
<file role="src" name="attach.c"/>
|
||||
<file role="src" name="auth.c"/>
|
||||
<file role="src" name="btree.c"/>
|
||||
<file role="src" name="btree_rb.c"/>
|
||||
<file role="src" name="build.c"/>
|
||||
<file role="src" name="copy.c"/>
|
||||
<file role="src" name="delete.c"/>
|
||||
<file role="src" name="encode.c"/>
|
||||
<file role="src" name="expr.c"/>
|
||||
<file role="src" name="func.c"/>
|
||||
<file role="src" name="hash.c"/>
|
||||
<file role="src" name="insert.c"/>
|
||||
<file role="src" name="main.c"/>
|
||||
<file role="src" name="opcodes.c"/>
|
||||
<file role="src" name="os.c"/>
|
||||
<file role="src" name="pager.c"/>
|
||||
<file role="src" name="parse.c"/>
|
||||
<file role="src" name="parse.y"/>
|
||||
<file role="src" name="pragma.c"/>
|
||||
<file role="src" name="printf.c"/>
|
||||
<file role="src" name="random.c"/>
|
||||
<file role="src" name="select.c"/>
|
||||
<file role="src" name="table.c"/>
|
||||
<file role="src" name="tokenize.c"/>
|
||||
<file role="src" name="trigger.c"/>
|
||||
<file role="src" name="update.c"/>
|
||||
<file role="src" name="util.c"/>
|
||||
<file role="src" name="vacuum.c"/>
|
||||
<file role="src" name="vdbe.c"/>
|
||||
<file role="src" name="where.c"/>
|
||||
<file role="src" name="btree.h"/>
|
||||
<file role="src" name="hash.h"/>
|
||||
<file role="src" name="opcodes.h"/>
|
||||
<file role="src" name="os.h"/>
|
||||
<file role="src" name="pager.h"/>
|
||||
<file role="src" name="parse.h"/>
|
||||
<file role="src" name="sqlite_config.w32.h"/>
|
||||
<file role="src" name="sqlite.h.in"/>
|
||||
<file role="src" name="sqliteInt.h"/>
|
||||
<file role="src" name="sqlite.w32.h"/>
|
||||
<file role="src" name="vdbe.h"/>
|
||||
</dir>
|
||||
</dir>
|
||||
</filelist>
|
||||
</release>
|
||||
</package>
|
||||
<!--
|
||||
vim:et:ts=1:sw=1
|
||||
-->
|
||||
|
||||
@@ -82,10 +82,8 @@ PHP_FUNCTION(sqlite_create_function);
|
||||
PHP_FUNCTION(sqlite_udf_decode_binary);
|
||||
PHP_FUNCTION(sqlite_udf_encode_binary);
|
||||
|
||||
PHP_FUNCTION(sqlite_factory);
|
||||
|
||||
ZEND_BEGIN_MODULE_GLOBALS(sqlite)
|
||||
int assoc_case;
|
||||
long assoc_case;
|
||||
ZEND_END_MODULE_GLOBALS(sqlite)
|
||||
|
||||
#ifdef ZTS
|
||||
|
||||
+141
-656
File diff suppressed because it is too large
Load Diff
@@ -44,7 +44,7 @@ RSC=rc.exe
|
||||
# PROP Ignore_Export_Lib 0
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "SQLITE_EXPORTS" /YX /FD /c
|
||||
# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\.." /I "..\..\main" /I "..\..\Zend" /I "..\..\TSRM" /I "..\..\win32" /I "..\..\..\php_build" /D ZEND_DEBUG=0 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "COMPILE_DL_SQLITE" /D ZTS=1 /D "ZEND_WIN32" /D "PHP_WIN32" /D HAVE_SQLITE=1 /D "PHP_SQLITE_EXPORTS" /FR /YX /FD /c
|
||||
# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\php4" /I "..\..\..\php4\main" /I "..\..\..\php4\Zend" /I "..\..\..\php4\TSRM" /I "..\..\..\php4\win32" /I "..\..\..\php_build" /D ZEND_DEBUG=0 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "COMPILE_DL_SQLITE" /D ZTS=1 /D "ZEND_WIN32" /D "PHP_WIN32" /D HAVE_SQLITE=1 /D "PHP_SQLITE_EXPORTS" /FR /YX /FD /c
|
||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
|
||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
|
||||
# ADD BASE RSC /l 0x407 /d "NDEBUG"
|
||||
@@ -54,7 +54,7 @@ BSC32=bscmake.exe
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
|
||||
# ADD LINK32 php4ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS\php_sqlite.dll" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline" /libpath:"..\..\..\php_build\release"
|
||||
# ADD LINK32 php4ts.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\Release_TS\php_sqlite.dll" /libpath:"..\..\..\php4\Release_TS" /libpath:"..\..\..\php4\Release_TS_Inline" /libpath:"..\..\..\php_build\release"
|
||||
|
||||
!ELSEIF "$(CFG)" == "sqlite - Win32 Debug_TS"
|
||||
|
||||
@@ -70,7 +70,7 @@ LINK32=link.exe
|
||||
# PROP Ignore_Export_Lib 0
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "SQLITE_EXPORTS" /YX /FD /GZ /c
|
||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\.." /I "..\..\main" /I "..\..\Zend" /I "..\..\TSRM" /I "..\..\win32" /I "..\..\..\php_build" /D ZEND_DEBUG=1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "COMPILE_DL_SQLITE" /D ZTS=1 /D "ZEND_WIN32" /D "PHP_WIN32" /D HAVE_SQLITE=1 /D "PHP_SQLITE_EXPORTS" /YX /FD /GZ /c
|
||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\..\..\php4" /I "..\..\..\php4\main" /I "..\..\..\php4\Zend" /I "..\..\..\php4\TSRM" /I "..\..\..\php4\win32" /I "..\..\..\php_build" /D ZEND_DEBUG=1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "COMPILE_DL_SQLITE" /D ZTS=1 /D "ZEND_WIN32" /D "PHP_WIN32" /D HAVE_SQLITE=1 /D "PHP_SQLITE_EXPORTS" /YX /FD /GZ /c
|
||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
|
||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
|
||||
# ADD BASE RSC /l 0x407 /d "_DEBUG"
|
||||
@@ -80,7 +80,7 @@ BSC32=bscmake.exe
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
|
||||
# ADD LINK32 php4ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS\php_sqlite.dll" /pdbtype:sept /libpath:"..\..\Debug_TS" /libpath:"..\..\..\php_build\release"
|
||||
# ADD LINK32 php4ts_debug.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\Debug_TS\php_sqlite.dll" /pdbtype:sept /libpath:"..\..\..\php4\Debug_TS" /libpath:"..\..\..\php_build\release"
|
||||
|
||||
!ENDIF
|
||||
|
||||
|
||||
Reference in New Issue
Block a user