Felipe Pena
e304515ddb
- MFH: Added parameter TSRMLS_DC in zend_is_callable()
2008-08-02 04:46:07 +00:00
Jani Taskinen
281352fe02
MFH: Fix PDO configure dependancy: If --disable-pdo is used, disable all
...
MFH: enabled-by-default drivers. Also error out if you try to configure
MFH: a driver as static but pdo is disabled.
2008-07-25 13:46:24 +00:00
Dmitry Stogov
ac68c41f8d
Fixed support for static methods
2008-07-25 09:44:47 +00:00
Antony Dovgal
a46319d86d
fix typos
2008-07-25 08:45:09 +00:00
Dmitry Stogov
691d4a6999
Fixed uninitialised data
2008-07-25 08:23:07 +00:00
Pierre Joye
246d836a28
- MFH: force static for now, broken now
2008-07-24 16:05:34 +00:00
Johannes Schlüter
be0793d2e7
MFH: Add mysqlnd support for PDO_mysql, fixes at least bug#41997,#42499,
...
pecl#12794, pecl#12401
# Running the tests:
# (Note: Doesn't work currnetly on HEAD, see:
# http://news.php.net/php.qa/64378 )
#
# PDO_MYSQL_TEST_DSN - DSN
# For example: mysql:dbname=test;host=localhost;port=3306
#
# PDO_MYSQL_TEST_HOST - database host
# PDO_MYSQL_TEST_DB - database (schema) name
# PDO_MYSQL_TEST_SOCKET - database server socket
# PDO_MYSQL_TEST_ENGINE - storage engine to use
# PDO_MYSQL_TEST_USER - database user
# PDO_MYSQL_TEST_PASS - database user password
# PDO_MYSQL_TEST_CHARSET - database charset
#
# NOTE: if any of PDO_MYSQL_TEST_[HOST|DB|SOCKET|ENGINE|CHARSET] is
# part of PDO_MYSQL_TEST_DSN, the values must match. That is, for example,
# for PDO_MYSQL_TEST_DSN = mysql:dbname=test you MUST set PDO_MYSQL_TEST_DB=test.
2008-07-21 13:09:28 +00:00
Felipe Pena
cb0d08699d
- Added arginfo
2008-06-27 19:16:17 +00:00
Felipe Pena
f6cc283d46
- MFH: Add check for avoid segfault when trying instantiate PDORow manually
2008-05-14 12:32:21 +00:00
Ilia Alshanetsky
3bcf8a3d00
Added a warning message on pdo::exec() failure in the event of an empty query
2008-04-22 13:01:45 +00:00
Nuno Lopes
8dc8b63cca
fix SKIPIFs
...
# Patch by Christian Hoffmann
2008-04-10 18:50:42 +00:00
Antony Dovgal
57f51ee9a4
remove ze1_compat leftovers
2008-03-18 14:44:35 +00:00
Nuno Lopes
25e6cd1a38
remove duplicated sections
2008-03-17 17:19:48 +00:00
Felipe Pena
84a8bb038a
MFH: New way for check void parameters
2008-03-10 22:15:36 +00:00
Ilia Alshanetsky
1a3f7f6450
Fixed bug #44166 (Parameter handling flaw in PDO::getAvailableDrivers())
2008-03-03 21:12:16 +00:00
Johannes Schlüter
1aa32afa8a
MFH: Fix get_parent_class() of PDORow instances
2008-03-03 19:00:45 +00:00
Ilia Alshanetsky
43bcf759d3
Better fix for bug #44189
2008-02-26 00:13:57 +00:00
Ilia Alshanetsky
e0388c5549
Fixed bug #44200 (A crash in PDO when no bound targets exists and yet
...
bound parameters are present)
2008-02-24 16:08:32 +00:00
Felipe Pena
31ba224d90
Fix test
2008-02-22 02:15:42 +00:00
Ilia Alshanetsky
2fc9f5928e
Fixed bug #44189 (PDO setAttribute() does not properly validate values for
...
native numeric options)
2008-02-21 13:37:21 +00:00
Ilia Alshanetsky
3101edfd18
Fixed bug #44171 (Invalid FETCH_COLUMN index does not raise an error)
2008-02-20 03:11:43 +00:00
Felipe Pena
eaed933e57
New test
2008-02-19 14:53:04 +00:00
Nuno Lopes
083f474a47
some BDs (e.g. firebird) dont support text, so replace it with varchar(255).
2008-02-19 14:46:20 +00:00
Felipe Pena
6e712e05ab
MFB: Fixed Bug #44159 (Crash: $pdo->setAttribute(PDO::STATEMENT_ATTR_CLASS, NULL))
2008-02-19 12:13:20 +00:00
Ilia Alshanetsky
353d1ea039
PDO is hardly experimental
2008-01-31 20:50:27 +00:00
Dmitry Stogov
240fa244c3
Improved PHP binary size and startup speed with GCC4 visibility control (Nuno)
2008-01-30 09:41:12 +00:00
Nuno Lopes
b89396b11e
move about 3K of data to the const area. also reduce memory usage (~ -266 bytes :P)
2008-01-25 19:57:57 +00:00
Ilia Alshanetsky
40dc00410d
Missing patch bit from the FETCH_GROUP fix
2008-01-14 18:41:31 +00:00
Ilia Alshanetsky
fa1e1d249b
Fixed a bug with PDO::FETCH_COLUMN|PDO::FETCH_GROUP mode when a column # by
...
which to group by data is specified.
2008-01-11 01:47:18 +00:00
Ilia Alshanetsky
a4674c5ed7
Skip test for PostgreSQL driver since error is too dissimilar to other
...
drivers
2008-01-03 16:46:52 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Sebastian Bergmann
f8a8196d63
MFH: Bump copyright year, 1 of 2.
2007-12-31 07:15:43 +00:00
David Soria Parra
07487ad0e7
- Fixed bug #43663 (Extending PDO class with a __call() function doesn't work).
...
CVS
2007-12-30 17:51:35 +00:00
Antony Dovgal
2b856ff3c7
fix test
2007-11-27 11:14:33 +00:00
Antony Dovgal
da231136ce
fix test
2007-11-27 06:44:16 +00:00
Ilia Alshanetsky
0c0456d275
Revert addition of - char support for bound param names
2007-11-26 21:09:50 +00:00
Jani Taskinen
dcd3b197e7
MFH:- Fixed bug #43365 (Several enums have trailing commas)
2007-11-26 10:59:04 +00:00
Ilia Alshanetsky
204f9e1a74
Adjusted fix for bug #42978
2007-11-20 23:12:17 +00:00
Ilia Alshanetsky
48878f2ecd
Fixed bug #42978 (mismatch between number of bound params and values causes
...
a crash in pdo_pgsql)
2007-11-20 14:22:27 +00:00
Antony Dovgal
379e8a5970
fix test
2007-11-08 12:40:43 +00:00
Ilia Alshanetsky
d689a10f3a
Fixed test
2007-11-04 16:12:13 +00:00
Ilia Alshanetsky
548c25ef1c
Fixed bug #43139 PDO ignores ATTR_DEFAULT_FETCH_MODE in some cases with fetchAll()
2007-10-31 12:57:51 +00:00
Ilia Alshanetsky
84f0fba1a5
Test not relavent for sqlite that uses built-in bound syntax
2007-10-30 23:03:23 +00:00
Ilia Alshanetsky
c27a8a41c2
Fixed bug #43130 (Bound parameters cannot have - in their name)
2007-10-29 22:36:26 +00:00
Ilia Alshanetsky
3762dfc09f
Fixed bug #42917 (PDO::FETCH_KEY_PAIR doesn't work with setFetchMode)
2007-10-11 20:54:41 +00:00
Yiduo (David) Wang
104290130e
MFH: stmt->fetch.func.values is not a zval and should not be freed with FREE_ZVAL
2007-10-08 04:06:15 +00:00
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
Stanislav Malyshev
1f45d49a0c
fix crash if stream is empty and reader function sets buffer as null
2007-09-12 21:21:18 +00:00
Ilia Alshanetsky
910850be51
Fixed bug #42643 (CLI segfaults if using ATTR_PERSISTENT).
2007-09-12 18:26:49 +00:00