summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <lars@mysql.com>2004-11-09 09:36:34 +0100
committerunknown <lars@mysql.com>2004-11-09 09:36:34 +0100
commite741023fd2fc8be6e9eda74258c99814b453f38d (patch)
tree2849a510fc60901ff223533c2ec1ba56ee64b89a /client
parent24b0fab9770c39ae0e8e270b7e3ed2f0e85c9853 (diff)
parent8e8c1a4756f04b582893965af0b780c2d32536f9 (diff)
downloadmariadb-git-e741023fd2fc8be6e9eda74258c99814b453f38d.tar.gz
Merge lthalmann@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/bkroot/mysql-4.1
Diffstat (limited to 'client')
-rw-r--r--client/mysqltest.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c
index df80fc7bb66..a207da21af5 100644
--- a/client/mysqltest.c
+++ b/client/mysqltest.c
@@ -949,11 +949,7 @@ 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);
@@ -4610,11 +4606,7 @@ FILE *my_popen(const char *cmd, const char *mode __attribute__((unused)))
FILE *res_file;
subst_cmd= subst_env_var(cmd);
-#ifndef __WIN__
res_file= popen(subst_cmd, "r0");
-#else
- res_file= _popen(subst_cmd, "r0");
-#endif
my_free(subst_cmd, MYF(0));
return res_file;
}