Peter Kokot
e1181a64d4
Remove HAVE_MYSQL ( #13719 )
...
The ext/pdo_mysql symbol has been once used together with the removed
ext/mysql extension and isn't defined on Windows neither used in the
code anymore.
2024-03-15 20:33:59 +01:00
Saki Takamachi
3dc9503a96
Revert "Fixed GH-13167 Fixed the behavior of bindValue
and bindParam
. ( #13384 )"
...
This reverts commit 68f10504de
.
2024-03-09 10:34:32 +09:00
Saki Takamachi
00bee30132
Revert "Tidy up UT and add NEWS entry"
...
This reverts commit 1d45357409
.
2024-03-09 10:34:17 +09:00
Niels Dossche
37989666ef
Avoid copying escaped string, truncate instead
2024-03-07 20:27:18 +01:00
Saki Takamachi
a31edaa99b
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Removed `REPORT_EXIT_STATUS=no` in libmysql tests
2024-02-29 08:49:53 +09:00
Peter Kokot
7b7f97b518
Remove duplicate Autoconf check for sed
...
The sed program is always available since it is already discovered in
configure.ac and phpize.m4.
2024-02-26 11:47:59 +01:00
Niels Dossche
25dbe5374a
Add test with quoting multibyte GBK vs utf8mb4 in PDO
2024-02-23 23:52:24 +01:00
Kamil Tekiela
50598a7097
Tidy up pdo_mysql_attr_max_buffer_size.phpt
2024-02-18 13:09:19 +01:00
Saki Takamachi
d433035319
Fixed tests for libmysql ( #13424 )
2024-02-18 13:08:31 +01:00
Kamil Tekiela
1d45357409
Tidy up UT and add NEWS entry
2024-02-18 12:47:30 +01:00
Saki Takamachi
68f10504de
Fixed GH-13167 Fixed the behavior of bindValue
and bindParam
. ( #13384 )
...
Fixed to generate an error when a non-scalar value is passed in
`PDO_PARAM_EVT_EXEC_PRE` of `pdo_mysql_stmt_param_hook` unless
it is a `Stringable` object.
2024-02-18 12:10:21 +01:00
Máté Kocsis
10957e498c
Do not generate frameless info items when func info generation is disabled
...
While here, I fixed newlines around arginfo and function entry generation. Previously, newlines were repeated.
2024-02-18 11:39:00 +01:00
Kamil Tekiela
a96cc80be2
Fix PDO unit test description
2024-01-22 17:29:17 +01:00
Máté Kocsis
9c7b3914e7
DeclarePdoMysql:: ATTR_SSL_VERIFY_SERVER_CERT only for Mysqlnd
2024-01-14 16:29:13 +01:00
Máté Kocsis
d6a0b3af68
Implement PDO driver-specific subclasses
...
RFC: https://wiki.php.net/rfc/pdo_driver_specific_subclasses
Closes GH-12804
Co-Authored-By: Danack <Danack@basereality.com>
2024-01-11 23:22:41 +01:00
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