Kamil Tekiela
548fc6a818
As of 8.2 this SKIP is no longer possible
2023-08-01 00:53:47 +01:00
Kamil Tekiela
73d6869337
Remove unnecessary parentheses around language constructs in mysqli
2023-08-01 00:40:55 +01:00
Kamil Tekiela
a21edc52aa
Remove unnecessary parentheses around language constructs in mysqli
2023-07-31 23:46:45 +01:00
Kamil Tekiela
c1a085290a
Convert CRLF to LF
2023-07-31 23:26:49 +01:00
George Peter Banyard
b389846d05
ext/mysqli: Remove catchable fatal error handler
...
Recoverable fatal error haven't been a thing for a while, and proper fatal error have never been catchable
2023-07-29 06:17:20 +01:00
George Peter Banyard
8582d97b8c
ext/mysqli: Stop using global variable in connection test helper
2023-07-29 06:17:20 +01:00
George Peter Banyard
0c21715935
ext/mysqli: Remove conditional function declaration
2023-07-29 06:17:20 +01:00
George Peter Banyard
17a80eb08b
ext/mysqli: Remove custom sys_get_temp_dir() function
...
It has existed since PHP 5.2.1...
2023-07-29 06:17:19 +01:00
Ilija Tovilo
4af95b7c58
Merge branch 'PHP-8.2'
...
* PHP-8.2:
Fix mysql tests with non-standard server port
2023-04-20 08:46:01 +02:00
Ilija Tovilo
72fc8b51a4
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fix mysql tests with non-standard server port
2023-04-20 08:45:52 +02:00
Michael Voříšek
0ab51a9561
Fix mysql tests with non-standard server port
...
Closes GH-9744
2023-04-20 08:45:14 +02:00
Ilija Tovilo
11fbf3da35
Merge branch 'PHP-8.2'
...
* PHP-8.2:
Unparallelize IO heavy tests
2023-03-27 16:34:19 +02:00
Ilija Tovilo
9b15537e9a
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Unparallelize IO heavy tests
2023-03-27 16:34:11 +02:00
Ilija Tovilo
e1ec67acd6
Unparallelize IO heavy tests
...
Alternative to GH-10892. This is somewhat unfortunate since these are also the
slow tests. I'm also not sure if this actually helps.
Closes GH-10953
2023-03-27 16:33:36 +02:00
David Carlier
90a39fd52c
ext/mysqi: mysqli_poll raises a ValueError on absent 1st and 2ng arguments.
2023-03-15 17:49:31 +00:00
David Carlier
974a3d8441
ext/mysqli/pgsql: mysqli_fetch_object/pgsql_fetch_object raises ValueError on constructor args error.
...
Closes GH-10832.
2023-03-13 19:54:49 +00:00
Ilija Tovilo
47f80ffc77
Remove unnecessary type punnign from mysqli_api.c
...
value is a long. On big-endian architectures mysql_stmt_attr_get() will write to
the most significant byte. Type punning was used to move that byte to the least
significant one, which is UB. We can avoid this by simply casting to my_bool
(alias of bool). Previously, a comparison against 0 should've been done.
2023-03-10 17:15:46 +01:00
George Peter Banyard
f13d541ca6
Fix GCC 12 compiler warnings ( #10713 )
...
* Fix -Wunused-but-set-variable compiler warning in ext/mysqli
* Fix -Wstrict-prototypes compiler warning in ext/mysqlnd
* Fix -Wstrict-prototypes compiler warning in ext/soap
* Fix -Wunused-but-set-variable compiler warning in ext/exif
However, this code looks really sketchy...
* Fix -Wstrict-prototypes compiler warning in ext/openssl
* Fix -Wstrict-prototypes compiler warning in ext/dba
Add void to our bundled libraries
* Refactor bundled BCMath library
Fix -Wdeprecated-non-prototype compiler warnings
Use bool instead of char/int
Cleanup some useless header includes
2023-02-28 14:21:01 +00:00
Max Kellermann
d5c649b36b
zend_compiler, ...: use uint8_t instead of zend_uchar ( #10621 )
...
`zend_uchar` suggests that the value is an ASCII character, but here,
it's about very small integers. This is misleading, so let's use a
C99 integer instead.
On all architectures currently supported by PHP, `zend_uchar` and
`uint8_t` are identical. This change is only about code readability.
2023-02-23 14:56:54 +00:00
Máté Kocsis
7936c8085e
Fix GH-8329 Print true/false instead of bool in error and debug messages ( #8385 )
2023-01-23 10:52:14 +01:00
Kamil Tekiela
38dfd20526
Remove main() from mysqli warning ( #10321 )
2023-01-16 13:10:27 +00:00
Christoph M. Becker
1b503a1f52
Merge branch 'PHP-8.2'
...
* PHP-8.2:
Fix mysqli test wrt. MariaDB
2022-12-09 16:10:36 +01:00
Daniel Black
b77edf82ac
Fix mysqli test wrt. MariaDB
...
The test results under MariaDB, except they report "MariaDB" instead
of MySQL.
Closes GH-10029.
2022-12-09 16:09:23 +01:00
Christoph M. Becker
005a765ded
Merge branch 'PHP-8.2'
...
* PHP-8.2:
ext/mysqli tests "using password" optional in error messages (part 2)
2022-12-08 14:24:52 +01:00
Christoph M. Becker
a76bbd39b6
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
ext/mysqli tests "using password" optional in error messages (part 2)
2022-12-08 14:24:01 +01:00
Daniel Black
c21a5920ac
ext/mysqli tests "using password" optional in error messages (part 2)
...
Like GH-10035 for ext/mysqli/tests/mysqli_connect.phpt test.
Closes GH-10064.
2022-12-08 14:23:33 +01:00
Christoph M. Becker
4ae1f080e7
Merge branch 'PHP-8.2'
...
* PHP-8.2:
ext/mysqli tests "using password" optional in error messages
2022-12-05 13:13:21 +01:00
Christoph M. Becker
0ac9e8e4e2
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
ext/mysqli tests "using password" optional in error messages
2022-12-05 13:12:54 +01:00
Daniel Black
b6b4a628a5
ext/mysqli tests "using password" optional in error messages
...
Closes GH-10035.
2022-12-05 13:12:23 +01:00
George Peter Banyard
c0f2727e55
Use zend_call_known_function() in ext-mysqli instead of building FCI/FCC
2022-10-31 22:33:39 +00:00
Kamil Tekiela
cd8beb8d59
Merge branch 'PHP-8.2'
...
* PHP-8.2:
Add NEWS entry for #9841
Add a temporary fix for insufficient buffer size in mysqlnd (#9835 )
mysqli_query throws warning despite using silenced error mode (#9842 )
2022-10-27 18:35:30 +01:00
Kamil Tekiela
646b8f6b5c
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Add NEWS entry for #9841
Add a temporary fix for insufficient buffer size in mysqlnd (#9835 )
mysqli_query throws warning despite using silenced error mode (#9842 )
2022-10-27 18:34:14 +01:00
Kamil Tekiela
ec1f58c871
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Add NEWS entry for #9841
Add a temporary fix for insufficient buffer size in mysqlnd (#9835 )
mysqli_query throws warning despite using silenced error mode (#9842 )
2022-10-27 18:31:38 +01:00
Kamil Tekiela
5b60370906
mysqli_query throws warning despite using silenced error mode ( #9842 )
2022-10-27 18:24:28 +01:00
George Peter Banyard
66661ae682
Remove most usages of zend_fcall_info_args()
...
This reallocates the PHP array when one can just use the named_params fields to pass the positional arguments instead.
Only usage of zend_fcall_info_args(_ex) remains in PDO.
2022-10-21 18:31:40 +01:00
Christoph M. Becker
a3bfffc1b0
Merge branch 'PHP-8.2'
...
* PHP-8.2:
Remove support for libmysql-client from mysqli test suite
2022-10-06 12:09:45 +02:00
Christoph M. Becker
62d393b1ed
Remove support for libmysql-client from mysqli test suite
...
Since mysqli can no longer be built against libmysql-client, there is
no longer the need to distinguish.
While we're at it, we also drop the superfluous is_object() checks.
Closes GH-9652.
2022-10-06 12:09:14 +02:00
Christoph M. Becker
63a0775474
Merge branch 'PHP-8.2'
...
* PHP-8.2:
gh9590.phpt requires ext/posix
2022-10-01 14:35:15 +02:00
Christoph M. Becker
a5003bb4f4
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
gh9590.phpt requires ext/posix
2022-10-01 14:34:59 +02:00
Christoph M. Becker
48ae3a0e3f
gh9590.phpt requires ext/posix
2022-10-01 14:34:24 +02:00
Christoph M. Becker
d6a958e861
Merge branch 'PHP-8.2'
...
* PHP-8.2:
Use --EXTENSIONS-- section for newly added tests
2022-10-01 14:09:43 +02:00
Christoph M. Becker
c5f53c4ef4
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Use --EXTENSIONS-- section for newly added tests
2022-10-01 14:09:26 +02:00
Christoph M. Becker
47c79a97f5
Use --EXTENSIONS-- section for newly added tests
...
As of PHP 8.1.0, the `--EXTENSIONS-- section is properly supported, and
CIs may make use of that (our AppVeyor CI does). Thus it is important
to list required extensions there, since otherwise they may not be
loaded, causing the test to be skipped, or worse, to be borked.
2022-10-01 14:08:59 +02:00
Arnaud Le Blanc
5b6f9df51a
Merge branch 'PHP-8.2'
...
* PHP-8.2:
[ci skip] NEWS
[ci skip] NEWS
[ci skip] NEWS
Return immediately when FD_SETSIZE is exceeded (#9602 )
2022-10-01 11:26:17 +02:00
Arnaud Le Blanc
246d13cd99
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
[ci skip] NEWS
[ci skip] NEWS
Return immediately when FD_SETSIZE is exceeded (#9602 )
2022-10-01 11:24:23 +02:00
Arnaud Le Blanc
d4b99542d5
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
[ci skip] NEWS
Return immediately when FD_SETSIZE is exceeded (#9602 )
2022-10-01 11:23:34 +02:00
Arnaud Le Blanc
80232de0e4
Return immediately when FD_SETSIZE is exceeded ( #9602 )
2022-10-01 11:20:43 +02:00
Máté Kocsis
c153ec877f
Merge branch 'PHP-8.2'
...
* PHP-8.2:
Improve string class constant code generation
2022-09-26 23:13:31 +02:00
Máté Kocsis
e4f2376919
Improve string class constant code generation ( #9577 )
...
Using strlen() will make sure that non-constant values can also be used.
2022-09-26 23:12:34 +02:00
George Peter Banyard
163c0b5f4c
Merge branch 'PHP-8.2'
2022-09-06 10:42:34 +01:00