Branch: Tag:

2017-11-22

2017-11-22 14:13:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Mysql: Support MariaDB 10.2 headerfiles.

The <mysql/mysql.h> from MariaDB Connector-C no longer includes
<mysql/mysql_version.h>, and in addition doesn't define
MYSQL_SERVER_VERSION anymore.

170:    AC_CHECK_MYSQL_OPTIONS(MYSQL_OPT_LOCAL_INFILE)    AC_CHECK_MYSQL_OPTIONS(SHUTDOWN_DEFAULT)    +  AC_CHECK_MYSQL_OPTIONS(MARIADB_CLIENT_VERSION) +     # Mysql libs      dnl if test x"$pike_cv_sys_os" = xWindows_NT ; then
401:    PIKE_CHECK_MYSQL_FUNC(mysql_port)    PIKE_CHECK_MYSQL_FUNC(mysql_unix_port)    +  # MariaDB API functions: +  PIKE_CHECK_MYSQL_FUNC(mariadb_get_info) +     if test "$pike_cv_mysql_mysql_fetch_lengths" = "yes"; then    #    # In 3.20.6b mysql_fetch_lengths() returns an uint *.