Skip to content

Commit 3165f6b

Browse files
authored
Merge pull request #128 from tsthght/master
修复异常重启
2 parents 3e17994 + 4338ac3 commit 3165f6b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

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.4, [email protected])
4+
AC_INIT(dbproxy, 0.2.5, [email protected])
55
AC_CONFIG_SRCDIR([src/mysql-proxy-cli.c])
66

77
AC_CANONICAL_TARGET

plugins/proxy/proxy-plugin.c

-1
Original file line numberDiff line numberDiff line change
@@ -2090,7 +2090,6 @@ NETWORK_MYSQLD_PLUGIN_PROTO(proxy_read_query) {
20902090

20912091
if (type == COM_QUERY && tokens->len <= 1) {
20922092
gchar *errmsg = g_strdup_printf("%s was empty", GET_COM_NAME(type));
2093-
g_string_free(packets, TRUE);
20942093
network_mysqld_con_send_error_full_nolog(con->client, C_S(errmsg),
20952094
ER_EMPTY_QUERY, "42000");
20962095
SEND_ERR_MSG_HANDLE(g_critical, errmsg, con->client);

0 commit comments

Comments
 (0)