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:
@ -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));
|
||||
|
Reference in New Issue
Block a user