Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
5ec7aa3a
Commit
5ec7aa3a
authored
Mar 23, 2006
by
msvensson@shellback.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dump reject file before mysqltest in 'die'
Makes it easier to see what happened before the failure
parent
d75abf87
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
client/mysqltest.c
client/mysqltest.c
+11
-0
No files found.
client/mysqltest.c
View file @
5ec7aa3a
...
@@ -573,6 +573,8 @@ static void die(const char *fmt, ...)
...
@@ -573,6 +573,8 @@ static void die(const char *fmt, ...)
{
{
va_list
args
;
va_list
args
;
DBUG_ENTER
(
"die"
);
DBUG_ENTER
(
"die"
);
/* Print the error message */
va_start
(
args
,
fmt
);
va_start
(
args
,
fmt
);
if
(
fmt
)
if
(
fmt
)
{
{
...
@@ -587,6 +589,15 @@ static void die(const char *fmt, ...)
...
@@ -587,6 +589,15 @@ static void die(const char *fmt, ...)
fflush
(
stderr
);
fflush
(
stderr
);
}
}
va_end
(
args
);
va_end
(
args
);
/* Dump the result that has been accumulated so far to reject file */
if
(
result_file
&&
ds_res
.
length
)
{
reject_dump
(
result_file
,
ds_res
.
str
,
ds_res
.
length
);
}
/* Clean up and exit */
free_used_memory
();
free_used_memory
();
my_end
(
MY_CHECK_ERROR
);
my_end
(
MY_CHECK_ERROR
);
exit
(
1
);
exit
(
1
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment