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
64049128
Commit
64049128
authored
Jan 28, 2009
by
Bjorn Munch
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
63c4888c
e08d21b7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
client/mysqltest.c
client/mysqltest.c
+8
-1
No files found.
client/mysqltest.c
View file @
64049128
...
@@ -1385,8 +1385,15 @@ void show_diff(DYNAMIC_STRING* ds,
...
@@ -1385,8 +1385,15 @@ void show_diff(DYNAMIC_STRING* ds,
/* determine if we have diff on Windows
/* determine if we have diff on Windows
needs special processing due to return values
needs special processing due to return values
on that OS
on that OS
This test is only done on Windows since it's only needed there
in order to correctly detect non-availibility of 'diff', and
the way it's implemented does not work with default 'diff' on Solaris.
*/
*/
#ifdef __WIN__
have_diff
=
diff_check
();
have_diff
=
diff_check
();
#else
have_diff
=
1
;
#endif
if
(
have_diff
)
if
(
have_diff
)
{
{
...
@@ -1410,7 +1417,7 @@ void show_diff(DYNAMIC_STRING* ds,
...
@@ -1410,7 +1417,7 @@ void show_diff(DYNAMIC_STRING* ds,
"2>&1"
,
"2>&1"
,
NULL
)
>
1
)
/* Most "diff" tools return >1 if error */
NULL
)
>
1
)
/* Most "diff" tools return >1 if error */
{
{
have_diff
=
1
;
have_diff
=
0
;
}
}
}
}
}
}
...
...
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