diff options
author | unknown <kent@mysql.com> | 2005-09-24 02:42:38 +0200 |
---|---|---|
committer | unknown <kent@mysql.com> | 2005-09-24 02:42:38 +0200 |
commit | 3614cff71cc79b197863a968d385cb2cce1680fd (patch) | |
tree | a6b733163d2c8ac90360c92efe24f52a33a8ea0d /client | |
parent | 5559c48e182e40cfd052a29e875514761994333d (diff) | |
download | mariadb-git-3614cff71cc79b197863a968d385cb2cce1680fd.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++
scripts/mysql_config.sh:
Remove -Xa -xstrconst from --cflags for Sun C++
client/mysqltest.c:
Windows pclose() returns error code in low byte
Makefile.am:
Revert to shell test script for test targets
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqltest.c | 6 |
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 |