Saki Takamachi
866aa12bcd
ext/pdo: Fixed PDO::setAttribute() and PDO::getAttribute() ( #12793 )
2023-12-04 16:05:30 +00:00
Saki Takamachi
4bb75d569e
ext/pdo_mysql: Optimize tests ( #12751 )
2023-11-27 13:01:24 +00:00
Peter Kokot
de85e4a6d3
Remove unused PDO_MYSQL_MODULE_TYPE variable ( #12711 )
2023-11-18 04:18:15 +00:00
Alexandre Daubois
6f95273941
ext/pdo_mysql: Improve tests cleanup ( #11879 )
...
This allows the tests to be run in parallel.
2023-11-16 18:49:43 +00:00
Ilija Tovilo
39459467f6
Attempt to fix pdo_mysql conflict on CircleCI ( #12563 )
2023-10-30 16:19:27 +01:00
George Peter Banyard
c1fec9bbc3
PDO: Clean-up tests so it's easier to see if they use default test table ( #12552 )
2023-10-29 23:13:30 +00:00
Ilija Tovilo
f39b5c4c25
Close PHP tags in tests
...
Closes GH-12422
2023-10-18 17:34:10 +02:00
Ilija Tovilo
34e6e40447
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Move ARM build to CircleCI
2023-10-12 13:16:09 +02:00
Ilija Tovilo
b35e0c3069
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Move ARM build to CircleCI
2023-10-12 13:14:52 +02:00
Ilija Tovilo
9c3d3be8bd
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Move ARM build to CircleCI
2023-10-12 13:13:34 +02:00
Ilija Tovilo
4332546bbf
Move ARM build to CircleCI
...
Closes GH-12415
2023-10-12 13:11:38 +02:00
Peter Kokot
a8e1b1018d
Remove unused --with-zlib-dir configure option
...
Commits that removed this option:
- 34dd032e4e
- a2c21e10b2
- e595f5cd8a
Closes GH-12209
2023-09-14 22:21:54 +02:00
Kamil Tekiela
82934746b7
Merge branch 'PHP-8.2'
...
* PHP-8.2:
Fix MySQL Statement has a empty query result when the response field has changed, also Segmentation fault
2023-08-04 22:54:30 +01:00
Kamil Tekiela
4db701c049
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fix MySQL Statement has a empty query result when the response field has changed, also Segmentation fault
2023-08-04 22:31:18 +01:00
Yurun
ca5d48213a
Fix MySQL Statement has a empty query result when the response field has changed, also Segmentation fault
...
Closes GH-11551.
2023-08-04 22:25:01 +01:00
Máté Kocsis
c322da0606
Fix misleading pass by reference error message ( #10639 )
2023-07-18 15:02:38 +02:00
George Peter Banyard
ca8dab3b8a
Merge branch 'PHP-8.2'
...
* PHP-8.2:
Fix GH-11587 PDO::ATTR_STRINGIFY_FETCHES should return strings even in if PDO::ATTR_EMULATE_PREPARES is enabled
2023-07-17 07:10:16 +01:00
George Peter Banyard
5f716bf2df
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fix GH-11587 PDO::ATTR_STRINGIFY_FETCHES should return strings even in if PDO::ATTR_EMULATE_PREPARES is enabled
2023-07-17 07:09:34 +01:00
SakiTakamachi
e0aadc1c0d
Fix GH-11587 PDO::ATTR_STRINGIFY_FETCHES should return strings even in if PDO::ATTR_EMULATE_PREPARES is enabled
...
This also includes a fix for the MySQL ND driver to actually respect the user decided behaviour.
Closes GH-11622
Signed-off-by: George Peter Banyard <girgias@php.net>
2023-07-17 07:08:45 +01:00
David Carlier
86f6c5637f
Merge branch 'PHP-8.2'
2023-03-25 17:41:56 +00:00
David Carlier
3e05059e00
Merge branch 'PHP-8.1' into PHP-8.2
2023-03-25 17:41:45 +00:00
David CARLIER
f6989df8cc
ext/pdo_mysql: mysql_handle_closer nullify some freed data.
...
Close GH-10926
2023-03-25 17:41:21 +00:00
Ilija Tovilo
9d5f2f1343
Use new ZSTR_INIT_LITERAL macro ( #10879 )
2023-03-20 16:19:05 +01:00
Ilija Tovilo
1e434fbcd8
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Move ARM64 build to Cirrus
2023-03-15 01:37:31 +01:00
Ilija Tovilo
ccca59728e
Move ARM64 build to Cirrus
...
Travis is very unreliable lately
Closes GH-10795
2023-03-15 01:35:01 +01:00
Ilija Tovilo
3fbdb132c8
[skip ci] Fix misleading xfail message
2023-03-15 00:08:11 +01:00
Ilija Tovilo
ff1e07c10c
Fix mysql tests on Cirrus ASAN
...
We used localhost instead of 127.0.0.1, so the tests were never actually run.
Closes GH-10802
2023-03-15 00:03:09 +01: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
Marcos Marcolin
cfa23114d3
Remove php_pdo_mysql_sqlstate.h
...
This file is unused (at least as of PHP 8.0.0); we also remove the
script that could generate it, and the respective info from
CONTRIBUTING.md.
Closes GH-10363.
2023-01-18 19:26:03 +01:00
Kamil Tekiela
da550e7762
MYSQL_ATTR_USE_BUFFERED_QUERY is a bool attribute ( #10320 )
2023-01-16 13:11:38 +00:00
Tim Düsterhus
03fd405423
Use php_info_print_table_header for actual column headers only ( #9485 )
...
Using php_info_print_table_header() for "Foo: bar" looks odd and out of place,
because the whole line is colored. It is also questionable from a HTML
semantics point of view, because it does not described the columns that follow.
The use of this across extensions is inconsistent. It was part of the skeleton,
but ext/date or ext/json already use a regular row.
2022-09-06 08:48:22 +02:00
Christoph M. Becker
12a3066b2c
Fix debug output
2022-06-09 13:42:45 +02:00
Christoph M. Becker
e7a79719cc
Merge branch 'PHP-8.1'
...
* PHP-8.1:
Fix PDO URI test
2022-05-03 12:44:32 +02:00
Christoph M. Becker
7612ea8121
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Fix PDO URI test
2022-05-03 12:43:14 +02:00
Michael Voříšek
136ef6f129
Fix PDO URI test
...
Especially for remote servers, the respective part of the test may fail
for a lot of different reasons; instead of trying to catch all, we
rewrite to not fail, still testing for the contained NUL byte.
Closes GH-8451.
2022-05-03 12:12:41 +02:00
Christoph M. Becker
15233a47b2
Merge branch 'PHP-8.1'
...
* PHP-8.1:
Fix bug where large bigints may be truncated
2021-12-30 19:11:22 +01:00
Christoph M. Becker
ae9e98640a
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Fix bug where large bigints may be truncated
2021-12-30 19:10:36 +01:00
Christoph M. Becker
dea548be60
Merge branch 'PHP-8.1'
...
* PHP-8.1:
Fix #81658 : MYSQL_OPT_LOAD_DATA_LOCAL_DIR not available in MariaDB
2021-12-05 19:11:32 +01:00
David Carlier
15e7e570a5
Fix #81658 : MYSQL_OPT_LOAD_DATA_LOCAL_DIR not available in MariaDB
...
This also introduces the boolean userland constant `MYSQLI_IS_MARIADB`.
2021-12-05 19:11:04 +01:00
Nikita Popov
902d64390e
Deprecate implicit dynamic properties
...
Writing to a proprety that hasn't been declared is deprecated,
unless the class uses the #[AllowDynamicProperties] attribute or
defines __get()/__set().
RFC: https://wiki.php.net/rfc/deprecate_dynamic_properties
2021-11-26 14:10:11 +01:00
Nikita Popov
a4da60f4b5
Merge branch 'PHP-8.1'
...
* PHP-8.1:
Fix leak when persistent PDO connection fails
2021-11-16 16:16:34 +01:00
Nikita Popov
c02aa46126
Fix leak when persistent PDO connection fails
...
As we don't register the resource, the resource dtor is not called
and will not decrement the refcount.
2021-11-16 16:14:29 +01:00
Nikita Popov
ee510eed68
Deprecate partially supported callables
...
This deprecates all callables that are accepted by
call_user_func($callable) but not by $callable(). In particular:
"self::method"
"parent::method"
"static::method"
["self", "method"]
["parent", "method"]
["static", "method"]
["Foo", "Bar::method"]
[new Foo, "Bar::method"]
RFC: https://wiki.php.net/rfc/deprecate_partially_supported_callables
Closes GH-7446.
2021-10-22 10:15:24 +02:00
Jeremy Mikola
858d0c0916
Include class name in Serializable deprecation message
...
The deprecation message was originally introduced in 3e6b447
(#6494 ).
I first encountered this notice when testing the MongoDB extension
with PHP 8.1, which produced many duplicate messages that provided
no detail about the particular class that needed to be fixed.
Closes GH-7346.
2021-08-11 10:35:47 +02:00
Patrick Allaert
ac18dd0dc7
Prefer EXPECT over EXPECTF
2021-06-29 17:13:02 +02:00
Patrick Allaert
aff365871a
Fixed some spaces used instead of tabs
2021-06-29 11:30:26 +02:00
Nikita Popov
3acdab864d
Fix printf formats in mysql debug logging
...
Enable printf format verification and fix the reported errors.
2021-06-16 16:09:06 +02:00
Nikita Popov
72f47c0c9d
Remove duplicate entries in EXTENSIONS
...
These would cause failures if the extensions is loaded dynamically.
2021-06-14 14:34:31 +02:00
Nikita Popov
b5a14e6c04
Port skipif.inc files to EXTENSIONS
2021-06-11 16:27:50 +02:00
Nikita Popov
39131219e8
Migrate more SKIPIF -> EXTENSIONS ( #7139 )
...
This is a mix of more automated and manual migration. It should remove all applicable extension_loaded() checks outside of skipif.inc files.
2021-06-11 12:58:44 +02:00