History log of /PHP-8.3/ext/pdo_mysql/mysql_driver.c (Results 26 – 50 of 262)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 1a58611a 24-Dec-2020 George Peter Banyard

Voidify PDO's fetch_error handler

# 60a61afd 24-Dec-2020 George Peter Banyard

Boolify PDO's preparer handler

# 53ba72ec 24-Dec-2020 George Peter Banyard

Voidify PDO's closer handler

# 954d3743 23-Dec-2020 George Peter Banyard

Boolify PDO's quoter handler

# 43f69160 23-Dec-2020 George Peter Banyard

Boolify PDO's set_attribute driver function

# d04adf60 23-Dec-2020 George Peter Banyard

Boolify PDO's transaction handlers

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

# 6728c1bd 23-Dec-2020 George Peter Banyard

Formalize pdo_dbh_check_liveness_func() return type to zend_result

# 73533c7d 17-Dec-2020 Nikita Popov

PDO MySQL: Use correct type when setting INT_AND_FLOAT_NATIVE

mysqlnd expects this to be an unsigned int, not a bool.

# c18b1aea 15-Dec-2020 Nikita Popov

PDO MySQL: Use native types for results

Previously, PDO MySQL only fetched data as native int/float if
native prepared statements were used. This patch updates PDO to
have the same b

PDO MySQL: Use native types for results

Previously, PDO MySQL only fetched data as native int/float if
native prepared statements were used. This patch updates PDO to
have the same behavior for emulated prepared statements, and thus
removes the largest remaining discrepancy between these two modes.

Note that PDO already has a ATTR_STRINGIFY_FETCHES option to control
whether native types are desired or not. The previous output can
be restored by enabling this option.

Most of the tests make use of that option, because this allows the
tests to work under libmysqlclient as well, which currently always
returns string results (independently of whether native or emulated
PS are used).

show more ...

Revision tags: php-7.4.14RC1, php-8.0.1RC1, php-7.3.26RC1
# 2d51c203 11-Dec-2020 Nikita Popov

PDO: Store/pass query_string as zend_string

Rather than storing char* + size_t, use a zend_string*. Also
avoid various copies of the query string.

# 154f27a9 11-Dec-2020 Nikita Popov

Merge branch 'PHP-8.0'

* PHP-8.0:
Fixed bug #79132


# ccb7f1c7 11-Dec-2020 Nikita Popov

Fixed bug #79132

Following cmb's suggestion and replacing the counter with a check
against the bound_params HT, which ensures that both cannot go
out of sync.

# 09cc0963 11-Dec-2020 Nikita Popov

Merge branch 'PHP-8.0'

* PHP-8.0:
Fixed bug #62889


# 43741a3f 11-Dec-2020 Nikita Popov

Fixed bug #62889

Our minimum libmysqlclient version requirement is high enough
that we don't need to check for MYSQL_OPT_LOCAL_INFILE support.

However, the mysql_get_option() fu

Fixed bug #62889

Our minimum libmysqlclient version requirement is high enough
that we don't need to check for MYSQL_OPT_LOCAL_INFILE support.

However, the mysql_get_option() function seems to only be available
since 5.7 (though it's really hard to find any definitie information
on when MySQL introduced certain functions or changes...) so we
need to store the value of the flag locally to make it available
through getAttribute().

show more ...

# 16e8c1af 10-Dec-2020 Nikita Popov

Merge branch 'PHP-8.0'

* PHP-8.0:
Fixed bug #79872 by improving error message


# 288581fa 10-Dec-2020 Nikita Popov

Fixed bug #79872 by improving error message

The actual behavior here is correct, but the previous error
message was misleading, as neither fetchAll() nor buffered queries
would help

Fixed bug #79872 by improving error message

The actual behavior here is correct, but the previous error
message was misleading, as neither fetchAll() nor buffered queries
would help in this situation. Instead it is necessary to consume
all rowsets, which can be done by either unsetting the statement
or calling closeCursor().

show more ...

# f3d58778 09-Dec-2020 Nikita Popov

Backport fix for bug #70066

Given the number of duplicates this bug report had, it seems
worthwhile to fix this on PHP-7.4 as well.

Cherry-pick of 106e7e4bca7c0fd975eb219b18e3c3

Backport fix for bug #70066

Given the number of duplicates this bug report had, it seems
worthwhile to fix this on PHP-7.4 as well.

Cherry-pick of 106e7e4bca7c0fd975eb219b18e3c34957ba8657.

show more ...

# e2687094 09-Dec-2020 Nikita Popov

Merge branch 'PHP-8.0'

* PHP-8.0:
Fixed bug #70066


# 106e7e4b 09-Dec-2020 Nikita Popov

Fixed bug #70066

If we fall back to emulated prepared statements, destroy S->stmt,
so the code doesn't get confused about which mode we're in.

# 7eae1469 09-Dec-2020 Nikita Popov

Merge branch 'PHP-8.0'

* PHP-8.0:
Fixed bug #78154


# 71b5f144 09-Dec-2020 Nikita Popov

Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
Fixed bug #78154


# 44b234a9 09-Dec-2020 Nikita Popov

Fixed bug #78154

Handle errors during next_result in exec.

Revision tags: php-8.0.0, php-7.3.25, php-7.4.13, php-8.0.0RC5, php-7.4.13RC1, php-8.0.0RC4, php-7.3.25RC1
# bd555b6c 28-Oct-2020 Nikita Popov

Merge branch 'PHP-8.0'

* PHP-8.0:
Fixed bug #66528


# 39be0df2 28-Oct-2020 Nikita Popov

Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
Fixed bug #66528


# 68dcaa29 28-Oct-2020 Nikita Popov

Fixed bug #66528

Report errors in commit, rollback and autocommit handlers.

1234567891011