mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
Improved output
client/mysqltest.c: Don't print "At line: 0"
This commit is contained in:
parent
56f457b67f
commit
6bec4bc605
1 changed files with 2 additions and 1 deletions
|
@ -577,7 +577,8 @@ static void die(const char *fmt, ...)
|
|||
if (cur_file && cur_file != file_stack)
|
||||
fprintf(stderr, "In included file \"%s\": ",
|
||||
cur_file->file_name);
|
||||
fprintf(stderr, "At line %u: ", start_lineno);
|
||||
if (start_lineno != 0)
|
||||
fprintf(stderr, "At line %u: ", start_lineno);
|
||||
vfprintf(stderr, fmt, args);
|
||||
fprintf(stderr, "\n");
|
||||
fflush(stderr);
|
||||
|
|
Loading…
Reference in a new issue