Commit Graph

190 Commits

Author SHA1 Message Date
Yiduo (David) Wang
4b4d634cb9 MFH: Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:22:07 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Ilia Alshanetsky
9db4812366 Remove pointless RINIT 2007-05-19 17:58:22 +00:00
Ilia Alshanetsky
502d68e1e7 Fixed bug #41285 (Improved fix for CVE-2007-1887 to work with non-bundled
sqlite2 lib).
2007-05-05 15:36:15 +00:00
Stanislav Malyshev
896abc5e34 use safe_realloc 2007-03-06 02:17:13 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Antony Dovgal
5af7f12eb8 fix ZTS build without SPL enabled 2006-10-20 21:28:31 +00:00
Ilia Alshanetsky
4c65e0e1cd Added missing validation checks around expand_filepath() 2006-09-16 18:10:32 +00:00
Dmitry Stogov
1dbaae2795 Added automatic module globals management 2006-06-15 18:33:09 +00:00
Ilia Alshanetsky
18870e3afc E_ERROR -> E_RECOVERABLE_ERROR 2006-06-14 16:04:13 +00:00
Marcus Boerger
77c1b56cd7 - Update after api changes 2006-05-10 00:00:13 +00:00
Ilia Alshanetsky
1c0d8a536a Fixed bug #29476 (sqlite_fetch_column_types() locks the database forever). 2006-04-18 14:30:16 +00:00
Antony Dovgal
59b8592c8c fix bug #36898 (__set() leaks in classes extending internal ones)
Added:
ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce TSRMLS_DC)
ZEND_API void zend_object_std_dtor(zend_object *object TSRMLS_DC)

to initialize and destroy zend_object structs
2006-03-29 14:28:43 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
foobar
3e669bc950 MFH: nuke php3 legacy 2005-12-06 02:28:41 +00:00
foobar
a3af52c11e MFH: list_entry -> zend_rsrc_list_entry 2005-12-05 23:38:04 +00:00
Brian France
7154c617bf Wrap the php_session.h include in the same ifdef as the rest of the
session code.
2005-12-05 20:40:54 +00:00
foobar
366832fbd2 MFH: Fixed wrong usage of ZEND_EXTENSION_API_NO (these are not Zend exts :) 2005-11-25 16:01:41 +00:00
Ilia Alshanetsky
d734669230 Fixed bug #35248 (sqlite_query() doesnt set error_msg when return value is
being used).
2005-11-17 14:38:36 +00:00
Antony Dovgal
241aa9a59d MFH: fix #35197 (Destructor is not called) and similar issues in other extensions 2005-11-14 22:03:02 +00:00
Ilia Alshanetsky
cbb928b8eb MFH: Do not set authorizer unless safe_mode or open_basedir are being used. 2005-10-18 22:51:10 +00:00
Antony Dovgal
fb57a8363e unused var 2005-10-18 14:50:48 +00:00
Ilia Alshanetsky
b0f1719ee5 MFH: Fixed bug #34884 (Possible crash in ext/sqlite when sqlite.assoc_case
is being used).
2005-10-17 14:30:35 +00:00
Ilia Alshanetsky
26bf79a15e MFH: Allow retrieval of query parse errors from SQLite. 2005-09-08 21:07:40 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
foobar
19639aa9ab Use the new dependency system 2005-06-17 16:42:54 +00:00
Dmitry Stogov
f47c78487b Improved PHP extension loading mechanism with support for module dependencies and conflicts 2005-06-17 09:39:23 +00:00
Dmitry Stogov
84392e5e7f Fixed memory allocation bugs. Probably this patch should fix bug #31725. 2005-06-07 15:39:35 +00:00
foobar
9b57f5ff36 - Fixed bug #33185 (--enable-session=shared does not build) 2005-05-30 15:14:12 +00:00
Marcus Boerger
457d556f66 - Make SQLiteDatabase derivable by dropping final tag from class and
making the ctor final to ensure it is being called, which is the problem.
2005-05-26 11:53:16 +00:00
Ilia Alshanetsky
e211d4e3ae Fixed bug #32753 (Undefined constant SQLITE_NOTADB). 2005-04-19 02:58:19 +00:00
Wez Furlong
6090964157 I'm a PECL citizen; even though I am HEAD of pecl/sqlite, don't assume that I
am being built against HEAD of php-src.
2005-03-15 15:57:49 +00:00
Wez Furlong
52dd9f028e Implement a PDO driver for sqlite 2 2005-03-11 23:57:01 +00:00
Marcus Boerger
7956ca0211 - SQLite depends on SPL if it is present
- Add SQLiteResult::count()
- SQLiteResult implements Countable if present
2005-02-15 21:09:42 +00:00
Marcus Boerger
1c2b14b92f - Proto fix 2005-01-25 19:08:38 +00:00
Marcus Boerger
7ec2fe9dcd - Synch with MYSQLi extension and use RuntimeException as base for
SQLiteException if SPL is present.
2005-01-24 18:46:50 +00:00
Marcus Boerger
4a76003201 - Fix proto 2005-01-10 07:19:08 +00:00
Marcus Boerger
0f44e8a722 - Bugfix #31342: SQLite OO interface with Exceptions (hugo dot pl at gmail dot com) 2005-01-10 07:16:25 +00:00
Marcus Boerger
4494f0892b - Implement iterator interface in sqlite 2005-01-10 07:13:56 +00:00
Stanislav Malyshev
808d9b035f 'l' is long - int won't work on 64-bit 2004-11-26 13:17:30 +00:00
Ilia Alshanetsky
7d18ca4c93 Added sqlite_fetch_column_types() 3rd argument for arrays. 2004-10-14 23:19:38 +00:00
Wez Furlong
0c1a436917 Probable fix for Bug #30147 2004-09-25 23:13:49 +00:00
Ilia Alshanetsky
cd7dafab7c Allow sqlite_fetch_column_types() to properly handle table names with
spaces in them.
2004-08-02 22:43:40 +00:00
Ilia Alshanetsky
fe50278d0a Fixed bug 29395 (sqlite_escape_string() returns bogus data on empty
strings).

Original Patch by: Tony
2004-07-27 16:40:43 +00:00
Wez Furlong
b52f7a01af Bump PHP 5 sqlite extension number to 2.0
(put some distance between it and the 4.3 version)
2004-07-10 12:30:18 +00:00
Ard Biesheuvel
5232a5afea 64-bit bugsquash party 2004-06-16 23:57:25 +00:00
Stanislav Malyshev
0821f8f7d9 add sqlite_exec() 2004-05-13 14:19:10 +00:00
Marcus Boerger
2d6770f0e6 - Added missing UNREGISTER_INI_ENTRIES 2004-05-12 10:15:48 +00:00
Ilia Alshanetsky
9da8328bae Empty query checks, bug #28112. 2004-04-22 22:34:29 +00:00
Marcus Boerger
ddfb337577 bugfix #28112 2004-04-22 22:26:02 +00:00