diff --git a/CMakeLists.txt b/CMakeLists.txt index 672fa9c..9843767 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 diff --git a/src/plugin-common.h b/src/plugin-common.h index e2524c7..ead7043 100644 --- a/src/plugin-common.h +++ b/src/plugin-common.h @@ -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 *);