Add compatibility for MySQL 8.0
commita278b4f915f3f1c7383e5e5c1b4888c365bae627
authorManuel Ung <mung@fb.com>
Wed, 18 Apr 2018 07:47:54 +0000 (18 00:47 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 18 Apr 2018 07:49:03 +0000 (18 00:49 -0700)
tree99b447e92214f268584b486fad3d6d2a6e082c4a
parentbbf9e6ce628c5a3e42484c9a711303e1dc9dab90
Add compatibility for MySQL 8.0

Summary:
Main changes in 8.0:
- Some mysql_options removed
- bool instead of my_bool
- Different argument order for cli_safe_read_nonblocking

Differential Revision: D7639813

fbshipit-source-id: 47f95d9d157941875e434cfce5913f686910107b
hphp/runtime/ext/mysql/ext_mysqli.cpp
hphp/runtime/ext/mysql/mysql_common.h
hphp/runtime/ext/pdo_mysql/pdo_mysql.cpp