History log of /PHP-8.1/ext/pdo/pdo_dbh.c (Results 1 – 25 of 387)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# e0aadc1c 07-Jul-2023 SakiTakamachi

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

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>

show more ...


# a6a80eef 19-Dec-2022 Stanislav Malyshev

Improve fix for bug #81740


Revision tags: php-8.1.7RC1, php-8.1.4RC1, php-8.1.3, php-8.1.2RC1, php-8.1.0
# c02aa461 16-Nov-2021 Nikita Popov

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.

Revision tags: php-7.3.33, php-7.3.32, php-7.3.31, php-7.3.30
# 570d9b63 20-Jul-2021 Joe Watkins

Not serializable flag permeation

Revision tags: php-7.3.29
# 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 ...

# 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 ...

# e2ad4435 03-May-2021 Máté Kocsis

Merge branch 'PHP-8.0'

* Fix the default value of $mode in PDOStatement::fetch*()


# 30d3062c 02-May-2021 Máté Kocsis

Fix the default value of $mode in PDOStatement::fetch*()

Closes GH-6933

Revision tags: php-7.3.28
# e3403d80 17-Apr-2021 George Peter Banyard

Use ZEND_FALLTHROUGH instead of a comment in PDO

# 19775afa 12-Apr-2021 Nikita Popov

Merge branch 'PHP-8.0'

* PHP-8.0:
PDO: Respect connection transaction state for dtor rollback


# 8effbd1c 12-Apr-2021 Nikita Popov

PDO: Respect connection transaction state for dtor rollback

As mentioned in bug #80949, if a transaction is implicitly
committed, then PDO may still issue a ROLLBACK when the PDO
obj

PDO: Respect connection transaction state for dtor rollback

As mentioned in bug #80949, if a transaction is implicitly
committed, then PDO may still issue a ROLLBACK when the PDO
object is destroyed, as the transaction is still marked as active
in PDO's (inaccurate) transaction emulation.

Make sure we use the connection transaction state also for that
final ROLLBACK. A caveat here is that the connection might have
been dropped already, which may be the case for some drivers if
construction fails. Make sure we don't crash in that case.

show more ...

# ebaeb93c 15-Mar-2021 George Peter Banyard

Add API to fetch bool value for PDO attribute values

Closes GH-6766

# 32fb9b6f 12-Mar-2021 George Peter Banyard

Validate string is numeric for integer PDO attribute value

# f89f600d 12-Mar-2021 George Peter Banyard

Add comment explaining empty default case

# 6cc0d7c0 12-Mar-2021 George Peter Banyard

Boolify pdo_dbh_attribute_set()

# 3e6940fe 12-Mar-2021 George Peter Banyard

Boolify pdo_hash_methods()

# 262744ff 12-Mar-2021 George Peter Banyard

Boolify pdo_stmt_describe_columns()

# f7751f2d 15-Mar-2021 Nikita Popov

Use zend_objects_not_comparable in PDO

# 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-7.3.27
# a78aea89 18-Jan-2021 George Peter Banyard

Refactor PDO's last inserted ID handler to use and return zend_string

Closes GH-6617

# 94ea8e24 18-Jan-2021 George Peter Banyard

Refactor PDO doer handler to use zend_string

# 3e01f5af 15-Jan-2021 Nikita Popov

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool is retained as an alias.

show more ...

Revision tags: php-7.3.26
# 63cda0fe 23-Dec-2020 George Peter Banyard

Refactor PDO's quoter handler to return a zend_string

Closes GH-6547

# 1a58611a 24-Dec-2020 George Peter Banyard

Voidify PDO's fetch_error handler

# d04adf60 23-Dec-2020 George Peter Banyard

Boolify PDO's transaction handlers

This includes begin(), commit(), rollBack(), and inTransaction()

12345678910>>...16