]> granicus.if.org Git - php/commit
PDO MySQL: Use mysqlnd column names
authorNikita Popov <nikita.ppv@gmail.com>
Wed, 16 Dec 2020 14:17:13 +0000 (15:17 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Wed, 16 Dec 2020 14:17:13 +0000 (15:17 +0100)
commit205d209de931d5c5e1535277531a7e4dc8a6000a
treec10d6519c5f833ce0d408e52211247484627721c
parent1a66d64717d08e9b7f7c9328be673018cfe28c11
PDO MySQL: Use mysqlnd column names

mysqlnd already creates interned zend_strings for us, so let's
make use of them.

This also required updating the PDO case changing code to work
with potentially shared strings. For the lowercasing, use the
optimized zend_string_tolower() implementation.
Zend/zend_string.h
ext/pdo/pdo_stmt.c
ext/pdo_mysql/mysql_statement.c