pgpool2.git / summary / log / commit / refs
commit ac74c28f95d6900ae6d3a933b7571edcda1ae650
Author: Tatsuo Ishii <ishii at sraoss.co.jp>
Date: Wed Sep 23 02:03:53 2009 +0000
Fix pool_read_kind and pool_read_int so that the error message for
kind is shown in hexadecimal. Other part of pgpool-II already does this.
pool_auth.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pool_auth.c b/pool_auth.c
index 08b363de1..c221e950f 100644
--- a/pool_auth.c
+++ b/pool_auth.c
@@ -1082,7 +1082,7 @@ signed char pool_read_kind(POOL_CONNECTION_POOL *cp)
{
if (kind != kind0)
{
- pool_error("pool_read_kind: kind does not match between master(%d) slot[%d] (%d)",
+ pool_error("pool_read_kind: kind does not match between master(%x) slot[%d] (%x)",
kind0, i, kind);
return -1;
}
@@ -1122,7 +1122,7 @@ int pool_read_int(POOL_CONNECTION_POOL *cp)
{
if (data != data0)
{
- pool_error("pool_read_int: data does not match between between master(%d) slot[%d] (%d)",
+ pool_error("pool_read_int: data does not match between between master(%x) slot[%d] (%x)",
data0, i, data);
return -1;
}
[parent: 66a2d54f53a6]