diff options
author | kent@mysql.com <> | 2005-09-24 02:42:38 +0200 |
---|---|---|
committer | kent@mysql.com <> | 2005-09-24 02:42:38 +0200 |
commit | 0cfed79ea5377460ce6035e0f6efc75e279d7bf0 (patch) | |
tree | a6b733163d2c8ac90360c92efe24f52a33a8ea0d /client | |
parent | d0a97917a2678aebfbda476e430aa6387801947e (diff) | |
download | mariadb-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.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 |