Fix compile warnings and CMakefile typo

This commit is contained in:
wangbin579 2020-06-17 10:55:56 +08:00
parent 99d42554b9
commit ca6f4495e6
2 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@ IF(NOT MYSQL_INCLUDE_DIRS)
_MYSQL_CONFIG(MYSQL_LIBRARIES "(^| )-l" "--libs")
_MYSQL_CONFIG(MYSQL_LIBRARY_DIRS "(^| )-L" "--libs")
ELSE(NOT MYSQL_INCLUDE_DIRS)
SET(MYSQL_LIBRARIES libmysql)
SET(MYSQL_LIBRARIES mysql)
ENDIF(NOT MYSQL_INCLUDE_DIRS)
SET(CMAKE_REQUIRED_INCLUDES

View File

@ -42,7 +42,7 @@
#include "network-exports.h"
#define XA_CMD_BUF_LEN 128
#define XA_CMD_BUF_LEN 256
NETWORK_API network_socket_retval_t do_read_auth(network_mysqld_con *);
NETWORK_API network_socket_retval_t do_connect_cetus(network_mysqld_con *, network_backend_t **, int *);