diff options
author | wax@kishkin.ru <> | 2004-11-04 21:25:51 +0500 |
---|---|---|
committer | wax@kishkin.ru <> | 2004-11-04 21:25:51 +0500 |
commit | ff32313dd5d308f028e5bf0c342cc5d7221be126 (patch) | |
tree | 851c56c73900a72e7522835e9081f30f25487667 /client | |
parent | 26f3926efd94684295933dbc868f91cb0ce77f5e (diff) | |
download | mariadb-git-ff32313dd5d308f028e5bf0c342cc5d7221be126.tar.gz |
autocommit and changed name mysql_test_run_new
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqltest.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c index a635b5bdd11..df80fc7bb66 100644 --- a/client/mysqltest.c +++ b/client/mysqltest.c @@ -949,8 +949,11 @@ static void do_exec(struct st_query* q) while (fgets(buf, sizeof(buf), res_file)) replace_dynstr_append_mem(ds, buf, strlen(buf)); } - +#ifndef __WIN__ error= pclose(res_file); +#else + error= _pclose(res_file); +#endif if (error != 0) die("command \"%s\" failed", cmd); |