summaryrefslogtreecommitdiff
path: root/innobase/eval
diff options
context:
space:
mode:
authormarko@hundin.mysql.fi <>2004-04-06 16:14:43 +0300
committermarko@hundin.mysql.fi <>2004-04-06 16:14:43 +0300
commit6af38c65bebe79e36aaa57c0b4f9a78f047bccad (patch)
treef7bc427aa7ce4a54802d6e8931ca1dfe64c7bfa8 /innobase/eval
parent4f9b59f71db750cc2d14b0ed3a910b23996a9032 (diff)
downloadmariadb-git-6af38c65bebe79e36aaa57c0b4f9a78f047bccad.tar.gz
InnoDB: send diagnostic output to stderr or files
instead of stdout or fixed-size memory buffers
Diffstat (limited to 'innobase/eval')
-rw-r--r--innobase/eval/eval0eval.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/innobase/eval/eval0eval.c b/innobase/eval/eval0eval.c
index 4e16c36b056..053a10b3c23 100644
--- a/innobase/eval/eval0eval.c
+++ b/innobase/eval/eval0eval.c
@@ -311,12 +311,13 @@ eval_predefined_2(
arg = que_node_get_next(arg);
}
- printf("\n");
+ putc('\n', stderr);
} else if (func == PARS_ASSERT_TOKEN) {
if (!eval_node_get_ibool_val(arg1)) {
- printf("SQL assertion fails in a stored procedure!\n");
+ fputs("SQL assertion fails in a stored procedure!\n",
+ stderr);
}
ut_a(eval_node_get_ibool_val(arg1));