Merge branch 'PHP-7.3' into PHP-7.4
authorChristoph M. Becker <cmbecker69@gmx.de>
Mon, 7 Oct 2019 07:18:29 +0000 (09:18 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Mon, 7 Oct 2019 07:18:46 +0000 (09:18 +0200)
* PHP-7.3:
  Fix #78623: Regression caused by "SP call yields additional empty result set"

1  2 
NEWS
ext/pdo_mysql/mysql_statement.c
ext/pdo_mysql/tests/bug_39858.phpt
ext/pdo_mysql/tests/bug_41997.phpt
ext/pdo_mysql/tests/pdo_mysql_stmt_variable_columncount.phpt

diff --cc NEWS
index 4651faeb42e1a338d1c530375b5f50a848ed29ba,e230cd21f246b99e4067f8a5b00b0014a0e0bb88..e96d2f4d4381b076f2e1990d9c1d1f17330d5107
--- 1/NEWS
--- 2/NEWS
+++ b/NEWS
@@@ -1,41 -1,19 +1,45 @@@
  PHP                                                                        NEWS
  |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 -?? ??? ????, PHP 7.3.11
 +?? ??? ????, PHP 7.4.0RC4
  
  - Core:
 -  . Fixed bug #78535 (auto_detect_line_endings value not parsed as bool).
 -    (bugreportuser)
 +  . Fixed bug #78614 (Does not compile with DTRACE anymore).
 +    (tz at FreeBSD dot org)
    . Fixed bug #78620 (Out of memory error). (cmb, Nikita)
 +  . Fixed bug #78632 (method_exists() in php74 works differently from php73 in
 +    checking priv. methods). (Nikita)
  
 -- Exif :
 -  . Fixed bug #78442 ('Illegal component' on exif_read_data since PHP7)
 -      (Kalle)
 +- Pcntl:
 +  . Fixed bug #77335 (PHP is preventing SIGALRM from specifying SA_RESTART).
 +    (Nikita)
  
 -- FPM:
 -  . Fixed bug #78413 (request_terminate_timeout does not take effect after
 -    fastcgi_finish_request). (Sergei Turchanov)
 +- MySQLi:
 +  . Fixed bug #76809 (SSL settings aren't respected when persistent connections 
 +    are used). (fabiomsouto)
 +
++- PDO_MySQL:
++  . Fixed bug #78623 (Regression caused by "SP call yields additional empty
++    result set"). (cmb)
++
 +- SimpleXML:
 +  . Fixed bug #75245 (Don't set content of elements with only whitespaces). 
 +    (eriklundin)
 +
 +- Standard:
 +  . Fixed bug #76859 (stream_get_line skips data if used with data-generating 
 +    filter). (kkopachev)
 +
 +03 Oct 2019, PHP 7.4.0RC3
 +
 +- Core:
 +  . Fixed bug #78604 (token_get_all() does not properly tokenize FOO<?php with
 +    short_open_tag=0). (Nikita)
 +
 +- FFI:
 +  . Fixed bug #78543 (is_callable() on FFI\CData throws Exception). (cmb)
 +
 +- GMP:
 +  . Fixed bug #78574 (broken shared build). (Remi)
  
  - MBString:
    . Fixed bug #78579 (mb_decode_numericentity: args number inconsistency).
Simple merge
index 8b073997e165b9385e14f67546b3279beb41460e,ec4c9586cced147820991b77084ce300b2e0dbd7..db8afa99b812890218fea135680e8f218703c1ff
@@@ -13,14 -13,16 +13,16 @@@ $matches = array()
  if (!preg_match('/^(\d+)\.(\d+)\.(\d+)/ismU', $row['_version'], $matches))
        die(sprintf("skip Cannot determine MySQL Server version\n"));
  
 -$version = $matches[0] * 10000 + $matches[1] * 100 + $matches[2];
 +$version = $matches[1] * 10000 + $matches[2] * 100 + $matches[3];
  if ($version < 50000)
        die(sprintf("skip Need MySQL Server 5.0.0+, found %d.%02d.%02d (%d)\n",
 -              $matches[0], $matches[1], $matches[2], $version));
 +              $matches[1], $matches[2], $matches[3], $version));
  ?>
+ --XFAIL--
+ nextRowset() problem with stored proc & emulation mode & mysqlnd
  --FILE--
  <?php
 -require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
 +require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
  $db = MySQLPDOTest::factory();
  $db->setAttribute(PDO::ATTR_STRINGIFY_FETCHES, true);
  
index bf0350d7c1ef8d306edbb801a8be179a0a6c47b0,3a90244365dbee06ab3815352322b1bf09fbc873..e3b52944be0dfb2bfee085423dc3abba01eea930
@@@ -1,9 -1,11 +1,11 @@@
  --TEST--
  PDO MySQL Bug #41997 (stored procedure call returning single rowset blocks future queries)
+ --XFAIL--
+ nextRowset() problem with stored proc & emulation mode & mysqlnd
  --SKIPIF--
  <?php
 -require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'skipif.inc');
 -require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
 +require_once(__DIR__ . DIRECTORY_SEPARATOR . 'skipif.inc');
 +require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
  MySQLPDOTest::skip();
  
  $db = MySQLPDOTest::factory();
index 07fae1c672ba7327cec65bfd31ee488ea0645cc6,02f8c682b20cf17c4edbefe7852ba9b3ff90244a..63a500b7b3a5e813afa78d6742982f213ea2c56b
@@@ -1,9 -1,11 +1,11 @@@
  --TEST--
  MySQL Prepared Statements and different column counts
+ --XFAIL--
+ nextRowset() problem with stored proc & emulation mode & mysqlnd
  --SKIPIF--
  <?php
 -require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'skipif.inc');
 -require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
 +require_once(__DIR__ . DIRECTORY_SEPARATOR . 'skipif.inc');
 +require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
  MySQLPDOTest::skip();
  $db = MySQLPDOTest::factory();