pgpool2.git / summary / log / commit / refs

commit    ec1677dd41700dddaa76f310c312ac789119b30b
Author:   Toshihiro Kitagawa <kitagawa at sraoss.co.jp>
Date:     Fri Jul 22 08:53:11 2011 +0000

    Fix "Parse: Unable to parse the query:" log message so that it emits
    the query. It has emitted the prepared statement name till now.


pool_proto_modules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pool_proto_modules.c b/pool_proto_modules.c index 72d800b7f..5c3f31b8a 100644 --- a/pool_proto_modules.c +++ b/pool_proto_modules.c @@ -637,7 +637,7 @@ POOL_STATUS Parse(POOL_CONNECTION *frontend, POOL_CONNECTION_POOL *backend, * The command will be sent to all backends in replication mode * or master/primary in master/slave mode. */ - pool_log("Parse: Unable to parse the query: %s", contents); + pool_log("Parse: Unable to parse the query: %s", stmt); parse_tree_list = raw_parser(POOL_DUMMY_QUERY); } [parent: 8adbe5288e48]