- add util::param_string for input PHP arguments
- remove custom util::string_view class
- add new alias util::string_view equal to std::string_view from C++17
- replace all occurrences of MYSQLND_CSTRING with new util::string_view
- replace all occurrences of MYSQLND_STRING with util::string
- few other fixes and refactorings
- in case of atypical identifier (number, beginning with character other than letter, etc.) there have to be applied backticks '`' for aliasing expressions, e.g.
before:
$.tree."100" AS 100
currently:
$.tree."100" AS `100`
- remove default ciphers, as we work with mysql 8.x or newer we rely only on user explicit setting
- improve error messages - in case user tries to setup secure connection, and it fails, then check whether openssl is available, if not then generate proper message
- new option in uri: 'connect-timeout' to set connection timeout (only connection, not subsequent operations)
- if it is not passed, then assume default timeout (for the moment it is 10sec)
- if it is set to 0, then do not set timeout explicitly (will work under current conditions)
- it has to be integer non-negative number, else warning reported, and connection fails
- new envars supported MYSQLX_TEST_CONNECTION_TIMEOUT, MYSQLX_CONNECTION_TIMEOUT
- TCs added for following timeout connections: default, disabled, elapsed, incorrect timeout, and successful no-timeout
- mysqlnd VIO used to operate on timeouts