]> granicus.if.org Git - php/log
php
12 years agoFixed bug #61218 (FPM drops connection while receiving some binary values in FastCGI...
Jerome Loyet [Sat, 26 May 2012 17:27:45 +0000 (19:27 +0200)]
Fixed bug #61218 (FPM drops connection while receiving some binary values in FastCGI requests)

12 years agoFixed bug #62033 (USR2 signal was sent even if not catch when daemonize and an error...
Jerome Loyet [Sat, 26 May 2012 16:48:40 +0000 (18:48 +0200)]
Fixed bug #62033 (USR2 signal was sent even if not catch when daemonize and an error occured)

12 years ago- Fixed bug #62160 (Add process.priority to set nice(2) priorities)
Jerome Loyet [Sat, 26 May 2012 16:24:08 +0000 (18:24 +0200)]
- Fixed bug #62160 (Add process.priority to set nice(2) priorities)

12 years ago- add missing headers to avoid warnings
Jerome Loyet [Sat, 26 May 2012 15:38:08 +0000 (17:38 +0200)]
- add missing headers to avoid warnings

12 years ago- Fixed bug #62153 (when using unix sockets, multiples FPM instances can be launched...
Jerome Loyet [Fri, 25 May 2012 19:22:54 +0000 (21:22 +0200)]
- Fixed bug #62153 (when using unix sockets, multiples FPM instances can be launched without errors)

12 years ago- Fixed bug #62033 (php-fpm exits with status 0 on some failures to start)
Jerome Loyet [Fri, 25 May 2012 19:13:57 +0000 (21:13 +0200)]
- Fixed bug #62033 (php-fpm exits with status 0 on some failures to start)

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Xinchen Hui [Fri, 25 May 2012 14:33:17 +0000 (22:33 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fixed bug #62128 superfluous ";"

12 years agoFixed bug #62128 superfluous ";"
Xinchen Hui [Fri, 25 May 2012 14:31:26 +0000 (22:31 +0800)]
Fixed bug #62128 superfluous ";"

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Anatoliy Belsky [Fri, 25 May 2012 08:52:38 +0000 (10:52 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fixed bug #62149 Test Bug - ext/curl/tests/bug61948
  Fixed bug #62148 mail_skipif doesn't skip imap tests on Release Build

12 years agoFixed bug #62149 Test Bug - ext/curl/tests/bug61948
Matt Ficken [Fri, 25 May 2012 08:44:59 +0000 (10:44 +0200)]
Fixed bug #62149 Test Bug - ext/curl/tests/bug61948

12 years agoFixed bug #62148 mail_skipif doesn't skip imap tests on Release Build
Matt Ficken [Fri, 25 May 2012 08:34:33 +0000 (10:34 +0200)]
Fixed bug #62148 mail_skipif doesn't skip imap tests on Release Build

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Anatoliy Belsky [Fri, 25 May 2012 07:55:53 +0000 (09:55 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fixed bug #62147 test bug - popen_pclose_basic-win32

12 years agoFixed bug #62147 test bug - popen_pclose_basic-win32
Matt Ficken [Fri, 25 May 2012 07:53:51 +0000 (09:53 +0200)]
Fixed bug #62147 test bug - popen_pclose_basic-win32

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Johannes Schlüter [Thu, 24 May 2012 22:23:51 +0000 (00:23 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fix bug #62146  com_dotnet cannot be built shared, tested by Anatoliy
  Those changes are in 5.3.15
  - BFN

12 years agoFix bug #62146 com_dotnet cannot be built shared, tested by Anatoliy
Johannes Schlüter [Thu, 24 May 2012 22:22:25 +0000 (00:22 +0200)]
Fix bug #62146  com_dotnet cannot be built shared, tested by Anatoliy

12 years agoThose changes are in 5.3.15
Johannes Schlüter [Thu, 24 May 2012 22:20:29 +0000 (00:20 +0200)]
Those changes are in 5.3.15

12 years agoMerge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3
Felipe Pena [Thu, 24 May 2012 16:45:36 +0000 (13:45 -0300)]
Merge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3

12 years ago- BFN
Felipe Pena [Thu, 24 May 2012 16:45:03 +0000 (13:45 -0300)]
- BFN

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Felipe Pena [Thu, 24 May 2012 16:43:35 +0000 (13:43 -0300)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  - Fixed magic file regex support

12 years ago- Fixed magic file regex support
Felipe Pena [Thu, 24 May 2012 16:42:47 +0000 (13:42 -0300)]
- Fixed magic file regex support

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Xinchen Hui [Thu, 24 May 2012 15:34:14 +0000 (23:34 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fixed bug #62073 (Different ways of iterating over an SplMaxHeap result in different keys)

12 years agoFixed bug #62073
Xinchen Hui [Thu, 24 May 2012 15:20:21 +0000 (23:20 +0800)]
Fixed bug #62073

(Different ways of iterating over an SplMaxHeap result in in different keys)

12 years agoMerge branch '5.3' into 5.4
Gustavo André dos Santos Lopes [Thu, 24 May 2012 12:33:24 +0000 (14:33 +0200)]
Merge branch '5.3' into 5.4

12 years agoFixed bug #55610: ResourceBundle and Traversable
Gustavo André dos Santos Lopes [Thu, 24 May 2012 12:31:07 +0000 (14:31 +0200)]
Fixed bug #55610: ResourceBundle and Traversable

12 years agoFixed last commit on 5.4
Gustavo André dos Santos Lopes [Thu, 24 May 2012 12:04:19 +0000 (14:04 +0200)]
Fixed last commit on 5.4

There's no change from the intended behavior. If INTL_G(default_locale)
is NULL, the default ICU locale, as given by locale_get_default() in
master, will still be used by ures_open().

12 years agoFixed bug #62140 ext\standard\tests\file\tempnam_variation7-win32.phpt fails
Anatoliy Belsky [Thu, 24 May 2012 11:58:42 +0000 (13:58 +0200)]
Fixed bug #62140 ext\standard\tests\file\tempnam_variation7-win32.phpt fails

12 years agoChanged ResourceBundle constructor behavior
Gustavo André dos Santos Lopes [Thu, 24 May 2012 11:35:28 +0000 (13:35 +0200)]
Changed ResourceBundle constructor behavior

null is now accepted for two first (mandatory arguments).

Passing null as the package name causes NULL to be passed to ICU  and
the default ICU data to be loaded.

Passing null as the locale name causes the default locale to be used.

12 years agoFix bug #62139 ext\standard\tests\file\rename_variation13-win32.phpt fails
Anatoliy Belsky [Thu, 24 May 2012 11:26:32 +0000 (13:26 +0200)]
Fix bug #62139 ext\standard\tests\file\rename_variation13-win32.phpt fails

12 years agoFixed bug #62138 ext\standard\tests\dir\dir_variation8-win32.phpt fails
Anatoliy Belsky [Thu, 24 May 2012 10:39:00 +0000 (12:39 +0200)]
Fixed bug #62138 ext\standard\tests\dir\dir_variation8-win32.phpt fails

12 years agoFix bug #62137 ext\phar\tests\fatal_error_webphar.phpt fails
Anatoliy Belsky [Thu, 24 May 2012 10:04:38 +0000 (12:04 +0200)]
Fix bug #62137 ext\phar\tests\fatal_error_webphar.phpt fails

12 years agoUpdate NEWS
Gustavo André dos Santos Lopes [Thu, 24 May 2012 09:14:36 +0000 (11:14 +0200)]
Update NEWS

12 years agoMerge branch '5.3' into 5.4
Gustavo André dos Santos Lopes [Thu, 24 May 2012 09:08:55 +0000 (11:08 +0200)]
Merge branch '5.3' into 5.4

12 years agoFixed bug #60785
Gustavo André dos Santos Lopes [Thu, 24 May 2012 08:44:44 +0000 (10:44 +0200)]
Fixed bug #60785

Memory leak in IntlDateFormatter constructor.

udat_setCalendar() clones the calendar before it adopts it,
so we were leaking the original calendar.

Also we now validate the calendar type.

12 years agoFix broken apache_request_headers test
Rasmus Lerdorf [Thu, 24 May 2012 00:37:13 +0000 (17:37 -0700)]
Fix broken apache_request_headers test

This test depends on the default_charset setting, so set it to
UTF-8 for consistent output

12 years agoFixed bug #62097
Gustavo André dos Santos Lopes [Tue, 22 May 2012 10:36:28 +0000 (12:36 +0200)]
Fixed bug #62097

This fixes the fix for bug #54547 in 32-bit machines by accepting
float comparisons in 32-bit machines as long as the integer is
not larger than the mantissa.

12 years agoMerge branch '5.3' into 5.4
Gustavo André dos Santos Lopes [Wed, 23 May 2012 13:52:32 +0000 (15:52 +0200)]
Merge branch '5.3' into 5.4

12 years agoFixed bug #62017
Gustavo André dos Santos Lopes [Wed, 23 May 2012 13:48:50 +0000 (15:48 +0200)]
Fixed bug #62017

IntlDateFormatter constructor would release some resources
under certain error conditions.

12 years agoFixed bug #62073 (Different ways of iterating over an SplMaxHeap result in different...
Reeze Xia [Wed, 23 May 2012 12:42:06 +0000 (20:42 +0800)]
Fixed bug #62073 (Different ways of iterating over an SplMaxHeap result in different keys)

12 years agoFixed bug number in NEWS
Gustavo André dos Santos Lopes [Wed, 23 May 2012 11:42:24 +0000 (13:42 +0200)]
Fixed bug number in NEWS

12 years agoUpdated NEWS w.r.t to ext/intl changes
Gustavo André dos Santos Lopes [Wed, 23 May 2012 11:35:11 +0000 (13:35 +0200)]
Updated NEWS w.r.t to ext/intl changes

12 years agoMerge branch '5.3' into 5.4
Gustavo André dos Santos Lopes [Wed, 23 May 2012 11:27:21 +0000 (13:27 +0200)]
Merge branch '5.3' into 5.4

Conflicts:
sapi/fpm/fpm/fpm_main.c

12 years agoFixed bug #6208: memory leak in grapheme_extract()
Gustavo André dos Santos Lopes [Wed, 23 May 2012 10:09:27 +0000 (12:09 +0200)]
Fixed bug #6208: memory leak in grapheme_extract()

12 years agoFixed bug #62082
Gustavo André dos Santos Lopes [Wed, 23 May 2012 10:44:44 +0000 (12:44 +0200)]
Fixed bug #62082

This was a buffer overflow in internal function
get_icu_disp_value_src_php().

12 years agoFixed bug #62081
Gustavo André dos Santos Lopes [Wed, 23 May 2012 11:03:55 +0000 (13:03 +0200)]
Fixed bug #62081

Constructor of IntlDateFormatter would leak if called twice.

Made calling it more than once error out before starting
using resources.

12 years agoFixed bug #62070
Gustavo André dos Santos Lopes [Wed, 23 May 2012 11:22:06 +0000 (13:22 +0200)]
Fixed bug #62070

Collator::getSortKey() was returning an unterminated string
due the length given to RETURN_STRINGL being off by one.

12 years ago- Fixed bug #61026 (FPM pools can listen on the same address)
Jerome Loyet [Wed, 23 May 2012 09:53:04 +0000 (11:53 +0200)]
- Fixed bug #61026 (FPM pools can listen on the same address)

12 years ago- Fixed bug #61026 (FPM pools can listen on the same address)
Jerome Loyet [Wed, 23 May 2012 09:52:04 +0000 (11:52 +0200)]
- Fixed bug #61026 (FPM pools can listen on the same address)

12 years agoMerge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
Jerome Loyet [Wed, 23 May 2012 09:41:29 +0000 (11:41 +0200)]
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4

* 'PHP-5.4' of git.php.net:php-src:
  Fix bug #62112: number_format() is not binary safe

12 years ago- Fixed bug #61839 (Unable to cross-compile PHP with --enable-fpm)
Jerome Loyet [Wed, 23 May 2012 09:40:22 +0000 (11:40 +0200)]
- Fixed bug #61839 (Unable to cross-compile PHP with --enable-fpm)

12 years agoFix bug #62112: number_format() is not binary safe
Gustavo André dos Santos Lopes [Wed, 23 May 2012 08:56:57 +0000 (10:56 +0200)]
Fix bug #62112: number_format() is not binary safe

The bug report actually urges PHP 5.3's behavior to be
reinstated -- that is, make "\0", when used as a separator,
be the same as no separator at all. I believe that is not a
proper course of action and that "\0" being interpreted as
no seperator was a bug in PHP 5.3.

Using "" for no separator, in both 5.3 and 5.4, before and
after this change, causes no separator to be used, so
there is no functionality loss.

12 years ago- Fixed bug #61295 (php-fpm should not fail with commented 'user' for non-root start)
Jerome Loyet [Wed, 23 May 2012 09:31:33 +0000 (11:31 +0200)]
- Fixed bug #61295 (php-fpm should not fail with commented 'user' for non-root start)

12 years ago- Fixed bug #61295 (php-fpm should not fail with commented 'user' for non-root start)
Jerome Loyet [Wed, 23 May 2012 09:30:27 +0000 (11:30 +0200)]
- Fixed bug #61295 (php-fpm should not fail with commented 'user' for non-root start)

12 years ago- Fix help message for '-R'
Jerome Loyet [Wed, 23 May 2012 08:36:45 +0000 (10:36 +0200)]
- Fix help message for '-R'

12 years ago- fix help message for '-R'
Jerome Loyet [Wed, 23 May 2012 08:35:37 +0000 (10:35 +0200)]
- fix help message for '-R'

12 years ago- add missing help message for '-R'
Jerome Loyet [Wed, 23 May 2012 08:34:16 +0000 (10:34 +0200)]
- add missing help message for '-R'

12 years ago- Fixed bug #61835 (php-fpm is not allowed to run as root)
Jerome Loyet [Wed, 23 May 2012 08:32:42 +0000 (10:32 +0200)]
- Fixed bug #61835 (php-fpm is not allowed to run as root)

12 years ago- Fixed bug #61835 (php-fpm is not allowed to run as root)
Jerome Loyet [Wed, 23 May 2012 07:49:13 +0000 (09:49 +0200)]
- Fixed bug #61835 (php-fpm is not allowed to run as root)

12 years agoMerge remote-tracking branch 'origin/PHP-5.3' into PHP-5.4
Xinchen Hui [Wed, 23 May 2012 05:52:36 +0000 (13:52 +0800)]
Merge remote-tracking branch 'origin/PHP-5.3' into PHP-5.4

12 years agoRevert NEWS
Xinchen Hui [Wed, 23 May 2012 05:52:18 +0000 (13:52 +0800)]
Revert NEWS

12 years agoRevert "Implemented FR #61602 Allow access to name of constant used as default value"
Xinchen Hui [Wed, 23 May 2012 05:50:12 +0000 (13:50 +0800)]
Revert "Implemented FR #61602 Allow access to name of constant used as default value"

This reverts commit 054f3e3ce5af13c2c3a6ccd54f7dc3e2f6cd4f74.

See: http://news.php.net/php.cvs/69137 and the author confirmed.
Will commit later after the author fixed this then make a new PR.

Conflicts:

ext/reflection/php_reflection.c

12 years agoFix typo while resolving conflicts
Xinchen Hui [Wed, 23 May 2012 05:43:49 +0000 (13:43 +0800)]
Fix typo while resolving conflicts

12 years agoRevert "Implemented FR #61602 Allow access to name of constant used as default value"
Xinchen Hui [Wed, 23 May 2012 05:39:00 +0000 (13:39 +0800)]
Revert "Implemented FR #61602 Allow access to name of constant used as default value"

This reverts commit 054f3e3ce5af13c2c3a6ccd54f7dc3e2f6cd4f74.

See: http://news.php.net/php.cvs/69137 and the author confirmed.
Will commit later after the author fixed this then make a new PR.

Conflicts:

ext/reflection/php_reflection.c

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Anatoliy Belsky [Tue, 22 May 2012 16:43:10 +0000 (18:43 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fix bug #62109 tests\basic\bug46313-win.phpt fails
  - Fixed bug #61045 (fpm don't send error log to fastcgi clients)

12 years agoFix bug #62109 tests\basic\bug46313-win.phpt fails
Anatoliy Belsky [Tue, 22 May 2012 16:41:03 +0000 (18:41 +0200)]
Fix bug #62109 tests\basic\bug46313-win.phpt fails

12 years agoMerge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
Jerome Loyet [Tue, 22 May 2012 06:47:40 +0000 (08:47 +0200)]
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4

* 'PHP-5.4' of git.php.net:php-src:
  add news for new pg_ functions

12 years ago- Fixed bug #61045 (fpm don't send error log to fastcgi clients)
Jerome Loyet [Tue, 22 May 2012 06:40:37 +0000 (08:40 +0200)]
- Fixed bug #61045 (fpm don't send error log to fastcgi clients)

12 years ago- fix NEWS for bug #61812
Jerome Loyet [Tue, 22 May 2012 06:38:09 +0000 (08:38 +0200)]
- fix NEWS for bug #61812

12 years ago- Fixed bug #61045 (fpm don't send error log to fastcgi clients)
Jerome Loyet [Tue, 22 May 2012 06:34:27 +0000 (08:34 +0200)]
- Fixed bug #61045 (fpm don't send error log to fastcgi clients)

12 years agoadd news for new pg_ functions
Stanislav Malyshev [Mon, 21 May 2012 23:12:38 +0000 (16:12 -0700)]
add news for new pg_ functions

12 years ago- Fix the fix (typo s/AIX/_AIX/g)
Felipe Pena [Mon, 21 May 2012 11:54:59 +0000 (08:54 -0300)]
- Fix the fix (typo s/AIX/_AIX/g)

12 years agoUse free instead of efree
Xinchen Hui [Mon, 21 May 2012 11:02:45 +0000 (19:02 +0800)]
Use free instead of efree

12 years agoUse emalloc instead of malloc
Xinchen Hui [Mon, 21 May 2012 10:58:19 +0000 (18:58 +0800)]
Use emalloc instead of malloc

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Anatoliy Belsky [Mon, 21 May 2012 10:52:10 +0000 (12:52 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fix bug #62066 Test Bug - ext/tidy/tests/004.phpt

12 years agoFix bug #62066 Test Bug - ext/tidy/tests/004.phpt
Matt Ficken [Mon, 21 May 2012 10:51:24 +0000 (12:51 +0200)]
Fix bug #62066 Test Bug - ext/tidy/tests/004.phpt

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Anatoliy Belsky [Mon, 21 May 2012 10:37:59 +0000 (12:37 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fixed bug #62068 Test bug - gmp_nextprime and 022
  Fix: 62067 Moved comments to FILE section
  - BFN

Conflicts:
NEWS

12 years agoFixed bug #62068 Test bug - gmp_nextprime and 022
Matt Ficken [Mon, 21 May 2012 10:31:16 +0000 (12:31 +0200)]
Fixed bug #62068 Test bug - gmp_nextprime and 022

12 years agoFixed bug #61998 (Using traits with method aliases appears to result in crash during...
Dmitry Stogov [Mon, 21 May 2012 09:57:41 +0000 (13:57 +0400)]
Fixed bug #61998 (Using traits with method aliases appears to result in crash during execution)

12 years agoFixed bug #61998 (Using traits with method aliases appears to result in crash during...
Dmitry Stogov [Mon, 21 May 2012 09:46:07 +0000 (13:46 +0400)]
Fixed bug #61998 (Using traits with method aliases appears to result in crash during execution)

12 years ago- BFN
Felipe Pena [Sun, 20 May 2012 22:41:15 +0000 (19:41 -0300)]
- BFN

12 years ago- Fixed bug #62025 (__ss_family was changed on AIX 5.3)
Felipe Pena [Sun, 20 May 2012 22:37:20 +0000 (19:37 -0300)]
- Fixed bug #62025 (__ss_family was changed on AIX 5.3)

12 years agoFix: 62067 Moved comments to FILE section
zoe slattery [Sat, 19 May 2012 15:13:25 +0000 (16:13 +0100)]
Fix: 62067 Moved comments to FILE section

12 years agoFix: 62067 Moved comments to FILE section
zoe slattery [Sat, 19 May 2012 15:13:25 +0000 (16:13 +0100)]
Fix: 62067 Moved comments to FILE section

12 years ago- BFN
Felipe Pena [Sat, 19 May 2012 00:26:24 +0000 (21:26 -0300)]
- BFN

12 years ago- BFN
Felipe Pena [Fri, 18 May 2012 22:38:02 +0000 (19:38 -0300)]
- BFN

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Felipe Pena [Fri, 18 May 2012 22:23:42 +0000 (19:23 -0300)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  - Fixed bug #62064 (memory leak in the XML Writer module)

12 years ago- Fixed bug #62064 (memory leak in the XML Writer module)
Felipe Pena [Fri, 18 May 2012 22:23:29 +0000 (19:23 -0300)]
- Fixed bug #62064 (memory leak in the XML Writer module)

12 years agoDummy (whitespace) change so Dan Brown can verify snap generation from git
Christopher Jones [Wed, 16 May 2012 17:13:34 +0000 (10:13 -0700)]
Dummy (whitespace) change so Dan Brown can verify snap generation from git

PHP snapshots were still pulling from SVN and were out of date. This
is a dummy PHP 5.4-only commit so Dan can verify what he's updated for
git in the backend.

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Johannes Schlüter [Wed, 16 May 2012 14:50:33 +0000 (16:50 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  PHP 5.3.15-dev

Conflicts:
configure.in
main/php_version.h

12 years agoPHP 5.3.15-dev
Johannes Schlüter [Wed, 16 May 2012 14:49:35 +0000 (16:49 +0200)]
PHP 5.3.15-dev

12 years agoMerge branch 'PHP-5.3' of git.php.net:/php-src into PHP-5.3
Johannes Schlüter [Wed, 16 May 2012 14:46:08 +0000 (16:46 +0200)]
Merge branch 'PHP-5.3' of git.php.net:/php-src into PHP-5.3

* 'PHP-5.3' of git.php.net:/php-src:
  Fix for bug#62046

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Johannes Schlüter [Wed, 16 May 2012 14:40:29 +0000 (16:40 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  fd fix
  fix bug #61065 (cherry picked from commit a10e778bfb7ce9caa1f91666ddf2705db7982d68)

12 years agofd fix
Stanislav Malyshev [Wed, 16 May 2012 05:35:43 +0000 (22:35 -0700)]
fd fix

12 years agofix bug #61065
Stanislav Malyshev [Wed, 16 May 2012 05:34:34 +0000 (22:34 -0700)]
fix bug #61065
(cherry picked from commit a10e778bfb7ce9caa1f91666ddf2705db7982d68)

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
andrey [Wed, 16 May 2012 13:59:39 +0000 (15:59 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

Conflicts:
ext/mysqlnd/mysqlnd_ps.c

merge fix for bug#62046

12 years agoFix for bug#62046
andrey [Wed, 16 May 2012 12:28:55 +0000 (14:28 +0200)]
Fix for bug#62046

Bug#62046 mysqli@mysqlnd can't iterate over stored sets after call to
mysqli_stmt_reset().

Stmt's state was changed to STMT_PREPARED and leads the driver to think
that the stmt was just prepared. Because result set exist also for only
prepared but not executed sets, the check for stmt->result isn't any good.
There is a result set, because as response for COM_PREPARE the server sends
metadata and metadata is part of a result set. After COM_EXECUTE the server
sends metadata again, which could be different and in this case more correct.

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Felipe Pena [Wed, 16 May 2012 11:40:45 +0000 (08:40 -0300)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  - Fixed bug #55299 (multiple null pointer in win32/registry.c)

12 years ago- Fixed bug #55299 (multiple null pointer in win32/registry.c)
Felipe Pena [Wed, 16 May 2012 11:40:12 +0000 (08:40 -0300)]
- Fixed bug #55299 (multiple null pointer in win32/registry.c)

12 years agoRevert "Update test to fix breakage caused by the previous commit."
Stanislav Malyshev [Wed, 16 May 2012 06:25:06 +0000 (23:25 -0700)]
Revert "Update test to fix breakage caused by the previous commit."

This reverts commit 05c8d4766c272e101b5279f0ec432e1b16e74637.
Connected to revert 7bbd5521d28ee77c5a8df80174f52dad0112e872.

12 years agofix test
Stanislav Malyshev [Wed, 16 May 2012 06:09:46 +0000 (23:09 -0700)]
fix test

12 years agoto 5.4.5-dev
Stanislav Malyshev [Wed, 16 May 2012 05:46:49 +0000 (22:46 -0700)]
to 5.4.5-dev