History log of /PHP-8.3/ext/odbc/php_odbc.c (Results 26 – 50 of 389)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 69ba81d1 05-Oct-2020 Christoph M. Becker

Fix #46050: odbc_next_result corrupts prepared resource

When resetting the result's values, we also have to reset its numcols.


# 07fa1308 29-Sep-2020 Christoph M. Becker

Revert "Use external iterator instead of via the internal pointer"

This reverts commit a6ecafece90909d74a578e09f626e875d3035eab.

Closes GH-6242.


# a1ee3c74 29-Sep-2020 Christoph M. Becker

Fix recently introduced off-by-one error


# 82f0d3c1 29-Sep-2020 Nikita Popov

Remove unused variable


Revision tags: php-7.4.11
# a6ecafec 29-Sep-2020 Christoph M. Becker

Use external iterator instead of via the internal pointer


Revision tags: php-7.3.23
# bf5f07cc 26-Sep-2020 Christoph M. Becker

Fix #80152: odbc_execute() moves internal pointer of $params

As least intrusive fix, we separate the passed array argument.

Closes GH-6219.


# 9f5a7718 27-Sep-2020 Christoph M. Becker

Fix #22986: odbc_connect() may reuse persistent connection

`odbc_connect()` should not reuse persistent connections, since that
prohibits multiple concurrent connections, which are occas

Fix #22986: odbc_connect() may reuse persistent connection

`odbc_connect()` should not reuse persistent connections, since that
prohibits multiple concurrent connections, which are occasionally
desireable. We fix that by no longer looking for already cached
connections when `odbc_connect()` is called, and instead creating a new
connection instead.

Closes GH-6223.

show more ...


# df5efa2f 25-Sep-2020 Christoph M. Becker

Fix #80150: Failure to fetch error message

In case of statement related errors, we need to pass the respective
statement handle to `SQLError()`.

Closes GH-6217.


# a49555a9 25-Sep-2020 Christoph M. Becker

Fix #80147: BINARY strings may not be properly zero-terminated

We have to manually ensure that all strings fetched from a data source
are zero-terminated.

Closes GH-6213.


# 9b50fd26 17-Sep-2020 Máté Kocsis

Fix UNKNOWN default values in ext/odbc

Closes GH-6154


# 610e7d2c 24-Sep-2020 Christoph M. Becker

Fix #78470: odbc_specialcolumns() no longer accepts $nullable

It is mandatory to pass either `SQL_NO_NULLS` or `SQL_NULLABLE` as
tenth parameter to `SQLSpecialColumns()`; otherwise the f

Fix #78470: odbc_specialcolumns() no longer accepts $nullable

It is mandatory to pass either `SQL_NO_NULLS` or `SQL_NULLABLE` as
tenth parameter to `SQLSpecialColumns()`; otherwise the function call
fails. Therefore the user must be allowed to pass the desired value
as parameter to `odbc_specialcolumns()` again.

Closes GH-6200.

show more ...


# d4e5b5b6 17-Sep-2020 Nikita Popov

Fix compilation warnings in odbc

SQLCHAR* cast all the things.


Revision tags: php-8.0.0beta4, php-7.4.11RC1, php-7.3.23RC1
# c1823c6c 12-Sep-2020 George Peter Banyard

Promote warning to Error in ODBC extension

Closes GH-6123


Revision tags: 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, 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
# 2b5de6f8 01-Jul-2020 Max Semenik

Remove proto comments from C files

Closes GH-5758


Revision tags: php-8.0.0alpha1, php-7.4.8RC1, php-7.3.20RC1, php-7.4.7, php-7.3.19
# 1f521a0b 27-May-2020 Dmitry Stogov

Fixed possible usage of uninitialized value


Revision tags: php-7.4.7RC1, php-7.3.19RC1
# 85104fae 20-May-2020 George Peter Banyard

Fix [-Wundef] warning in ODBC extension


Revision tags: 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


Revision tags: php-7.4.5RC1, php-7.3.17RC1, php-7.3.18, php-7.4.4, php-7.2.29, php-7.3.16, php-7.4.4RC1, php-7.3.16RC1, php-7.4.3, php-7.2.28, php-7.3.15RC1, php-7.4.3RC1, php-7.3.15, php-7.2.27, php-7.4.2, php-7.3.14, php-7.3.14RC1, php-7.4.2RC1
# aadd3aae 03-Jan-2020 Máté Kocsis

Use RETURN_THROWS() in various places


# bbcfa66e 03-Jan-2020 Máté Kocsis

Use RETURN_THROWS() after zend_fetch_resource*()


# 7b4a4d2a 03-Jan-2020 Máté Kocsis

Use RETURN_THROWS() after try_convert_to_string()


# 34570372 31-Dec-2019 Máté Kocsis

Use RETURN_THROWS() during ZPP in most of the extensions

Except for some bigger ones: reflection, sodium, spl


Revision tags: php-7.4.1, php-7.2.26, php-7.3.13, php-7.4.1RC1, php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1, php-7.4.0RC3
# 5d6e923d 24-Sep-2019 Gabriel Caruso

Remove mention of PHP major version in Copyright headers

Closes GH-4732.


Revision tags: php-7.2.23, php-7.3.10, php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1
# 4669c53f 28-Aug-2019 Christoph M. Becker

Don't explicitly set return value on ZFR failure in ext/odbc

Failing `zend_fetch_resource(2)` throws as of PHP 8.0.0, so explicitly
setting a return value is useless, and also slightly c

Don't explicitly set return value on ZFR failure in ext/odbc

Failing `zend_fetch_resource(2)` throws as of PHP 8.0.0, so explicitly
setting a return value is useless, and also slightly confusing.

show more ...


# b5572658 28-Aug-2019 Christoph M. Becker

Fix #78473: odbc_close() closes arbitrary resources

We have to bail out, if an invalid resource is given. For consistency
with the other `zend_fetch_resource(2)` calls, we return `FALSE

Fix #78473: odbc_close() closes arbitrary resources

We have to bail out, if an invalid resource is given. For consistency
with the other `zend_fetch_resource(2)` calls, we return `FALSE`.

show more ...


12345678910>>...16