| List: | Commits | « Previous MessageNext Message » | |
| From: | Bjorn Munch | Date: | January 27 2009 2:15pm |
| Subject: | bzr commit into mysql-5.0-bugteam branch (Bjorn.Munch:2732) Bug#42216 | ||
| View as plain text | |||
#At file:///home/bm136801/mysql/5.0-42216/
2732 Bjorn Munch 2009-01-27
Bug #42216 mysqltest: Use of diff belonging to current OS, with wrong option for Solaris
Call the check_diff() only if Windows, also fixed wrong flag if diff failed
modified:
client/mysqltest.c
=== modified file 'client/mysqltest.c'
--- a/client/mysqltest.c 2009-01-09 18:30:55 +0000
+++ b/client/mysqltest.c 2009-01-27 14:13:39 +0000
@@ -1386,7 +1386,11 @@ void show_diff(DYNAMIC_STRING* ds,
needs special processing due to return values
on that OS
*/
+#ifdef __WIN__
have_diff = diff_check();
+#else
+ have_diff = 1;
+#endif
if (have_diff)
{
@@ -1410,7 +1414,7 @@ void show_diff(DYNAMIC_STRING* ds,
"2>&1",
NULL) > 1) /* Most "diff" tools return >1 if error */
{
- have_diff= 1;
+ have_diff= 0;
}
}
}
| Thread | ||
|---|---|---|
| • bzr commit into mysql-5.0-bugteam branch (Bjorn.Munch:2732) Bug#42216 | Bjorn Munch | 27 Jan |
| • Re: bzr commit into mysql-5.0-bugteam branch (Bjorn.Munch:2732)Bug#42216 | Andrei Elkin | 27 Jan |
| • Re: bzr commit into mysql-5.0-bugteam branch (Bjorn.Munch:2732)Bug#42216 | Alfranio Correia | 28 Jan |
| • Re: bzr commit into mysql-5.0-bugteam branch (Bjorn.Munch:2732)Bug#42216 | Bjorn Munch | 28 Jan |
| • Re: bzr commit into mysql-5.0-bugteam branch (Bjorn.Munch:2732)Bug#42216 | Andrei Elkin | 28 Jan |
