History log of /PHP-8.2/ext/pdo_mysql/mysql_driver.c (Results 1 – 25 of 258)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 5f716bf2 17-Jul-2023 George Peter Banyard

Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
Fix GH-11587 PDO::ATTR_STRINGIFY_FETCHES should return strings even in if PDO::ATTR_EMULATE_PREPARES is enabled


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

# 3e05059e 25-Mar-2023 David Carlier

Merge branch 'PHP-8.1' into PHP-8.2


# f6989df8 24-Mar-2023 David CARLIER

ext/pdo_mysql: mysql_handle_closer nullify some freed data.

Close GH-10926

# 12a3066b 09-Jun-2022 Christoph M. Becker

Fix debug output

# 15e7e570 03-Dec-2021 David Carlier

Fix #81658: MYSQL_OPT_LOAD_DATA_LOCAL_DIR not available in MariaDB

This also introduces the boolean userland constant `MYSQLI_IS_MARIADB`.

# aff36587 29-Jun-2021 Patrick Allaert

Fixed some spaces used instead of tabs

# 3acdab86 16-Jun-2021 Nikita Popov

Fix printf formats in mysql debug logging

Enable printf format verification and fix the reported errors.

# dbfc9f99 14-May-2021 Kamil Tekiela

Merge branch 'PHP-8.0'

* PHP-8.0:
Fixed bug #81037 PDO discards error message text from prepared statement

Closes GH-6978.


# 574b5515 14-May-2021 Kamil Tekiela

Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
Fixed bug #81037 PDO discards error message text from prepared statement


# 6afbb741 13-May-2021 Kamil Tekiela

Fixed bug #81037 PDO discards error message text from prepared statement

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

# 25dc931d 26-Apr-2021 matt

Fixed bug #80908

The last insert ID should be an unsigned integer.

Closes GH-6810.

# 65a5c184 13-Apr-2021 Nikita Popov

Add functions to convert i64/u64 to string

PDO implement half of this, but this functionality is generally
useful. Provide these as zend_u64_to_str and zend_i64_to_str to
complement

Add functions to convert i64/u64 to string

PDO implement half of this, but this functionality is generally
useful. Provide these as zend_u64_to_str and zend_i64_to_str to
complement zend_long_to_str.

show more ...

# ebaeb93c 15-Mar-2021 George Peter Banyard

Add API to fetch bool value for PDO attribute values

Closes GH-6766

# c465462e 15-Mar-2021 George Peter Banyard

Use standard PDO way for fetching integer attribute values

# da011a31 22-Feb-2021 Darek Slusarczyk

Fix #80329: Add option to specify LOAD DATA LOCAL white list folder

* allow the user to specify a folder where files that can be sent
via LOAD DATA LOCAL can exist
* add mysqli.

Fix #80329: Add option to specify LOAD DATA LOCAL white list folder

* allow the user to specify a folder where files that can be sent
via LOAD DATA LOCAL can exist
* add mysqli.local_infile_directory for mysqli
(ignored if mysqli.allow_local_infile is enabled)
* add PDO::MYSQL_ATTR_LOCAL_INFILE_DIRECTORY for pdo_mysql
(ignored if PDO::MYSQL_ATTR_LOCAL_INFILE is enabled)
* add related tests
* fixes for building with libmysql 8.x
* small improvement in existing tests
* update php.ini-[development|production] files

Closes GH-6448.

Co-authored-by: Nikita Popov <nikic@php.net>

show more ...

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

# 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

# 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

1234567891011