1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

InnoDB: send diagnostic output to stderr or files

instead of stdout or fixed-size memory buffers
This commit is contained in:
marko@hundin.mysql.fi
2004-04-06 16:14:43 +03:00
parent 4f9b59f71d
commit 6af38c65be
73 changed files with 2235 additions and 2570 deletions

View File

@ -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));