]> granicus.if.org Git - php/commit
mysqli: use native api
authorDaniel Black <daniel@mariadb.org>
Sat, 29 Aug 2020 07:18:57 +0000 (17:18 +1000)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 17 Sep 2020 09:27:31 +0000 (11:27 +0200)
commit202a0697f3f1771f241e7dadbe1ecbb8cb72b6c9
treec472fbea6456b3c70ef05f7ad45a5ce0c0c1bc9f
parentefc52f1754524327facffc9f7eea72560e1c03e9
mysqli: use native api

Tested with:
* mysql-5.6.49-linux-glibc2.12-x86_64
* mysql-5.7.31-linux-glibc2.12-x86_64
* mysql-8.0.21-linux-glibc2.17-x86_64
* mariadb-10.5.6

configure --with-mysqli=/usr/local/$version/bin/mysql_config   --with-pdo-mysql=/usr/local/$version

MySQL-8.0 removed my_bool
Some options where deprecated in mysql-8.0

MY_CHARSET_INFO used with exposed api mysql_get_character_set_info
rather than internal structures.
ext/mysqli/mysqli_api.c
ext/mysqli/mysqli_nonapi.c
ext/mysqli/php_mysqli_structs.h