Skip to content

Commit 7bcc7a9

Browse files
committed
change log level from g_message to g_debug due to checking proxy status by MGW periodically
1 parent fa4efba commit 7bcc7a9

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

config.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -248,13 +248,13 @@
248248
#define PACKAGE_NAME "dbproxy"
249249

250250
/* Define to the full name and version of this package. */
251-
#define PACKAGE_STRING "dbproxy 0.2.3"
251+
#define PACKAGE_STRING "dbproxy 0.2.4"
252252

253253
/* Define to the one symbol short name of this package. */
254254
#define PACKAGE_TARNAME "dbproxy"
255255

256256
/* Define to the version of this package. */
257-
#define PACKAGE_VERSION "0.2.3"
257+
#define PACKAGE_VERSION "0.2.4"
258258

259259
/* lpackage-version-id */
260260
#define PACKAGE_VERSION_ID (0 << 16 | 2 << 8 | 0)
@@ -294,7 +294,7 @@
294294

295295

296296
/* Version number of package */
297-
#define VERSION "0.2.3"
297+
#define VERSION "0.2.4"
298298

299299
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
300300
significant byte first (like Motorola and SPARC, unlike Intel). */

configure.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- Autoconf -*-
22
# Process this file with autoconf to produce a configure script.
33
AC_PREREQ(2.57)
4-
AC_INIT(dbproxy, 0.2.3, [email protected])
4+
AC_INIT(dbproxy, 0.2.4, [email protected])
55
AC_CONFIG_SRCDIR([src/mysql-proxy-cli.c])
66

77
AC_CANONICAL_TARGET

src/chassis-frontend.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ int chassis_frontend_write_pidfile(const char *pid_file, GError **gerr) {
553553
int ret = 0;
554554
int my_pid = 0, other_pid = 0;
555555
int len = 0;
556-
gchar buffer[128];
556+
gchar buffer[128] = {0};
557557
gchar *pid_str = NULL;
558558

559559
my_pid = getpid();

src/network-mysqld.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1243,7 +1243,8 @@ void network_mysqld_con_handle(int event_fd, short events, void *user_data) {
12431243
/* the client closed the connection, let's keep the server side open */
12441244
gchar *msg = "close both sides because of client was closed unexpectedly.";
12451245
if (con->state <= CON_STATE_READ_AUTH) {
1246-
CON_MSG_HANDLE(g_message, con, msg);
1246+
//change log level from g_message to g_debug due to checking proxy status by MGW periodically.
1247+
CON_MSG_HANDLE(g_debug, con, msg);
12471248
} else {
12481249
CON_MSG_HANDLE(g_critical, con, msg);
12491250
}

0 commit comments

Comments
 (0)