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
d376c3da
Commit
d376c3da
authored
Oct 05, 2007
by
msvensson@shellback.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
into shellback.(none):/home/msvensson/mysql/mysql-5.1-maint
parents
ed724e15
39a069b2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
4 deletions
+15
-4
client/mysqltest.c
client/mysqltest.c
+15
-4
No files found.
client/mysqltest.c
View file @
d376c3da
...
@@ -1563,10 +1563,21 @@ void check_result(DYNAMIC_STRING* ds)
...
@@ -1563,10 +1563,21 @@ void check_result(DYNAMIC_STRING* ds)
and then show the diff
and then show the diff
*/
*/
char
reject_file
[
FN_REFLEN
];
char
reject_file
[
FN_REFLEN
];
str_to_file
(
fn_format
(
reject_file
,
result_file_name
,
opt_logdir
,
".reject"
,
dirname_part
(
reject_file
,
result_file_name
);
*
opt_logdir
?
MY_REPLACE_DIR
|
MY_REPLACE_EXT
:
MY_REPLACE_EXT
),
if
(
access
(
reject_file
,
W_OK
)
==
0
)
ds
->
str
,
ds
->
length
);
{
/* Result file directory is writable, save reject file there */
fn_format
(
reject_file
,
result_file_name
,
NULL
,
".reject"
,
MY_REPLACE_EXT
);
}
else
{
/* Put reject file in opt_logdir */
fn_format
(
reject_file
,
result_file_name
,
opt_logdir
,
".reject"
,
MY_REPLACE_DIR
|
MY_REPLACE_EXT
);
}
str_to_file
(
reject_file
,
ds
->
str
,
ds
->
length
);
dynstr_set
(
ds
,
NULL
);
/* Don't create a .log file */
dynstr_set
(
ds
,
NULL
);
/* Don't create a .log file */
...
...
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