summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <wax@kishkin.ru>2004-11-04 21:25:51 +0500
committerunknown <wax@kishkin.ru>2004-11-04 21:25:51 +0500
commit60d8ff97a8784daf443652655c7b1442eae04c17 (patch)
tree851c56c73900a72e7522835e9081f30f25487667 /client
parent1fc515c8cdc570b437a7bf4055511117aa11492a (diff)
downloadmariadb-git-60d8ff97a8784daf443652655c7b1442eae04c17.tar.gz
autocommit and changed name mysql_test_run_new
client/mysqltest.c: autocommit mysql-test/Makefile.am: changed mysql_test_run to mysql_test_run_new
Diffstat (limited to 'client')
-rw-r--r--client/mysqltest.c5
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);