Commit Graph

426 Commits

Author SHA1 Message Date
Marcus Boerger
6c0c9f098f - Methods have flags 2006-05-09 22:12:50 +00:00
Ilia Alshanetsky
a2ea7081e0 MFB51: Fixed bug #29476 (sqlite_fetch_column_types() locks the database
forever).
2006-04-18 14:30:33 +00:00
Antony Dovgal
0574532ee4 fix compile failure 2006-04-15 15:55:32 +00:00
Antony Dovgal
6a53a49c8b MF51: 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)
2006-03-29 15:08:52 +00:00
Dmitry Stogov
c366cc6d1a Nuke int32_t (everywhere except streams layer) and signed/unsigned warnings 2006-03-02 13:12:45 +00:00
Dmitry Stogov
0f1209ab3d Portable unicode string API:
- use the same type (int) for zval.value.usr.len and zval.value.str.len
  - use union "zstr" as char*/UChar* mixture instead of void*
  - Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
  - nuke int32_t from ZE (not finisned)
2006-02-21 20:12:43 +00:00
Andi Gutmans
e94e25e621 Start nuking safe_mode. Still a lot of work to do... 2006-02-19 00:55:22 +00:00
Marcus Boerger
d87927c388 - Fix iterator handling (how did the fix after api change get lost here?)
- In php 5 we do not want to return &new
2006-02-16 01:12:51 +00:00
Dmitry Stogov
09ca61c125 Made server wide switch for unicode on/off (according to PDM). 2006-02-13 10:23:59 +00:00
Dmitry Stogov
227295a4f1 Unicode stuff is changed according to decision maden on PDM.
Now IS_BINRAY data type is removed and IS_STRING starts behave as IS_BINARY in unicode mode. IS_STRING is incompatible with IS_UNICODE, so ALL functions should be improved to support unicode mode.
2006-01-17 12:18:53 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
Ilia Alshanetsky
41ef7fb555 MFB51: Don't lose track of exec() errors in pdo_sqlite2 2005-12-21 16:23:32 +00:00
Antony Dovgal
632e571642 MFB: add missing skipif conditions, fix existing ones
add one missing test
2005-12-21 11:43:24 +00:00
Ilia Alshanetsky
d508cfee49 MFB51:
Updated libsqlite in ext/sqlite to 2.8.17.
Use in-memory database for tests.
2005-12-20 15:26:45 +00:00
Antony Dovgal
a63b1bfd0c MFB: int -> long 2005-12-17 16:08:08 +00:00
foobar
a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
foobar
34ad5ab731 - list_entry -> zend_rsrc_list_entry 2005-12-05 23:31:09 +00:00
Brian France
5e81ec643f Wrap the php_session.h include in the same ifdef as the rest of the
session code.
2005-12-05 20:41:57 +00:00
Ilia Alshanetsky
f631fdef4c MFB51: Regen files so they work properly with gcov. 2005-12-04 17:25:26 +00:00
foobar
04dffec1c4 - Use right define: ZEND_MODULE_API_NO as these are PHP modules, not Zend extensions 2005-11-25 15:40:14 +00:00
Ilia Alshanetsky
f5608e0798 MFB51: Fixed bug #35248 (sqlite_query() doesnt set error_msg when return
value is being used).
2005-11-17 14:40:11 +00:00
Antony Dovgal
e658842761 fix #35197 (Destructor is not called) and similar issues in other extensions 2005-11-14 21:52:27 +00:00
Ilia Alshanetsky
090ef86983 Do not set authorizer unless safe_mode or open_basedir are being used. 2005-10-18 22:50:43 +00:00
Antony Dovgal
f1272dee51 nuke unused var and silence warnings 2005-10-18 14:50:20 +00:00
Ilia Alshanetsky
8f6a90297a MFB51: Fixed bug #34899 (Fixed sqlite extension compile failure). 2005-10-18 14:34:00 +00:00
Ilia Alshanetsky
ee5282ad63 Fixed bug #34884 (Possible crash in ext/sqlite when sqlite.assoc_case is
being used).
2005-10-17 14:29:20 +00:00
foobar
0465f487a4 - Silence unnecessary output 2005-10-16 20:41:02 +00:00
Edin Kadribasic
c4e65a4a2d MFB: Build PDO and SQLite as shared 2005-09-24 15:15:13 +00:00
Marcus Boerger
35c85a23f1 - MFB 2005-09-16 15:23:37 +00:00
Ilia Alshanetsky
5754b7321a Allow retrieval of query parse errors from SQLite.
# Patch by Nuno Lopes
2005-09-08 21:07:26 +00:00
Ilia Alshanetsky
2195f7ec74 Upgraded sqlite2 lib to 2.8.16 2005-09-07 15:10:15 +00:00
Dmitry Stogov
f4b8f4e958 Unicode support cleanup 2005-08-23 09:33:46 +00:00
Dmitry Stogov
6b622046dc zend_is_callable() and zend_make_callable() were changed to return readable function name as zval (instead of string). 2005-08-22 12:22:16 +00:00
Dmitry Stogov
d0944d74f4 Unicode support 2005-08-16 15:09:51 +00:00
Sebastian Bergmann
52b001cc05 ZTS fixes. 2005-08-12 14:08:28 +00:00
Andrei Zmievski
264cec8be6 Unicode support. 2005-08-11 23:36:07 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Wez Furlong
f94f36fee8 adopt generic PDO test suite 2005-07-07 13:04:26 +00:00
foobar
19639aa9ab Use the new dependency system 2005-06-17 16:42:54 +00:00
foobar
a81ac8d04b nuke unused variable 2005-06-17 13:12:31 +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
foobar
e5057f7c22 use PHP_CHECK_PDO_INCLUDES 2005-06-14 01:44:16 +00:00
foobar
8e2efc351b - Show "none" when nothing is found 2005-06-07 16:47:33 +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
2018d2df32 We only need LEMON for bundled stuff 2005-06-02 20:06:37 +00:00
Hartmut Holzgraefe
f41bf6123b typo fix 2005-05-30 15:57:54 +00:00
foobar
9b57f5ff36 - Fixed bug #33185 (--enable-session=shared does not build) 2005-05-30 15:14:12 +00:00
Hartmut Holzgraefe
43ba3897c2 gracefully handle changes of the parse.y lemon file,
process it with lemon if available, else just keep the .c file from CVS
not doing so leads to make using its implicit .y->.c rule here and
bison doesn't really understand lemon syntax
2005-05-30 14:15:40 +00:00
foobar
a20383ba06 - Unify the "configure --help" texts 2005-05-29 23:17:16 +00:00
Marcus Boerger
9b3929a7e9 - Need to make PDO::__construct() final to prevent SEGV it isn't called 1st 2005-05-26 18:36:18 +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
Marcus Boerger
2ac0540323 - Add test for deriving PDO 2005-05-24 14:26:22 +00:00
Marcus Boerger
88157ad284 - Add new tests for PDO_FETCH_INTO 2005-05-24 12:39:09 +00:00
foobar
626253940e - Added PHP_INSTALL_HEADERS() macro
- Fixed several VPATH build issues
- Changed all awk calls to use $AWK
- Changed all mkdir calls to use "$php_shtool mkdir"
2005-05-07 02:51:53 +00:00
foobar
379394b82c cleanup 2005-05-06 22:51:05 +00:00
Marcus Boerger
3080d49ed4 - Add new tests 2005-04-23 15:21:07 +00:00
foobar
cb0c9ac022 - This is not C++ code 2005-04-19 11:28:02 +00:00
Ilia Alshanetsky
e211d4e3ae Fixed bug #32753 (Undefined constant SQLITE_NOTADB). 2005-04-19 02:58:19 +00:00
Rasmus Lerdorf
802c8e83c9 Don't do PDO here if PDO is disabled 2005-04-16 00:04:27 +00:00
Marcus Boerger
06a96fdfe5 - Fix test (warnings are expected since there is no support for this) 2005-03-21 00:32:48 +00:00
Marcus Boerger
a66e14645c - Add new tests 2005-03-21 00:29:25 +00:00
Marcus Boerger
9c3164e487 - Update 2005-03-20 19:45:36 +00:00
Wez Furlong
5ab7264189 remove debuging code 2005-03-15 15:58:04 +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
cbcd4271d2 build sqlite2 pdo driver on win32 2005-03-12 01:14:21 +00:00
Marcus Boerger
5985098b98 - Add tests 2005-03-12 00:51:39 +00:00
Marcus Boerger
c7ec6d0ce1 - Errcode might be empty 2005-03-12 00:50:20 +00:00
Wez Furlong
9619c3b811 Fix crappy whitespace 2005-03-12 00:07:44 +00:00
Wez Furlong
52dd9f028e Implement a PDO driver for sqlite 2 2005-03-11 23:57:01 +00:00
Marcus Boerger
253cd12753 - Regroup and add a test 2005-02-19 14:02:24 +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
Wez Furlong
0aa82c3c83 same fix here 2005-02-13 03:15:11 +00:00
Wez Furlong
474a65e277 update todo 2005-02-06 19:59:32 +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
foobar
a139dbf9cc - Fix outside-source-tree builds. Always include generated header files
with #include <some_header.h> to make sure the correct file is used.
2005-01-09 21:05:06 +00:00
Stanislav Malyshev
9fa1ee360b merge patch from http://www.sqlite.org/cvstrac/chngview?cn=1953
bug led to PHP exiting on queries with unknown columns
2005-01-03 11:29:27 +00:00
Stanislav Malyshev
808d9b035f 'l' is long - int won't work on 64-bit 2004-11-26 13:17:30 +00:00
Joe Orton
2685ca935f Update extensions to use /path/to/$PHP_LIBDIR rather than /path/to/lib
to support multi-ABI platforms.
2004-11-03 14:32:52 +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
07a17df386 touch to avoid weird implicit makefile rule 2004-07-18 10:34:12 +00:00
Zeev Suraski
ce6717965e Fix sqlite build 2004-07-15 22:34:45 +00:00
Ilia Alshanetsky
0ad4c5037c Touch the file so that build system does not try to rebuild it. 2004-07-12 17:44:40 +00:00
Wez Furlong
a0957e24b7 Fix #28402: no need for -ldl 2004-07-10 12:49:34 +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
Wez Furlong
e563b4eafa Upgrade bundled library to 2.8.14 + misc fixes
(http://www.sqlite.org/cvstrac/chngview?cn=1742)
2004-07-10 12:27:51 +00:00
Ard Biesheuvel
5232a5afea 64-bit bugsquash party 2004-06-16 23:57:25 +00:00
Wez Furlong
7916ef2ee1 Allow sqlite to build as a shared ext under win32 2004-05-25 13:01:05 +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
Derick Rethans
5c9d3842bd - HTML entity to ISO char. 2004-04-30 18:00:24 +00:00
Marcus Boerger
9aab7d7cdf An oumlaut doesn't work here, need ASCII only 2004-04-29 22:57:23 +00:00
Marcus Boerger
af17964ef4 Avoid warning to interfere test result 2004-04-22 22:55:18 +00:00
Ilia Alshanetsky
9da8328bae Empty query checks, bug #28112. 2004-04-22 22:34:29 +00:00