#
3c70f5e9 |
| 27-Nov-2024 |
Máté Kocsis |
Fix some odbc_*() parameter types
|
#
29f98e74 |
| 10-Jul-2024 |
Tim Düsterhus |
Replace `@deprecated` by `#[\Deprecated]` for internal functions / class constants (#14750) Co-authored-by: Gina Peter Banyard <girgias@php.net> Co-authored-by: Niels Dossche <7771979+ni
Replace `@deprecated` by `#[\Deprecated]` for internal functions / class constants (#14750) Co-authored-by: Gina Peter Banyard <girgias@php.net> Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
show more ...
|
#
afd91fb9 |
| 28-Apr-2024 |
Máté Kocsis |
Migrate ext/odbc resources to opaque objects (#12040) Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
|
#
4a0ec3de |
| 10-Apr-2024 |
Máté Kocsis |
Make ext/odbc default value handling more consistent (#13910) These changes are carved off from https://github.com/php/php-src/pull/12040/files. I noticed that there are some inconsistencies
Make ext/odbc default value handling more consistent (#13910) These changes are carved off from https://github.com/php/php-src/pull/12040/files. I noticed that there are some inconsistencies between odbc_fetch_object()/odbc_fetch_array(), odbc_fetch_into(), as well as odbc_fetch_row(), specifically in how they handle the $row parameter. Now, I tried to align their behaviour the following way: - I made null the default value. Previously, the default values were one of the following: -1, -1, 0, and null, respectively. - odbc_fetch_row() has been returning false indicating there is no more rows when 0 is passed as $row. Now, a warning is also emitted in this case, because the null default value is not new, because it's available since PHP 8.0. - When HAVE_SQL_EXTENDED_FETCH is not defined, the $row parameter is always ignored. Previously, some of the functions didn't accept it at all. Now a warning is emitted if the feature is not supported, but the parameter has any meaningful value (is greater than or equal to 1).
show more ...
|
#
b981d4af |
| 06-Apr-2024 |
Máté Kocsis |
Declare true return type for ext/odbc functions
|
#
bbe12229 |
| 04-Nov-2023 |
Saki Takamachi <34942839+SakiTakamachi@users.noreply.github.com> |
Fix GH-12296: [odbc] [pdo_odbc] Optimized odbc connection string creating (#12306) Declare and initialize on one line changed to use php_memnistr store strlen(db) in a vari
Fix GH-12296: [odbc] [pdo_odbc] Optimized odbc connection string creating (#12306) Declare and initialize on one line changed to use php_memnistr store strlen(db) in a variable Added a semicolon to the end of dsn. If there is a semicolon at the end of the original dsn, it will be duplicated, so it will be removed. Add condition when authentication information is null
show more ...
|
#
038b2ae2 |
| 08-Aug-2023 |
Máté Kocsis |
Make the $enable parameter of odbc_autocommit() nullable (#11909) Co-authored-by: George Peter Banyard <girgias@php.net>
|
#
77252afa |
| 08-Aug-2023 |
Máté Kocsis |
Fix return type of odbc_data_source()
|
#
e733ebf3 |
| 02-Sep-2022 |
Máté Kocsis |
Add parenthesis around preprocessor conditions in stubs gen_stub.php concatenates nested #ifs into one #if so let's make sure the semantics remain the same.
|
Revision tags: php-8.2.0RC1, php-8.1.10, php-8.0.23, php-8.0.23RC1, php-8.1.10RC1, php-8.2.0beta3, php-8.2.0beta2, php-8.1.9, php-8.0.22 |
|
#
236fd4ce |
| 20-Jul-2022 |
Máté Kocsis |
Declare ext/odbc constants in stubs (#9045) |
Revision tags: php-8.1.9RC1, php-8.2.0beta1, php-8.0.22RC1 |
|
#
342e18f1 |
| 12-Jul-2022 |
Tim Düsterhus |
Support the actual `#[\SensitiveParameter]` attribute in stubs (#8836) |
Revision tags: php-8.0.21, php-8.1.8, php-8.2.0alpha3, php-8.1.8RC1, php-8.2.0alpha2, php-8.0.21RC1, php-8.0.20, php-8.1.7, php-8.2.0alpha1, php-7.4.30, php-8.1.7RC1, php-8.0.20RC1, php-8.1.6, php-8.0.19, php-8.1.6RC1, php-8.0.19RC1, php-8.0.18, php-8.1.5 |
|
#
e85b17b9 |
| 12-Apr-2022 |
Tim Düsterhus |
Mark parameter in ext/odbc as sensitive |
#
2920a266 |
| 22-Apr-2022 |
Calvin Buckley |
Quote when adding to connection string in (PDO_)ODBC Because the UID= and PWD= values are appended to the SQLDriverConnect case when credentials are passed, we have to append them to the
Quote when adding to connection string in (PDO_)ODBC Because the UID= and PWD= values are appended to the SQLDriverConnect case when credentials are passed, we have to append them to the string in case users are relying on this behaviour. However, they must be quoted, or the arguments will be invalid (or possibly more injected). This means users had to quote arguments or append credentials to the raw connection string themselves. It seems that ODBC quoting rules are consistent enough (and that Microsoft trusts them enough to encode into the .NET BCL) that we can actually check if the string is already quoted (in case a user is already quoting because of this not being fixed), and if not, apply the appropriate ODBC quoting rules. This is because the code exists in main/, and are shared between both ODBC extensions, so it doesn't make sense for it to only exist in one or the other. There may be a better spot for it. Closes GH-8307.
show more ...
|
Revision tags: php-7.4.29, php-8.1.5RC1, php-8.0.18RC1, php-8.1.4, php-8.0.17, php-8.1.4RC1, php-8.0.17RC1, php-8.1.3, php-8.0.16, php-7.4.28, php-8.1.3RC1, php-8.0.16RC1, php-8.1.2, php-8.0.15, php-8.1.2RC1, php-8.0.15RC1, php-8.0.14, php-8.1.1, php-7.4.27, php-8.1.1RC1, php-8.0.14RC1, php-7.4.27RC1, php-8.1.0, php-8.0.13, php-7.4.26, php-7.3.33, php-8.1.0RC6, php-7.4.26RC1, php-8.0.13RC1, php-8.1.0RC5, php-7.3.32, php-7.4.25, php-8.0.12, php-8.1.0RC4, php-8.0.12RC1, php-7.4.25RC1, php-8.1.0RC3, php-8.0.11, php-7.4.24, php-7.3.31, php-8.1.0RC2, php-7.4.24RC1, php-8.0.11RC1, php-8.1.0RC1, php-7.4.23, php-8.0.10, php-7.3.30, php-8.1.0beta3, php-8.0.10RC1, php-7.4.23RC1, php-8.1.0beta2, php-8.0.9, php-7.4.22, php-8.1.0beta1, php-7.4.22RC1, php-8.0.9RC1 |
|
#
1c07b11b |
| 08-Jul-2021 |
Nikita Popov |
Deprecate odbc_result_all() Part of https://wiki.php.net/rfc/deprecations_php_8_1. |
Revision tags: php-8.1.0alpha3, php-7.4.21, php-7.3.29, php-8.0.8, php-8.1.0alpha2, php-7.4.21RC1, php-8.0.8RC1, php-8.1.0alpha1, php-8.0.7, php-7.4.20, php-8.0.7RC1, php-7.4.20RC1, php-8.0.6, php-7.4.19, php-7.4.18, php-7.3.28, php-8.0.5, php-8.0.5RC1, php-7.4.18RC1, php-8.0.4RC1, php-7.4.17RC1, php-8.0.3, php-7.4.16, php-8.0.3RC1, php-7.4.16RC1 |
|
#
af56982a |
| 14-Feb-2021 |
Máté Kocsis |
Generate class entries from stubs for oci8, odbc, openssl, pcntl, pdo, pgsql Closes GH-6691 |
Revision tags: php-8.0.2, php-7.4.15, php-7.3.27, php-8.0.2RC1, php-7.4.15RC2, php-7.4.15RC1, php-8.0.1, php-7.4.14, php-7.3.26, php-7.4.14RC1, php-8.0.1RC1, php-7.3.26RC1, php-8.0.0, php-7.3.25, php-7.4.13, php-8.0.0RC5, php-7.4.13RC1, php-8.0.0RC4, php-7.3.25RC1, php-7.4.12, php-8.0.0RC3, php-7.3.24, php-8.0.0RC2 |
|
#
8e531b5b |
| 13-Oct-2020 |
Christoph M. Becker |
Update ext/odbc parameter names Closes GH-6303. |
Revision tags: php-7.4.12RC1, php-7.3.24RC1 |
|
#
8d4774a2 |
| 12-Oct-2020 |
Christoph M. Becker |
Change parameters types from int to bool These are typical boolean parameters, so we shouldn't advertize them as integers. For the `$reverse` parameter that even fixes expectations,
Change parameters types from int to bool These are typical boolean parameters, so we shouldn't advertize them as integers. For the `$reverse` parameter that even fixes expectations, because the `reverse` member is a bitfield of 1 bit, so assigning any even integer would not set it. Closes GH-6328.
show more ...
|
Revision tags: php-7.2.34, php-8.0.0rc1, php-7.4.11, php-7.3.23 |
|
#
439878c8 |
| 24-Sep-2020 |
Christoph M. Becker |
Rename $qualifier/$owner params to $catalog/$schema These have been called qualifier and owner with ODBC 2, but ODBC 3 changed that to catalog and schema, respectively. Closes G
Rename $qualifier/$owner params to $catalog/$schema These have been called qualifier and owner with ODBC 2, but ODBC 3 changed that to catalog and schema, respectively. Closes GH-6210.
show more ...
|
#
3277cb69 |
| 24-Sep-2020 |
Christoph M. Becker |
Remove outdated link to bug report That bug has been fixed, so no need to keep that link any longer. |
#
9b50fd26 |
| 17-Sep-2020 |
Máté Kocsis |
Fix UNKNOWN default values in ext/odbc Closes GH-6154 |
#
555e7ecc |
| 24-Sep-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.4' into master * PHP-7.4: Fix #78470: odbc_specialcolumns() no longer accepts $nullable
|
#
de912821 |
| 16-Sep-2020 |
Máté Kocsis |
Display string default values in stubs more uniformly Settling on using quoted string |
Revision tags: php-8.0.0beta4, php-7.4.11RC1, php-7.3.23RC1, php-8.0.0beta3, php-7.4.10, php-7.3.22 |
|
#
3e800e99 |
| 24-Aug-2020 |
Máté Kocsis |
Move custom type checks to ZPP Closes GH-6034 |
Revision tags: php-8.0.0beta2, php-7.3.22RC1, php-7.4.10RC1, php-8.0.0beta1, php-7.4.9, php-7.2.33, php-7.3.21 |
|
#
bdacd2ae |
| 01-Aug-2020 |
Máté Kocsis |
Add a few missing types to stubs |
Revision tags: php-8.0.0alpha3, php-7.4.9RC1, php-7.3.21RC1, php-7.4.8, php-7.2.32, php-8.0.0alpha2, php-7.3.20, php-8.0.0alpha1, php-7.4.8RC1, php-7.3.20RC1, php-7.4.7, php-7.3.19, php-7.4.7RC1, php-7.3.19RC1, php-7.4.6, php-7.2.31, php-7.4.6RC1, php-7.3.18RC1, php-7.2.30, php-7.4.5, php-7.3.17 |
|
#
21cfa03f |
| 05-Apr-2020 |
Máté Kocsis |
Generate function entries for another batch of extensions Closes GH-5352 |