History log of /PHP-8.2/ext/pdo/pdo_stmt.c (Results 1 – 25 of 511)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# d6a0b3af 11-Jan-2024 Máté Kocsis

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>


# 97267215 10-Jan-2024 David CARLIER

general signatures discrepencies fixes (#13122)


# 7936c808 23-Jan-2023 Máté Kocsis

Fix GH-8329 Print true/false instead of bool in error and debug messages (#8385)


# a01dd9fe 14-Sep-2022 Bob Weinand

Revert "Port all internally used classes to use default_object_handlers"

This reverts commit 94ee4f9834743ca74f6c9653863273277ce6c61a.

The commit was a bit too late to be included i

Revert "Port all internally used classes to use default_object_handlers"

This reverts commit 94ee4f9834743ca74f6c9653863273277ce6c61a.

The commit was a bit too late to be included in PHP 8.2 RC1. Given it's a massive ABI break, we decide to postpone the change to PHP 8.3.

show more ...


# 94ee4f98 24-Aug-2022 Bob Weinand

Port all internally used classes to use default_object_handlers

Signed-off-by: Bob Weinand <bobwei9@hotmail.com>


# df52903e 25-May-2022 Yurun

Closes GH-8626: Fix PDOStatement->execute() failed.
Then execute successfully, errorInfo() information is incorrect


# 888bec1b 10-Nov-2021 hassan

Merge duplicate identical conditions in PDO (#7638)


# 8a26cbe0 22-Jul-2021 Nikita Popov

Remove unnecessary PDORow get_method / get_class_name handlers

These implement the default behavior, but badly.


# 570d9b63 20-Jul-2021 Joe Watkins

Not serializable flag permeation


# 9d2a466c 09-Jun-2021 Nikita Popov

Remove explicit assignments of zend_objects_destroy_object

This is the default handler, no need to set it explicitly. This
makes it easier to see which objects really have a custom dtor_

Remove explicit assignments of zend_objects_destroy_object

This is the default handler, no need to set it explicitly. This
makes it easier to see which objects really have a custom dtor_obj.

show more ...


# 91eb201f 31-May-2021 Nikita Popov

Allow initializing assignment to PDOStatement::$queryString

If the object is not created through PDO::prepare(), e.g. in a
mock scenario, it should still be possible to initialize the

Allow initializing assignment to PDOStatement::$queryString

If the object is not created through PDO::prepare(), e.g. in a
mock scenario, it should still be possible to initialize the
$queryString property.

See bug #81084.

show more ...


# 01b3fc03 06-May-2021 KsaR

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as 3.0 states "php 5.1.1, 4.1.1, and earlier".
3. In some license comments is "at through the world-wide-web" while most is without "at", so deleted.
4. fixed indentation in some files before |

show more ...


# 068c8db2 04-May-2021 Máté Kocsis

Fix the signature of PDOStatement::fetchObject()

The ?array $ctorArgs = null parameter is changed to array $constructorArgs = [], and an additional memory leak revealed by the new test case

Fix the signature of PDOStatement::fetchObject()

The ?array $ctorArgs = null parameter is changed to array $constructorArgs = [], and an additional memory leak revealed by the new test case is fixed.

Closes GH-6937

Co-Authored-By: Nikita Popov <nikita.ppv@gmail.com>

show more ...


# 3e6b4479 07-Dec-2020 Nikita Popov

Partially deprecate Serializable

If Serializable is implemented, require that __serialize() and
__unserialize() are implemented as well, else issue a deprecation
warning.

Al

Partially deprecate Serializable

If Serializable is implemented, require that __serialize() and
__unserialize() are implemented as well, else issue a deprecation
warning.

Also deprecate use of PDO::FETCH_SERIALIZE.

RFC: https://wiki.php.net/rfc/phase_out_serializable

Closes GH-6494.

show more ...


# 0a779040 25-Apr-2021 Kamil Tekiela

Add test case for errorCode()


# 3292b976 24-Apr-2021 Kamil Tekiela

Add ZEND_ASSERT to stmt->errorCode


# 5caaf40b 29-Sep-2020 George Peter Banyard

Introduce pseudo-keyword ZEND_FALLTHROUGH

And use it instead of comments


# f15d5279 17-Mar-2021 Máté Kocsis

Declare PDORow::queryString property

Relates GH-6742


# 262744ff 12-Mar-2021 George Peter Banyard

Boolify pdo_stmt_describe_columns()


# 7e3840df 15-Mar-2021 Nikita Popov

Assert that stmt is set in PDORow


# f7751f2d 15-Mar-2021 Nikita Popov

Use zend_objects_not_comparable in PDO


# 1954e597 26-Jan-2021 Máté Kocsis

Add support for generating class entries from stubs

Closes GH-6289

Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>


# ef36de13 19-Jan-2021 George Peter Banyard

Use zend_string_equals() in PDO

Closes GH-6623


# 7aa00369 07-Jan-2021 Nikita Popov

Switch bound_param_map to zend_string


# 01c8fe8f 23-Dec-2020 George Peter Banyard

Convert strcmp() usage to zend_string_equals_literal()


12345678910>>...21