Commit Graph

607 Commits

Author SHA1 Message Date
Sebastian Bergmann
22f4ef45fe sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Sebastian Bergmann
cbbec12ebc sed -i "s#1997-2009#1997-2010#g" **/*.re **/*.y **/*.l 2010-01-03 08:22:14 +00:00
Matteo Beccati
731466cca3 - Updated pdo_pgsql tests to be 8.5+ friendly 2009-12-25 20:11:07 +00:00
Felipe Pena
93081294fe - Fixed memory leak when E_STRICT message is getted 2009-12-14 21:44:56 +00:00
Pierrick Charron
762ea0fb52 - Fixed bug #50458 (PDO::FETCH_FUNC fails with Closures) 2009-12-14 03:44:33 +00:00
Felipe Pena
05859f7fc7 - Fixed bug #49174 (crash on queryString set) 2009-12-13 19:53:44 +00:00
Felipe Pena
1062384b0d - Fixed bug #50445 (PDO-ODBC stored procedure call from Solaris 64-bit causes seg fault).
(Original patch by davbrown4 at yahoo dot com)
2009-12-11 22:30:46 +00:00
Felipe Pena
a51e7d3343 - Added MAKE_COPY_ZVAL(ppzv, pzv) macro 2009-12-08 01:57:37 +00:00
Pierrick Charron
dc0b588e65 Fixed bug #50323 (Allow use of ; in values via ;; in PDO DSN even in the middle of a string). 2009-12-06 21:32:58 +00:00
Ilia Alshanetsky
ba53b1d719 Fixed bug #50323 (Allow use of ; in values via ;; in PDO DSN). 2009-12-06 19:34:12 +00:00
Pierrick Charron
13010b552b Fixed bug #45120 (PDOStatement->execute() returns true then false for same statement). 2009-12-03 15:24:43 +00:00
Ilia Alshanetsky
2b632d9732 Don't ignore the 2nd parameter to PDO's quote() method that identifies the data type 2009-11-20 18:54:08 +00:00
Felipe Pena
7c3bd45b82 - Fixed bug #49521 (PDO fetchObject sets values before calling constructor)
(patch by Pierrick)
2009-11-15 16:20:37 +00:00
Felipe Pena
d41c132f0a - Fixed class name in row_get_classname (PDORow) 2009-10-12 17:20:30 +00:00
Felipe Pena
d85064adcf - Fixed PDORow and PDOStatement crashes when instantiating throught Reflection 2009-10-12 17:09:11 +00:00
Felipe Pena
985945d1c6 - Revert my mistake 2009-07-19 22:46:03 +00:00
Felipe Pena
f7a0e81a0f - Fixed module check (Related to bug #48785) 2009-07-19 20:53:26 +00:00
Felipe Pena
73e8c2e140 - Fixed bug #48773 (Incorrect error when setting PDO::ATTR_STATEMENT_CLASS with ctor_args)
[HEAD only]
2009-07-19 18:55:31 +00:00
Felipe Pena
5180421361 - MFB: Double to string conversion fix (#41698 #48924) 2009-07-16 22:37:24 +00:00
Felipe Pena
6d34e06a2f - Dropped *_TEXT* macros in favor of unicode macros direct usage 2009-05-25 14:32:15 +00:00
Kalle Sommer Nielsen
7206a97ecd Fixed compiler warning (HEAD only) 2009-05-19 10:11:46 +00:00
Matteo Beccati
c6aa455ff1 - Moved test for bug #44861 to PDO commons and added support for pdo_oci
# This allows scrollable cursors to be tested with all the drivers
# that currently support them (pgsql and oci), ensuring a consistent
# behaviour. The test is skipped when using other drivers.
2009-05-12 23:39:57 +00:00
Kalle Sommer Nielsen
7115e4a23b Fix proto 2009-05-02 01:36:45 +00:00
Matteo Beccati
7db1207d47 - Reverted previous fix for bug #46274 and properly fixed it
- Fixed bug #48060
# Also added tests for pdo_oci as it's the only other driver currently
# using streams: no regression found
2009-04-23 13:22:12 +00:00
Matteo Beccati
7634a5a9b4 - Fixed bug #44173 (PDO->query() parameter parsing/checking needs an
update)
# The changeset is longer than really needed because pdo_stmt.c was
# refactored to remove the "goto"
2009-04-02 16:40:33 +00:00
Felipe Pena
8ecf8ede1f - Removed:
- UG(unicode) checks
       - pcre_cache_entry.unicode_mode
- Changed:
       - ZEND_STR_TYPE -> IS_UNICODE
       - convert_to_text -> convert_to_unicode
       - convert_to_text_ex -> convert_to_unicode_ex

(Felipe, Steph)
2009-03-26 20:02:53 +00:00
Felipe Pena
e96a4a7d63 - Fix typo 2009-03-26 13:54:53 +00:00
Felipe Pena
35ddc72b28 - Fixed bug #47769 (Strange extends PDO) 2009-03-26 12:51:30 +00:00
Felipe Pena
dc61f2e106 - Fixed some code to be working with unicode 2009-03-25 12:05:51 +00:00
Felipe Pena
d0c644c7bb - Synced pieces of codes
- Fixed tests
2009-03-24 19:32:06 +00:00
Felipe Pena
501a5a0d94 - MFB old changes 2009-03-23 23:58:49 +00:00
Felipe Pena
11dde4a7c5 - Fixed bug #44409 (PDO::FETCH_SERIALIZE calls __construct())
Patch by: matteo at beccati dot com
2009-03-23 23:02:06 +00:00
Andrei Zmievski
c8362a20f6 Fix copy-pasto (needs to return proper CE). 2009-03-12 16:12:44 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Johannes Schlüter
f6f0d58bee - Fix #46542 Extending PDO class with a __call() function doesn't work as
expected
2009-02-17 14:39:58 +00:00
Felipe Pena
9b8e2baf6b - Missing "DROP TABLE" 2009-02-16 19:48:49 +00:00
Felipe Pena
e2fa0bbf23 - Added arginfo 2009-02-13 12:54:20 +00:00
Felipe Pena
039f424f89 - Fixed bug #43831 ($this gets mangled when extending PDO with persistent connection)
- Fixed bug #45432 (PDO: persistent connection leak)
2009-02-13 02:18:04 +00:00
Felipe Pena
d2e40edc0a - Fixed bug #47297 (pdo_033.phpt fails on PgSQL)
Patch by matteo at beccati dot com
2009-02-04 16:40:13 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Sebastian Bergmann
befd80d1c4 Bump copyright year, 2 of 3. 2008-12-31 11:10:02 +00:00
Antony Dovgal
a1775daba1 fix possible invalid read 2008-12-03 10:11:04 +00:00
Matt Wilmas
2a2653a347 MFB (1.82.2.31.2.17.2.10): "Added a warning message on pdo::exec() failure in the event of an empty query" 2008-12-03 00:08:37 +00:00
Dmitry Stogov
e5454b359a Fixed bug #46409 (__invoke method called outside of object context when using array_map) 2008-11-27 19:02:45 +00:00
Felipe Pena
43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Felipe Pena
ed247d6d41 - Better fix 2008-11-13 18:14:31 +00:00
Pierre Joye
9c9bd52036 - declarations go first.... 2008-11-13 14:36:56 +00:00
Felipe Pena
c37e9fd8bb - Fixed invalid reads 2008-11-13 13:07:50 +00:00
David Coallier
a6cb5393c6 - MFB (Which was an MFH)
- Bug #44153 (ErrorCode returns NULL when no error)
- Bug #44154 (ErrorInfo to ALWAYS have 3 elements)
2008-11-10 20:34:53 +00:00
Felipe Pena
27357e9ce5 - Fixed wrong check
- Improved test
2008-11-05 23:39:09 +00:00