History log of /PHP-8.4/ext/pdo/pdo_dbh.c (Results 126 – 150 of 407)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 2ab9a2d4 09-Aug-2016 Keyur

Fix ASSERT logic


# 98e4d509 09-Aug-2016 Keyur

Bugfix 72791: fix memory leak in PDO persistent connections


# 3f25c422 08-Aug-2016 Keyur

Fix bug 72788: Invalid memory access when database_object_handle
is undefined. Also fix memory leak in dbh_free when using persistent
PDO connections.


Revision tags: php-7.1.0beta2, php-5.6.25RC1, php-7.0.10RC1, php-7.1.0beta1, php-5.6.24, php-7.0.9, php-5.5.38, php-5.6.24RC1, php-7.1.0alpha3, php-7.0.9RC1, php-7.1.0alpha2
# 323b2733 21-Jun-2016 Dmitry Stogov

Fixed compilation warnings


Revision tags: php-7.0.8, php-5.6.23
# 16160386 21-Jun-2016 Dmitry Stogov

Added ZEND_ATTRIBUTE_FORMAT to some middind functions.
"%p" replaced by ZEND_LONG_FMT to avoid compilation warnings.
Fixed most incorrect use cases of format specifiers.


Revision tags: php-5.5.37, php-5.6.23RC1, php-7.0.8RC1, php-7.1.0alpha1, php-5.6.22, php-5.5.36, php-7.0.7, php-5.6.22RC1, php-7.0.7RC1, php-7.0.6
# 6499162f 28-Apr-2016 Dmitry Stogov

- get rid of EG(scope). zend_get_executed_scope() should be used instead.
- ichanged zval_update_constant_ex(). Use IS_TYPE_IMMUTABLE flag on shared constants and AST, instead of "inline_change"

- get rid of EG(scope). zend_get_executed_scope() should be used instead.
- ichanged zval_update_constant_ex(). Use IS_TYPE_IMMUTABLE flag on shared constants and AST, instead of "inline_change" parameter.

show more ...


Revision tags: php-5.6.21, php-5.5.35
# f0a2e8eb 27-Apr-2016 Dmitry Stogov

Removed "zend_fcall_info.function_table". It was assigned in many places, but is never used.


Revision tags: php-5.6.21RC1, php-7.0.6RC1, php-5.6.20, php-5.5.34, php-7.0.5, php-5.6.20RC1, php-7.0.5RC1, php-5.6.19, php-5.5.33, php-7.0.4, php-5.6.19RC1, php-7.0.4RC1, php-5.6.18, php-7.0.3, php-5.5.32, php-5.6.18RC1, php-7.0.3RC1, php-5.6.17, php-5.5.31, php-7.0.2, php-7.0.2RC1, php-5.6.17RC1, php-7.0.1RC1, php-7.0.0, php-5.6.16, php-7.0.0RC8, php-7.0.0RC7, php-5.6.16RC1, php-5.6.15, php-7.0.0RC6, php-7.0.1, php-5.6.15RC1, php-7.0.0RC5, php-5.5.30, php-5.6.14, php-7.0.0RC4
# e541cd8e 26-Sep-2015 Daniel Persson

Fix bug #52098


# c67c166f 02-Mar-2016 Dmitry Stogov

Removed zend_fcall_info.symbol_table


# 93dc91b3 30-Jan-2016 Nikita Popov

Remove version checks

PHP_VERSION_ID
PHP_API_VERSION
ZEND_MODULE_API_NO
PHP_MAJOR_VERSION, PHP_MINOR_VERSION
ZEND_ENGINE_2

I've left litespeed alone, as it seems to

Remove version checks

PHP_VERSION_ID
PHP_API_VERSION
ZEND_MODULE_API_NO
PHP_MAJOR_VERSION, PHP_MINOR_VERSION
ZEND_ENGINE_2

I've left litespeed alone, as it seems to genuinely maintain support
for many PHP versions.

show more ...


# ae122bf7 24-Jan-2016 Xinchen Hui

Fixed warning of incompatible pointer


# 6a2621e3 13-Jan-2016 Dmitry Stogov

Avoid incomplete zend_internal_function initialization.


# 36b4311e 04-Jan-2016 Xinchen Hui

Do not edit the value in place (might be relates to #71261)


# 49493a2d 01-Jan-2016 Lior Kaplan

Happy new year (Update copyright to 2016)


# 73384728 26-Sep-2015 Daniel Persson

Fix bug #64172

Check if the SQLSTATE error code is equal to PDO_ERR_NONE before we ask the driver.
And if no error is reported skip the extra call to the driver.


# 307c1f6b 26-Sep-2015 Daniel Persson

Fix bug #64172

Check if the SQLSTATE error code is equal to PDO_ERR_NONE before we ask the driver.
And if no error is reported skip the extra call to the driver.


# d82ea930 22-Sep-2015 Dmitry Stogov

Cleanup: removed deprecated commented code. Incorrect zval_dtor() usage replaced by zval_dtor_ptr().


Revision tags: php-5.6.14RC1, php-7.0.0RC3, php-5.6.13, php-7.0.0RC2, php-5.5.29, php-5.4.45
# ef1bd8f0 30-Aug-2015 Xinchen Hui

Fixed bug #70389 (PDO constructor changes unrelated variables)


Revision tags: php-5.6.13RC1, php-7.0.0RC1
# aaf76387 10-Aug-2015 Xinchen Hui

Fixed bug #70221 (persistent sqlite connection + custom function segfaults)


Revision tags: php-5.6.12, php-5.5.28, php-7.0.0beta3, php-5.4.44, php-5.6.12RC1, php-7.0.0beta2, php-7.0.0beta1, php-5.6.11, php-5.5.27, php-5.4.43
# 4a2e40bb 30-Jun-2015 Dmitry Stogov

Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).


Revision tags: php-5.6.11RC1, php-5.5.27RC1, php-7.0.0alpha2, php-5.5.26, php-7.0.0alpha1, php-5.6.10, php-5.4.42, POST_PHP7_NSAPI_REMOVAL, PRE_PHP7_NSAPI_REMOVAL, php-5.6.10RC1, php-5.5.26RC1
# b081da65 20-May-2015 Nikita Popov

Expose pdo stmt ctor args to gc

These very commonly contain a reference to the PDO object itself.


Revision tags: php-5.5.25, php-5.6.9, php-5.4.41, php-5.6.9RC1, php-5.5.25RC1
# 15a5f61c 22-Apr-2015 Dmitry Stogov

Use fast method to check if first arguments should be passed by reference (not tested onbig endian).


# 6202e286 16-Apr-2015 Nikita Popov

Fix leak of Pdo object if query() fails

Decref the DBH object when storing the errored query statement --
the DBH owns the stmt, so it will live long enough.


Revision tags: php-5.6.8, php-5.5.24, php-5.4.40
# caf9219d 06-Apr-2015 Nikita Popov

Fix EH_THROW replacement in PDO constructor

Needs to happen for the "goto options" case as well, otherwise
will try to restore error handling that was never replaced.


# 122d7596 02-Apr-2015 Nikita Popov

Always throw TypeException on throwing zpp failures

Introduces a ZEND_PARSE_PARAMS_THROW flag for zpp, which forces to
report FAILURE errors using a TypeException instead of a Warning,

Always throw TypeException on throwing zpp failures

Introduces a ZEND_PARSE_PARAMS_THROW flag for zpp, which forces to
report FAILURE errors using a TypeException instead of a Warning,
like it would happen in strict mode.

Adds a zend_parse_parameters_throw() convenience function, which
invokes zpp with this flag.

Converts all cases I could identify, where we currently have
throwing zpp usage in constructors and replaces them with this API.
Error handling is still replaced to EH_THROW in some cases to handle
other, domain-specific errors in constructors.

show more ...


12345678910>>...17