summaryrefslogtreecommitdiff
path: root/mysys/stacktrace.c
diff options
context:
space:
mode:
authorDavi Arnaut <davi.arnaut@oracle.com>2011-03-02 20:04:54 -0300
committerDavi Arnaut <davi.arnaut@oracle.com>2011-03-02 20:04:54 -0300
commit234543258fc869e3a8428caa5a952325f991c5cf (patch)
tree72c9f47eab48d552aeefaad418af2f04a5e3dcb1 /mysys/stacktrace.c
parentbe386ebb7e59e339501e14c77b9f886b5ae9ec43 (diff)
downloadmariadb-git-234543258fc869e3a8428caa5a952325f991c5cf.tar.gz
Bug#51817: incorrect assumption: thd->query at 0x2ab2a8360360 is an invalid pointer
Post-merge fix: equal sign is now meaningless, the string being printed was already preceded by a colon.
Diffstat (limited to 'mysys/stacktrace.c')
-rw-r--r--mysys/stacktrace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/stacktrace.c b/mysys/stacktrace.c
index 48cdaaa6c91..e4999dbbe81 100644
--- a/mysys/stacktrace.c
+++ b/mysys/stacktrace.c
@@ -704,11 +704,11 @@ void my_safe_print_str(const char *val, int len)
{
__try
{
- fprintf(stderr,"=%.*s\n", len, val);
+ fprintf(stderr, "%.*s\n", len, val);
}
__except(EXCEPTION_EXECUTE_HANDLER)
{
- fprintf(stderr,"is an invalid string pointer\n");
+ fprintf(stderr, "is an invalid string pointer\n");
}
}
#endif /*__WIN__*/