]> granicus.if.org Git - php/log
php
18 years agoFixed Bug #36602: persistent connections don't work with MySQL 5.0.3+.
Wez Furlong [Sun, 9 Apr 2006 08:11:31 +0000 (08:11 +0000)]
Fixed Bug #36602: persistent connections don't work with MySQL 5.0.3+.
Fixed PECL Bug #6262; correctly fallback to emulated statements
when the server version is too old.

Also include code to default to using emulated prepared statements, as these
can take advantage of the query cache.  Since it's a bit late in the release
process to spring this on the masses, the default has not been changed.  The
code is included so that it doesn't get lost.

18 years agoAdd "ATTR_EMULATE_PREPARES" general attribute to replace the custom
Wez Furlong [Sun, 9 Apr 2006 08:05:01 +0000 (08:05 +0000)]
Add "ATTR_EMULATE_PREPARES" general attribute to replace the custom
attributes employed by mysql and postgres drivers.
No functional change.

18 years agoThis completes the fix for PECL #5827; we need to gobble up result sets in the
Wez Furlong [Sun, 9 Apr 2006 06:49:07 +0000 (06:49 +0000)]
This completes the fix for PECL #5827; we need to gobble up result sets in the
stmt dtor too.

18 years agofix for PECL Bug #5827.
Wez Furlong [Sun, 9 Apr 2006 06:41:42 +0000 (06:41 +0000)]
fix for PECL Bug #5827.
We're responsible for gobbling up supplemental result sets in closeCursor()
(which is what PDO does for us if we didn't implement our own closer routine).

18 years agoMFH
Andrei Zmievski [Sat, 8 Apr 2006 17:53:11 +0000 (17:53 +0000)]
MFH

18 years agofix memory corruptions and leaks when cloning ArrayObjects and ArrayIterators
Antony Dovgal [Fri, 7 Apr 2006 22:53:23 +0000 (22:53 +0000)]
fix memory corruptions and leaks when cloning ArrayObjects and ArrayIterators

18 years agoRC3
Ilia Alshanetsky [Fri, 7 Apr 2006 14:21:13 +0000 (14:21 +0000)]
RC3

18 years ago- revert last commit, something else went wrong
Pierre Joye [Fri, 7 Apr 2006 14:04:36 +0000 (14:04 +0000)]
- revert last commit, something else went wrong

18 years agoOptimization
Dmitry Stogov [Fri, 7 Apr 2006 13:57:27 +0000 (13:57 +0000)]
Optimization

18 years agoCGI anf FastCGI assume $_SERVER and $_ENV have the same values,
Dmitry Stogov [Fri, 7 Apr 2006 13:45:23 +0000 (13:45 +0000)]
CGI anf FastCGI assume $_SERVER and $_ENV have the same values,
so we don't need construct the same arrays twich and may just copy it

18 years ago- fix leak when an error occured in socket_read, free tmpbuf
Pierre Joye [Fri, 7 Apr 2006 13:33:55 +0000 (13:33 +0000)]
- fix leak when an error occured in socket_read, free tmpbuf

18 years agoRemoved unnecessary copying
Dmitry Stogov [Fri, 7 Apr 2006 12:39:43 +0000 (12:39 +0000)]
Removed unnecessary copying

18 years agoWe don't need setup the same time-out two times.
Dmitry Stogov [Fri, 7 Apr 2006 11:44:03 +0000 (11:44 +0000)]
We don't need setup the same time-out two times.

18 years agoMFH:
Dmitry Stogov [Fri, 7 Apr 2006 10:06:21 +0000 (10:06 +0000)]
MFH:
- Allowed storing NULL pointers in HashTable
- Optimized zend_hash_reverse_apply()

18 years agoAdjusted credits file so that it appears properly on phpinfo()
Ilia Alshanetsky [Fri, 7 Apr 2006 03:41:06 +0000 (03:41 +0000)]
Adjusted credits file so that it appears properly on phpinfo()

18 years agoI guess we only need this on HEAD.
Andrei Zmievski [Thu, 6 Apr 2006 21:35:27 +0000 (21:35 +0000)]
I guess we only need this on HEAD.

18 years ago*** empty log message ***
Andrei Zmievski [Thu, 6 Apr 2006 21:11:12 +0000 (21:11 +0000)]
*** empty log message ***

18 years agoFix a bug that would not fill in the fifth argument to preg_replace()
Andrei Zmievski [Thu, 6 Apr 2006 21:10:45 +0000 (21:10 +0000)]
Fix a bug that would not fill in the fifth argument to preg_replace()
properly, if the variable was not declared previously.

18 years agofix #36981 (SplFileObject->fgets() ignores max_length)
Antony Dovgal [Thu, 6 Apr 2006 19:01:56 +0000 (19:01 +0000)]
fix #36981 (SplFileObject->fgets() ignores max_length)

18 years agoFixed safe_mode check for source argument of the copy() function.
Ilia Alshanetsky [Thu, 6 Apr 2006 02:39:55 +0000 (02:39 +0000)]
Fixed safe_mode check for source argument of the copy() function.

18 years agoMFH: workaround for problem on Solaris: shell tries to parse "for i in ;" and fails
Antony Dovgal [Wed, 5 Apr 2006 20:22:21 +0000 (20:22 +0000)]
MFH: workaround for problem on Solaris: shell tries to parse "for i in ;" and fails

18 years agoadd new tests
Antony Dovgal [Wed, 5 Apr 2006 14:09:01 +0000 (14:09 +0000)]
add new tests

18 years agoBFN
Antony Dovgal [Wed, 5 Apr 2006 14:08:18 +0000 (14:08 +0000)]
BFN

18 years agoadd missing defines to .w32
Antony Dovgal [Wed, 5 Apr 2006 14:07:40 +0000 (14:07 +0000)]
add missing defines to .w32

18 years agofix #36934 (OCILob->read() doesn't move internal pointer when reading 0's)
Antony Dovgal [Wed, 5 Apr 2006 14:06:00 +0000 (14:06 +0000)]
fix #36934 (OCILob->read() doesn't move internal pointer when reading 0's)

18 years agoadd test
Antony Dovgal [Wed, 5 Apr 2006 12:29:21 +0000 (12:29 +0000)]
add test

18 years agofixed bigint conversion errors (windows)
Georg Richter [Wed, 5 Apr 2006 12:17:33 +0000 (12:17 +0000)]
fixed bigint conversion errors (windows)

18 years agofixed bigint conversion on windows platforms
Georg Richter [Wed, 5 Apr 2006 12:17:08 +0000 (12:17 +0000)]
fixed bigint conversion on windows platforms

18 years agofix #36944 (strncmp & strncasecmp do not return false on negative string length)
Antony Dovgal [Wed, 5 Apr 2006 11:36:13 +0000 (11:36 +0000)]
fix #36944 (strncmp & strncasecmp do not return false on negative string length)

18 years agoFixed bug #36957 (serialize() does not handle recursion).
Ilia Alshanetsky [Wed, 5 Apr 2006 02:28:06 +0000 (02:28 +0000)]
Fixed bug #36957 (serialize() does not handle recursion).

18 years ago- MFH
Marcus Boerger [Tue, 4 Apr 2006 19:53:21 +0000 (19:53 +0000)]
- MFH
  . Fixed bug #36941 (ArrayIterator does not clone itself)
  . Fixed SEGV when ArrayObject/Iterator use reference to self
  . Added tests

18 years agoFix #33694 invalid sql or timeouts makes it impossible to reuse persistent connections
Frank M. Kromann [Tue, 4 Apr 2006 18:49:12 +0000 (18:49 +0000)]
Fix #33694 invalid sql or timeouts makes it impossible to reuse persistent connections

18 years ago#ifdef new functions and use their bodies to make PECL extensions compile with PHP...
Antony Dovgal [Mon, 3 Apr 2006 14:59:30 +0000 (14:59 +0000)]
#ifdef new functions and use their bodies to make PECL extensions compile with PHP < 5.1.3
(as was agreed with Ilia)

18 years agoFixed an unlikely, but possible memory leak.
Ilia Alshanetsky [Mon, 3 Apr 2006 13:46:11 +0000 (13:46 +0000)]
Fixed an unlikely, but possible memory leak.

18 years agofix spelling in error messages:
Antony Dovgal [Mon, 3 Apr 2006 09:14:33 +0000 (09:14 +0000)]
fix spelling in error messages:
greater/less thEn -> greater/less thAn

18 years agofixed stmt property container and required status for error properties
Georg Richter [Mon, 3 Apr 2006 05:48:50 +0000 (05:48 +0000)]
fixed stmt property container and required status for error properties

18 years agoMFH:
Ilia Alshanetsky [Sun, 2 Apr 2006 17:58:17 +0000 (17:58 +0000)]
MFH:
Removed extra space in the Content-Type header for logos
Simplified stderr error reporting in apache sapi.

18 years agoAdded additional information for compiled header files.
Georg Richter [Sun, 2 Apr 2006 09:40:19 +0000 (09:40 +0000)]
Added additional information for compiled header files.

18 years agofix segfault when assigning value by ref and add test
Antony Dovgal [Sat, 1 Apr 2006 19:13:04 +0000 (19:13 +0000)]
fix segfault when assigning value by ref and add test
(I consider it's wrong that we can't do it, but we shouldn't segfault anyway)

18 years agofix compile failure with old GCC (see bug #36931)
Antony Dovgal [Fri, 31 Mar 2006 11:11:12 +0000 (11:11 +0000)]
fix compile failure with old GCC (see bug #36931)

18 years ago- Make readable
Marcus Boerger [Thu, 30 Mar 2006 21:57:28 +0000 (21:57 +0000)]
- Make readable

18 years ago- MFH Add tests
Marcus Boerger [Thu, 30 Mar 2006 21:47:21 +0000 (21:47 +0000)]
- MFH Add tests

18 years agofix compilation on AIX
Antony Dovgal [Thu, 30 Mar 2006 21:39:01 +0000 (21:39 +0000)]
fix compilation on AIX

18 years agonuke compile warning
Antony Dovgal [Thu, 30 Mar 2006 21:10:23 +0000 (21:10 +0000)]
nuke compile warning

18 years agofix tests
Antony Dovgal [Thu, 30 Mar 2006 20:43:39 +0000 (20:43 +0000)]
fix tests

18 years agofix build: there is no TSRMLS_CC in this function
Antony Dovgal [Thu, 30 Mar 2006 19:58:18 +0000 (19:58 +0000)]
fix build: there is no TSRMLS_CC in this function

18 years agoBack to dev
Ilia Alshanetsky [Thu, 30 Mar 2006 19:40:16 +0000 (19:40 +0000)]
Back to dev

18 years agoGo with RC2
Ilia Alshanetsky [Thu, 30 Mar 2006 19:19:20 +0000 (19:19 +0000)]
Go with RC2

18 years agoFixed XSS inside phpinfo() with long inputs.
Ilia Alshanetsky [Thu, 30 Mar 2006 19:16:12 +0000 (19:16 +0000)]
Fixed XSS inside phpinfo() with long inputs.

18 years ago- MFH Return NULL instead of '' if node does not exist
Marcus Boerger [Thu, 30 Mar 2006 17:37:50 +0000 (17:37 +0000)]
- MFH Return NULL instead of '' if node does not exist

18 years agofix #36922 (missing MYSQLI_REPORT_STRICT constant in userspace)
Antony Dovgal [Thu, 30 Mar 2006 11:21:51 +0000 (11:21 +0000)]
fix #36922 (missing MYSQLI_REPORT_STRICT constant in userspace)

18 years agofix typo
Antony Dovgal [Wed, 29 Mar 2006 16:29:53 +0000 (16:29 +0000)]
fix typo

18 years agofix bug #36898 (__set() leaks in classes extending internal ones)
Antony Dovgal [Wed, 29 Mar 2006 14:28:43 +0000 (14:28 +0000)]
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

18 years agoSupport for zend-myltibyte
Dmitry Stogov [Wed, 29 Mar 2006 10:39:20 +0000 (10:39 +0000)]
Support for zend-myltibyte

18 years agofix skip condition
Antony Dovgal [Tue, 28 Mar 2006 23:15:40 +0000 (23:15 +0000)]
fix skip condition

18 years agoinitialize bucket #0 with nulls (normally it shouldn't be used at all, but if it...
Antony Dovgal [Tue, 28 Mar 2006 21:58:01 +0000 (21:58 +0000)]
initialize bucket #0 with nulls (normally it shouldn't be used at all, but if it is - we don't want any memory issues, do we?)

18 years agoprevent possible NULL dereference
Antony Dovgal [Tue, 28 Mar 2006 20:19:44 +0000 (20:19 +0000)]
prevent possible NULL dereference

18 years agofix #36897 (debug_print_backtrace() doesn't return void but array(0) {})
Antony Dovgal [Tue, 28 Mar 2006 19:43:21 +0000 (19:43 +0000)]
fix #36897 (debug_print_backtrace() doesn't return void but array(0) {})

18 years agoadd a test case for bug 35671
Wez Furlong [Tue, 28 Mar 2006 16:47:35 +0000 (16:47 +0000)]
add a test case for bug 35671

18 years agoFixed bug #36886 (User filters can leak buckets in some situations).
Ilia Alshanetsky [Tue, 28 Mar 2006 16:01:04 +0000 (16:01 +0000)]
Fixed bug #36886 (User filters can leak buckets in some situations).

18 years agofix tests
Antony Dovgal [Tue, 28 Mar 2006 09:12:45 +0000 (09:12 +0000)]
fix tests

18 years agofix #36851 (Documentation and code discrepancies for NULL data)
Antony Dovgal [Tue, 28 Mar 2006 09:12:18 +0000 (09:12 +0000)]
fix #36851 (Documentation and code discrepancies for NULL data)

18 years agoreenable pg_execute E_WARNING
Yasuo Ohgaki [Tue, 28 Mar 2006 00:28:02 +0000 (00:28 +0000)]
reenable pg_execute E_WARNING

18 years agoCheck 2nd parameter of tempnam() against path components.
Ilia Alshanetsky [Mon, 27 Mar 2006 23:40:41 +0000 (23:40 +0000)]
Check 2nd parameter of tempnam() against path components.

18 years agofix #36878 (error messages are printed even though an exception has been thrown)
Antony Dovgal [Mon, 27 Mar 2006 22:07:38 +0000 (22:07 +0000)]
fix #36878 (error messages are printed even though an exception has been thrown)

18 years agoFix for #36342; ODBC won't let you bind variables by buffer after "long"
Wez Furlong [Mon, 27 Mar 2006 21:04:12 +0000 (21:04 +0000)]
Fix for #36342; ODBC won't let you bind variables by buffer after "long"
columns.

We simply add a flag that indicates if we've seen any long columns and will
continue to bind the columns the slow way.

While we're at it, increase the maximum length of the column names that we can
handle.

18 years agoThe fix for #35332 caused #35671 (and thus PECL #6504).
Wez Furlong [Mon, 27 Mar 2006 20:51:01 +0000 (20:51 +0000)]
The fix for #35332 caused #35671 (and thus PECL #6504).

Partially back out that fix and introduce an extra optional step for drivers to
canonicalize the "name" that is used for registering parameters.

18 years agofix #36869 (memory leak in output buffering when using chunked output)
Antony Dovgal [Mon, 27 Mar 2006 08:26:10 +0000 (08:26 +0000)]
fix #36869 (memory leak in output buffering when using chunked output)

18 years agoFixed meory leak in case of unknown pragma
Dmitry Stogov [Mon, 27 Mar 2006 08:09:18 +0000 (08:09 +0000)]
Fixed meory leak in case of unknown pragma

18 years agoOn Mac OSX, our extensions are actually "bundles" and should not have
Andrei Zmievski [Mon, 27 Mar 2006 04:59:36 +0000 (04:59 +0000)]
On Mac OSX, our extensions are actually "bundles" and should not have
.dylib extension. Read this:

http://www.sm.luth.se/~alapaa/file_fetch/unixcdbookshelf/mac/ch05_03.htm

18 years agoremove pg_execute() E_WARNING error when query plan is not defined
Yasuo Ohgaki [Mon, 27 Mar 2006 02:59:55 +0000 (02:59 +0000)]
remove pg_execute() E_WARNING error when query plan is not defined

18 years agokill the left unused variable
Andrey Hristov [Sun, 26 Mar 2006 21:10:13 +0000 (21:10 +0000)]
kill the left unused variable

18 years agoremove unnecessary memcpy, cast directly
Andrey Hristov [Sun, 26 Mar 2006 21:08:41 +0000 (21:08 +0000)]
remove unnecessary memcpy, cast directly

18 years agoFixed bug #36857 (Added support for partial content fetching to the HTTP
Ilia Alshanetsky [Sun, 26 Mar 2006 17:12:05 +0000 (17:12 +0000)]
Fixed bug #36857 (Added support for partial content fetching to the HTTP
streams wrapper).

18 years ago- MFH: Make IteratorIterator base of most SPL iterators
Marcus Boerger [Sun, 26 Mar 2006 02:25:03 +0000 (02:25 +0000)]
- MFH: Make IteratorIterator base of most SPL iterators

18 years ago- Fix docu
Marcus Boerger [Sun, 26 Mar 2006 02:24:33 +0000 (02:24 +0000)]
- Fix docu

18 years agofixed compiler warning.
Seiji Masugata [Sun, 26 Mar 2006 02:19:50 +0000 (02:19 +0000)]
fixed compiler warning.

18 years agofix #36859 (DOMElement crashes when calling __construct when clone'ing)
Antony Dovgal [Sun, 26 Mar 2006 00:23:25 +0000 (00:23 +0000)]
fix #36859 (DOMElement crashes when calling __construct when clone'ing)

18 years agofix and testcase for bug #36745
Georg Richter [Fri, 24 Mar 2006 12:10:39 +0000 (12:10 +0000)]
fix and testcase for bug #36745

18 years agoadd new tests
Antony Dovgal [Fri, 24 Mar 2006 12:08:53 +0000 (12:08 +0000)]
add new tests

18 years agofixed minor problems (thx to tony)
Georg Richter [Fri, 24 Mar 2006 10:58:52 +0000 (10:58 +0000)]
fixed minor problems (thx to tony)

18 years agoFix for bug #36802 (server crashes with invalid/not opened connections)
Georg Richter [Fri, 24 Mar 2006 09:32:24 +0000 (09:32 +0000)]
Fix for bug #36802 (server crashes with invalid/not opened connections)
Added status to mysqli_resource:
MYSQLI_STATUS_UNKNOWN
MYSQLI_STATUS_CLEARED (for future use)
MYSQLI_STATUS_INITIALIZED (after mysqli_init and mysqli_stmt_init)
MYSQLI_STATUS_VALID (for valid objects)
removed valid flag
changed MYSQLI_FETCH_RESOURCE
added last parameter __check which specifies the status

18 years agoFixed SoapFault::getMessage()
Dmitry Stogov [Fri, 24 Mar 2006 08:45:54 +0000 (08:45 +0000)]
Fixed SoapFault::getMessage()

18 years ago- My eyes don't hurt anymore
Marcus Boerger [Thu, 23 Mar 2006 21:28:06 +0000 (21:28 +0000)]
- My eyes don't hurt anymore

18 years ago- MFH
Marcus Boerger [Thu, 23 Mar 2006 19:55:16 +0000 (19:55 +0000)]
- MFH
  . spl_autoload_register() return bool to denote success/failure
  . spl_autoload_unregister() acept any callable

18 years agoreturn FALSE if driver doesn't support quoting (this is what docu says)
Antony Dovgal [Thu, 23 Mar 2006 19:01:46 +0000 (19:01 +0000)]
return FALSE if driver doesn't support quoting (this is what docu says)
also fixed PECL bug #6365

18 years agoAdded myself to PDO and PDO_MySQL credits
Ilia Alshanetsky [Thu, 23 Mar 2006 18:36:47 +0000 (18:36 +0000)]
Added myself to PDO and PDO_MySQL credits
Added Wez to PDO_MySQL credits
Added Tony to Q&A team credits
Regenerated the credits file

18 years agoadd missing skipif sections
Antony Dovgal [Thu, 23 Mar 2006 15:03:27 +0000 (15:03 +0000)]
add missing skipif sections

18 years agofix typos
Antony Dovgal [Thu, 23 Mar 2006 14:56:12 +0000 (14:56 +0000)]
fix typos

18 years ago- Initialized callable_name if present
Marcus Boerger [Thu, 23 Mar 2006 13:14:55 +0000 (13:14 +0000)]
- Initialized callable_name if present

18 years ago- MFH Add new test
Marcus Boerger [Thu, 23 Mar 2006 12:21:40 +0000 (12:21 +0000)]
- MFH Add new test

18 years ago- MFH: Add new test
Marcus Boerger [Thu, 23 Mar 2006 11:57:34 +0000 (11:57 +0000)]
- MFH: Add new test

18 years ago- Add missing bug title and synch with other tests
Marcus Boerger [Thu, 23 Mar 2006 11:48:59 +0000 (11:48 +0000)]
- Add missing bug title and synch with other tests

18 years agoFixed possible memory corruption
Dmitry Stogov [Thu, 23 Mar 2006 11:42:32 +0000 (11:42 +0000)]
Fixed possible memory corruption

18 years ago- Fix build
Marcus Boerger [Thu, 23 Mar 2006 10:44:39 +0000 (10:44 +0000)]
- Fix build

18 years agoCleanup
Dmitry Stogov [Thu, 23 Mar 2006 10:19:30 +0000 (10:19 +0000)]
Cleanup

18 years agoAllowed '-b' with UNIX sockets:
Dmitry Stogov [Thu, 23 Mar 2006 10:15:01 +0000 (10:15 +0000)]
Allowed '-b' with UNIX sockets:
  -b <hostname>:<port_number>
  -b <port_number>
  -b <unix_socket_path>

18 years ago- Fixed fetching of string value bigger than 128bytes when no options
Pierre Joye [Thu, 23 Mar 2006 01:24:36 +0000 (01:24 +0000)]
- Fixed fetching of string value bigger than 128bytes when no options
  are used

18 years agofix leak
Antony Dovgal [Wed, 22 Mar 2006 23:12:03 +0000 (23:12 +0000)]
fix leak

18 years agoadd test
Antony Dovgal [Wed, 22 Mar 2006 23:10:59 +0000 (23:10 +0000)]
add test