summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorkent@mysql.com <>2005-09-24 02:42:38 +0200
committerkent@mysql.com <>2005-09-24 02:42:38 +0200
commit0cfed79ea5377460ce6035e0f6efc75e279d7bf0 (patch)
treea6b733163d2c8ac90360c92efe24f52a33a8ea0d /client
parentd0a97917a2678aebfbda476e430aa6387801947e (diff)
downloadmariadb-git-0cfed79ea5377460ce6035e0f6efc75e279d7bf0.tar.gz
Makefile.am:
Revert to shell test script for test targets mysqltest.c: Windows pclose() returns error code in low byte mysql_config.sh: Remove -Xa -xstrconst from --cflags for Sun C++
Diffstat (limited to 'client')
-rw-r--r--client/mysqltest.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c
index 1b8a0658cc7..a4fec7eb28c 100644
--- a/client/mysqltest.c
+++ b/client/mysqltest.c
@@ -64,7 +64,11 @@
#include <sys/wait.h>
#endif
#ifndef WEXITSTATUS
-# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
+# ifdef __WIN__
+# define WEXITSTATUS(stat_val) (stat_val)
+# else
+# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
+# endif
#endif
#define MAX_QUERY 131072
#define MAX_VAR_NAME 256