From: <sab...@gm...> - 2006-05-10 02:33:16
|
Hi, there is a small bug in cmd.c which generates a core dump when ct_param is called with a datafmt object in debug mode. Here is a patch to correct this trivial problem: diff -ru original/sybase-0.37/cmd.c sybase-0.37-ssa/cmd.c --- original/sybase-0.37/cmd.c 2005-03-21 06:13:55.000000000 +0100 +++ sybase-0.37-ssa/cmd.c 2006-05-09 11:23:35.000000000 +0200 @@ -788,7 +788,7 @@ SY_CONN_END_THREADS(self->conn); if (self->debug) { - debug_msg("ct_param(cmd%s, &fmt=3D", self->serial); + debug_msg("ct_param(cmd%d, &fmt=3D", self->serial); datafmt_debug(&datafmt->fmt); debug_msg(", NULL, CS_UNUSED, CS_UNUSED) -> %s\n", value_str(VAL_STATUS, status)); regards -- S=E9bastien Sabl=E9 |