History log of /PHP-7.1/ext/pdo/pdo_dbh.c (Results 26 – 50 of 285)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 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 ...


# 30d59aed 04-Apr-2015 Nikita Popov

Try fixing PDO MySQL pconnect test

Use less aggressive conversion to exceptions, in particular
do not convert warnings that happen during check_liveness. If the
server has gone away

Try fixing PDO MySQL pconnect test

Use less aggressive conversion to exceptions, in particular
do not convert warnings that happen during check_liveness. If the
server has gone away this will just reconnect and we still end up
with a valid connection, so it shouldn't throw.

Also drop some unnecessary checks for malloc returning NULL.

show more ...


# ea09a9fa 01-Apr-2015 Dmitry Stogov

Convert fatal errors into EngineExceptions
Make zval_update_constant_ex(), zval_update_constant(), zend_update_class_constants() and zend_ast_evaluate() return SUCCESS or FAILURE.


Revision tags: php-5.6.8RC1, php-5.5.24RC1
# 1018f462 30-Mar-2015 Dmitry Stogov

Patch improvement:

Removed the corresponding core code.
Fixed ext/com_dotnet and ext/date.
Refactored ext/intl changes.
Improved ext/fileinfo and ext/pdo changes.
Fixed tests.


Revision tags: php-5.6.7, php-5.5.23, php-5.4.39
# d3267d00 15-Mar-2015 Danack

Fixed PDO constructor to not return null.


Revision tags: php-5.6.7RC1, php-5.5.23RC1, POST_PHP7_EREG_MYSQL_REMOVALS, PRE_PHP7_EREG_MYSQL_REMOVALS, php-5.6.6, php-5.5.22, php-5.4.38, POST_PHP7_REMOVALS, PRE_PHP7_REMOVALS, php-5.6.6RC1, php-5.5.22RC1
# 9e70d767 04-Feb-2015 Dmitry Stogov

Move zend_object->guards into additional slot of zend_object->properties_table[]. As result size of objects without __get/__set/__unset/__isset magic methods is reduced.


# dfe6aea9 26-Jan-2015 Stanislav Malyshev

size_t cleanup for PDO


Revision tags: php-5.5.21, php-5.6.5, php-5.4.37
# fc33f52d 15-Jan-2015 Xinchen Hui

bump year


# 0579e827 15-Jan-2015 Xinchen Hui

bump year


# 73c1be26 15-Jan-2015 Xinchen Hui

Bump year


Revision tags: php-5.5.21RC1, php-5.6.5RC1
# b7a7b1a6 03-Jan-2015 Stanislav Malyshev

trailing whitespace removal


# 2646f7bc 22-Dec-2014 Dmitry Stogov

Don't count variadic argument in zend_func.common.num_args. This allows faster CALL/RETURN code.


Revision tags: POST_NATIVE_TLS_MERGE, PRE_NATIVE_TLS_MERGE, php-5.5.20, php-5.4.36, php-5.6.4
# e112f6a0 14-Dec-2014 Anatol Belski

second shot on removing TSRMLS_*


# bdeb220f 13-Dec-2014 Anatol Belski

first shot remove TSRMLS_* things


# 5dd427ea 03-Dec-2014 Dmitry Stogov

Use zend_string* for op_array->arg_info[]->name and op_array->arg_info[]->class_name. For internal functions we still use char*.


Revision tags: php-5.6.4RC1, php-5.5.20RC1
# 06fdf359 20-Nov-2014 Veres Lajos

typo fixes - https://github.com/vlajos/misspell_fixer


# 4dc99457 20-Nov-2014 Veres Lajos

typo fixes - https://github.com/vlajos/misspell_fixer

Conflicts:
ext/ftp/ftp.h
ext/pcre/pcrelib/pcre_printint.c
ext/pcre/pcrelib/sljit/sljitLir.c

typo fixes - https://github.com/vlajos/misspell_fixer

Conflicts:
ext/ftp/ftp.h
ext/pcre/pcrelib/pcre_printint.c
ext/pcre/pcrelib/sljit/sljitLir.c
ext/pcre/pcrelib/sljit/sljitLir.h
ext/pcre/pcrelib/sljit/sljitNativeARM_32.c
ext/pcre/pcrelib/sljit/sljitNativeTILEGX_64.c
ext/pgsql/pgsql.c
ext/phar/func_interceptors.c
ext/soap/soap.c
ext/standard/image.c

show more ...


Revision tags: php-5.6.3, php-5.5.19, php-5.4.35, php-5.6.3RC1, php-5.5.19RC1, php-5.5.18, php-5.4.34
# bd9a2346 03-Oct-2014 Dmitry Stogov

Replaced EG(This) and EX(object) with EX(This).
Internal functions now recieves zend_execute_data as the first argument.


Revision tags: php-5.5.18RC1, php-5.6.1, php-5.6.2
# d0cb7153 19-Sep-2014 Johannes Schlüter

s/PHP 5/PHP 7/


Revision tags: php-5.4.33, php-5.5.17, php-5.6.1RC1
# 9ab8605f 06-Sep-2014 Nikita Popov

Release memory for PDO Stmt ctor args


Revision tags: php-5.5.17RC1, php-5.4.33RC1
# 32344808 27-Aug-2014 Anatol Belski

first show to make 's' work with size_t


Revision tags: php-5.6.0, POST_AST_MERGE, PRE_AST_MERGE
# af59e92b 25-Aug-2014 Anatol Belski

master renames phase 7


# c3e3c98e 25-Aug-2014 Anatol Belski

master renames phase 1


12345678910>>...12