]>
granicus.if.org Git - php/log
Wez Furlong [Fri, 25 Nov 2005 03:37:01 +0000 (03:37 +0000)]
actually, bytea is not required for LOBs in postgres; good!
Wez Furlong [Fri, 25 Nov 2005 03:35:04 +0000 (03:35 +0000)]
Addresses #35338.
Postgres client API is pretty poor, so we have zero idea about the actual
parameter types in a statement.
We now defer the preparation of a statement until the first call to execute is
made. At that point, we have the parameters defined by the calling script, so
we can use the typing specified there when we perform the prepare.
For PDO_PARAM_LOB parameters, we set the binary formatting flag.
We can't just set this flag for all parameters, because its meaning is not
"string data, counted length" but "data is in native format". If this flag is
set for a numeric column and we send the number 1 formatted as a string, then
we will get an "insufficient data left in message" error message, because the
library was expecting sizeof(int4) bytes but only saw 1 byte for "1".
This is infuriating because we have no way to determine the datatypes for
parameters, and the type we explicitly set has to match the type in the
database. The only choice we're left with is telling postgres to deduce the
type; we still have no idea what type was deduced.
Wez Furlong [Fri, 25 Nov 2005 03:24:32 +0000 (03:24 +0000)]
PDO support for LOBs in the postgres driver currently assumes bytea columns.
Wez Furlong [Fri, 25 Nov 2005 03:23:17 +0000 (03:23 +0000)]
Bug: when stringify fetch mode is on, and the driver returns a string instead
of a stream for a LOB parameter, PDO would incorrectly return NULL for that
column.
Wez Furlong [Fri, 25 Nov 2005 02:33:04 +0000 (02:33 +0000)]
Add pdo_odbc.db2_instance_name ini setting when built against DB2.
This is a convenience for setting up the DB2 environment more easily.
Andrey Hristov [Fri, 25 Nov 2005 01:13:56 +0000 (01:13 +0000)]
fix test - unsigned it is casted to 0 in mysql sql_mode
Wez Furlong [Fri, 25 Nov 2005 00:29:04 +0000 (00:29 +0000)]
Fix for #35332.
The problem is caused by the user mixing positional and named parameters.
PDO was blindly adding the parameters, unaware that the same parameters were
already allocated by position.
What we do now is register the parameter with the driver before adding it to
any hash. This gives the driver an opportunity to normalize the name and
parameter number. PDO can then ensure that only one entry is occupied in the
hash for a given parameter.
Wez Furlong [Fri, 25 Nov 2005 00:20:12 +0000 (00:20 +0000)]
well, what do you know, it does do something.
Ilia Alshanetsky [Fri, 25 Nov 2005 00:02:16 +0000 (00:02 +0000)]
Fixed bug #35170 (PHP_AUTH_DIGEST differs under Apache 1.x and 2.x).
Wez Furlong [Thu, 24 Nov 2005 22:33:20 +0000 (22:33 +0000)]
prep for release
Wez Furlong [Thu, 24 Nov 2005 22:25:37 +0000 (22:25 +0000)]
prep for release
Wez Furlong [Thu, 24 Nov 2005 21:46:56 +0000 (21:46 +0000)]
CLASSTYPE is an internal flag.
Closes PECL #5640.
Wez Furlong [Thu, 24 Nov 2005 21:38:09 +0000 (21:38 +0000)]
Fix PECL Bug #6014; config fails on PHP 5.0.3
Marcus Boerger [Thu, 24 Nov 2005 20:06:11 +0000 (20:06 +0000)]
- NEWS, NEWS, NEWS
Marcus Boerger [Thu, 24 Nov 2005 19:56:11 +0000 (19:56 +0000)]
- MFH Reflection class consts (not removing globals consts in 5.1*) (by Johannes)
Wez Furlong [Thu, 24 Nov 2005 18:56:16 +0000 (18:56 +0000)]
Fix bug that breaks pdo_mysql when built shared (was not being linked to the
mysql libraries).
If you have another mysql module loaded, this would not have been noticable.
Ilia Alshanetsky [Thu, 24 Nov 2005 16:21:43 +0000 (16:21 +0000)]
Fixed bug #35358 (Incorrect error messages for PDO class constants).
Dmitry Stogov [Thu, 24 Nov 2005 11:33:11 +0000 (11:33 +0000)]
Fixed bug #35360 (exceptions in interactive mode (php -a) may cause crash)
Sebastian Bergmann [Thu, 24 Nov 2005 05:07:28 +0000 (05:07 +0000)]
MFH: Add an additional field $frame['object'] to the result array of debug_backtrace() that contains a reference to the respective object when the frame was called from an object.
Sara Golemon [Thu, 24 Nov 2005 04:37:47 +0000 (04:37 +0000)]
MFH (r-1.2) Sync tests with new defaults
Marcus Boerger [Thu, 24 Nov 2005 00:51:44 +0000 (00:51 +0000)]
- Fix build for new ming versions
# Maybe we should check if it is safe to MFH all the corresponding changes
# in head. But why is this out of sync anyway?
Ilia Alshanetsky [Wed, 23 Nov 2005 21:25:37 +0000 (21:25 +0000)]
Back to dev
Ilia Alshanetsky [Wed, 23 Nov 2005 20:53:33 +0000 (20:53 +0000)]
Rolling 5.1.0
Antony Dovgal [Wed, 23 Nov 2005 18:51:44 +0000 (18:51 +0000)]
change zend_read_property() to allocate property zval too
Rui Hirokawa [Wed, 23 Nov 2005 15:17:29 +0000 (15:17 +0000)]
MFH: fixed 5307 unexpected header can be injected to mb_send_mail().
foobar [Wed, 23 Nov 2005 15:01:54 +0000 (15:01 +0000)]
fix tag
Antony Dovgal [Wed, 23 Nov 2005 11:15:11 +0000 (11:15 +0000)]
fix #35336 (crash on PDO::FETCH_CLASS + __set())
Dmitry Stogov [Wed, 23 Nov 2005 09:26:43 +0000 (09:26 +0000)]
Bug #33732 (Wrong behavior of constants in class and interface extending)
Rob Richards [Wed, 23 Nov 2005 03:13:57 +0000 (03:13 +0000)]
BFN
Rob Richards [Wed, 23 Nov 2005 03:12:47 +0000 (03:12 +0000)]
Fixed bug #35342 (isset(DOMNodeList->length) returns false)
add test
Ilia Alshanetsky [Wed, 23 Nov 2005 00:15:08 +0000 (00:15 +0000)]
Fixed bug #35046 (phpinfo() uses improper css enclosure).
Ilia Alshanetsky [Tue, 22 Nov 2005 23:49:13 +0000 (23:49 +0000)]
Added 5.1 upgrading notes.
# Big thanks to Steph Fox for taking the time to make this list possible.
Antony Dovgal [Tue, 22 Nov 2005 22:53:34 +0000 (22:53 +0000)]
fix #35341 (Fix for bug #33760 breaks build with older curl)
Sara Golemon [Tue, 22 Nov 2005 22:05:38 +0000 (22:05 +0000)]
Widen allowable range of values for 'window' bits.
Make -MAX_WBITS default (to match gzinflate() and gzdeflate())
Ilia Alshanetsky [Tue, 22 Nov 2005 19:46:13 +0000 (19:46 +0000)]
Removed {} E_STRICT pending furher discussion, may be introduced later on.
Ilia Alshanetsky [Tue, 22 Nov 2005 03:01:39 +0000 (03:01 +0000)]
Fixed command error in ftp:// wrapper.
# Thanks to Stefan Esser for discovering the problem.
Ilia Alshanetsky [Tue, 22 Nov 2005 01:57:02 +0000 (01:57 +0000)]
Fixed test
Michael Wallner [Tue, 22 Nov 2005 00:50:36 +0000 (00:50 +0000)]
- fix make install
Frank M. Kromann [Tue, 22 Nov 2005 00:29:56 +0000 (00:29 +0000)]
/Gz and /RTC1 is for debug builds
foobar [Mon, 21 Nov 2005 23:08:02 +0000 (23:08 +0000)]
MFH: - Fixed header installing under phpize builds
Marcus Boerger [Mon, 21 Nov 2005 19:24:38 +0000 (19:24 +0000)]
- MFH Fixed Bug #35286 tokenizer ext drops final comment (by greg)
foobar [Mon, 21 Nov 2005 19:06:04 +0000 (19:06 +0000)]
test -e does not work with solaris
Derick Rethans [Sun, 20 Nov 2005 20:14:24 +0000 (20:14 +0000)]
- Fixed bug #35143 (gettimeofday() ignores current time zone).
- Fixed tests due to class constants patch.
Ilia Alshanetsky [Sun, 20 Nov 2005 20:06:28 +0000 (20:06 +0000)]
Fixed bug #35303 (PDO prepare() crashes with invalid parameters).
foobar [Sun, 20 Nov 2005 18:07:28 +0000 (18:07 +0000)]
MFH: - Fixed bug #35243 (php_mblen() crashes when compiled with thread-safety on Linux)
Sebastian Bergmann [Sun, 20 Nov 2005 17:03:14 +0000 (17:03 +0000)]
Use /RTC1 instead of /GZ for MS VisualStudio 2005.
Marcus Boerger [Sun, 20 Nov 2005 13:05:15 +0000 (13:05 +0000)]
- MFH Fix parameter parsing
foobar [Sun, 20 Nov 2005 08:13:34 +0000 (08:13 +0000)]
fix news
Antony Dovgal [Sat, 19 Nov 2005 16:41:08 +0000 (16:41 +0000)]
MFH: fix #35293 (PDO segfaults when using persistent connections)
Rui Hirokawa [Sat, 19 Nov 2005 08:25:32 +0000 (08:25 +0000)]
MFH: fixed #35253 length of the encoded string vilolates a RFC.
Frank M. Kromann [Fri, 18 Nov 2005 21:23:20 +0000 (21:23 +0000)]
MFH: Fix #33201 Crash when fetching some data types
Frank M. Kromann [Fri, 18 Nov 2005 20:48:46 +0000 (20:48 +0000)]
MFH Fix #33963. mssql_bind fails on input parameters
Frank M. Kromann [Fri, 18 Nov 2005 20:40:52 +0000 (20:40 +0000)]
MFH: Fix #32009 crash when mssql_bind() is called more than once
Frank M. Kromann [Fri, 18 Nov 2005 19:14:32 +0000 (19:14 +0000)]
MFH: Fix #33153 Crash in mssql_next_result().
Ilia Alshanetsky [Fri, 18 Nov 2005 18:59:49 +0000 (18:59 +0000)]
Fixed bug #35278 (Multiple virtual() calls crash Apache 2 php module).
foobar [Fri, 18 Nov 2005 16:09:50 +0000 (16:09 +0000)]
php4 -> php5
foobar [Fri, 18 Nov 2005 15:07:39 +0000 (15:07 +0000)]
- Make sure --with-readline is used only when --with-libedit is not used.
Dmitry Stogov [Fri, 18 Nov 2005 11:00:15 +0000 (11:00 +0000)]
Fixed bug #35273 (Error in mapping soap - java types)
foobar [Fri, 18 Nov 2005 09:51:44 +0000 (09:51 +0000)]
back to dev
Marcus Boerger [Thu, 17 Nov 2005 22:35:27 +0000 (22:35 +0000)]
- Not in this branch
Rasmus Lerdorf [Thu, 17 Nov 2005 21:56:04 +0000 (21:56 +0000)]
Missing }}}
Ilia Alshanetsky [Thu, 17 Nov 2005 21:27:58 +0000 (21:27 +0000)]
RC6
foobar [Thu, 17 Nov 2005 21:15:19 +0000 (21:15 +0000)]
fix news
Ilia Alshanetsky [Thu, 17 Nov 2005 21:05:30 +0000 (21:05 +0000)]
Moved date constants into the date class, they all class constants now.
Ilia Alshanetsky [Thu, 17 Nov 2005 21:00:28 +0000 (21:00 +0000)]
MFH: Resolve Apache 2 regression with sub-request handling on non-linux
systems.
Sara Golemon [Thu, 17 Nov 2005 19:40:38 +0000 (19:40 +0000)]
MFH (r-1.51) #32371 php://input sometimes returns duplicate data
Antony Dovgal [Thu, 17 Nov 2005 19:21:32 +0000 (19:21 +0000)]
MFH: make GCC happy and suppress the warning
Ilia Alshanetsky [Thu, 17 Nov 2005 18:25:16 +0000 (18:25 +0000)]
Fixed test.
Ilia Alshanetsky [Thu, 17 Nov 2005 14:38:36 +0000 (14:38 +0000)]
Fixed bug #35248 (sqlite_query() doesnt set error_msg when return value is
being used).
Antony Dovgal [Thu, 17 Nov 2005 14:19:40 +0000 (14:19 +0000)]
MFH: fix #35079 (stream_set_blocking(true) toggles, not enables blocking)
patch by askalski at gmail dot com
Derick Rethans [Thu, 17 Nov 2005 13:04:31 +0000 (13:04 +0000)]
- Fixed bug #35218 (strtotime no longer ignores timezone comments like "(PST)")
Derick Rethans [Thu, 17 Nov 2005 12:33:36 +0000 (12:33 +0000)]
- Fixed typo
foobar [Thu, 17 Nov 2005 10:02:42 +0000 (10:02 +0000)]
MFH: Renamed config.m4 to config0.m4
# PCRE configure tests must be run before e.g. ext/filter
foobar [Thu, 17 Nov 2005 09:58:28 +0000 (09:58 +0000)]
MFH
foobar [Thu, 17 Nov 2005 08:37:31 +0000 (08:37 +0000)]
MFH: - Fix compile failure when ext/readline is compiled as shared (bug #35249)
Ilia Alshanetsky [Thu, 17 Nov 2005 00:19:23 +0000 (00:19 +0000)]
Allow zend_parse_parameters to handle non-well formed integers, but raise
E_NOTICE in the process.
foobar [Wed, 16 Nov 2005 22:14:32 +0000 (22:14 +0000)]
MFH
Ilia Alshanetsky [Wed, 16 Nov 2005 16:57:27 +0000 (16:57 +0000)]
{} to [] test fixes
Ilia Alshanetsky [Wed, 16 Nov 2005 15:41:59 +0000 (15:41 +0000)]
back to dev
Ilia Alshanetsky [Wed, 16 Nov 2005 15:13:20 +0000 (15:13 +0000)]
Updated tests to use [] instead of {}
Ilia Alshanetsky [Wed, 16 Nov 2005 15:10:56 +0000 (15:10 +0000)]
By popular demand the {} message is now an E_STRICT.
Ilia Alshanetsky [Wed, 16 Nov 2005 14:55:21 +0000 (14:55 +0000)]
Added depreciation notice for {} string offset access.
Ilia Alshanetsky [Wed, 16 Nov 2005 14:18:11 +0000 (14:18 +0000)]
5.1.0RC5
Dmitry Stogov [Wed, 16 Nov 2005 11:52:27 +0000 (11:52 +0000)]
Fixed bug #35239 (Objects can lose references)
Dmitry Stogov [Wed, 16 Nov 2005 09:31:21 +0000 (09:31 +0000)]
Fixed bug #35229 (call_user_func() crashes when arguement_stack is nearly full)
Wez Furlong [Wed, 16 Nov 2005 06:32:33 +0000 (06:32 +0000)]
Closes PECL #5944; binding an invalid parameter can lead to segfaults.
Modified patch provided by curt@php.net.
Marcus Boerger [Tue, 15 Nov 2005 21:33:10 +0000 (21:33 +0000)]
- MFH Add new test
foobar [Tue, 15 Nov 2005 16:53:14 +0000 (16:53 +0000)]
extend the entry a bit :)
foobar [Tue, 15 Nov 2005 16:51:24 +0000 (16:51 +0000)]
bfp
Dmitry Stogov [Tue, 15 Nov 2005 16:49:40 +0000 (16:49 +0000)]
Allow "null" default value for arguments with array type hint
Derick Rethans [Tue, 15 Nov 2005 15:59:49 +0000 (15:59 +0000)]
- Allow "= null" default for parameters with a class type-hint.
Ilia Alshanetsky [Tue, 15 Nov 2005 15:27:26 +0000 (15:27 +0000)]
Fixed memory leak on php-cli -h
Ilia Alshanetsky [Tue, 15 Nov 2005 14:46:34 +0000 (14:46 +0000)]
MFH: Fixed possible crash in http:// wrapper.
Dmitry Stogov [Tue, 15 Nov 2005 14:28:40 +0000 (14:28 +0000)]
Allow recursive calls to __get/__set for different properties
Dmitry Stogov [Tue, 15 Nov 2005 14:18:15 +0000 (14:18 +0000)]
Allow recursive calls to __get/__set for different properties
Antony Dovgal [Tue, 15 Nov 2005 14:08:03 +0000 (14:08 +0000)]
MFH: call zend_objects_destroy_object() explicitly
fix segfault when intern->time is NULL
Dmitry Stogov [Tue, 15 Nov 2005 13:35:23 +0000 (13:35 +0000)]
Allow recursive calls to __get/__set for different properties
Dmitry Stogov [Tue, 15 Nov 2005 13:29:39 +0000 (13:29 +0000)]
Fixed bug #35147 (__HALT_COMPILER() breaks with --enable-zend-multibyte)
Dmitry Stogov [Tue, 15 Nov 2005 12:41:31 +0000 (12:41 +0000)]
Fixed call to __destruct() for objects of classes delivered from internal ones those use zend_objects_store_put(obj, NULL, ...
Dmitry Stogov [Tue, 15 Nov 2005 11:13:43 +0000 (11:13 +0000)]
Fixed bug #35176 (include()/require()/*_once() produce wrong error messages about main())