mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
autocommit
This commit is contained in:
@ -4516,8 +4516,7 @@ static void get_replace_column(struct st_query *q)
|
||||
my_free(start, MYF(0));
|
||||
}
|
||||
|
||||
#ifdef __NETWARE__
|
||||
|
||||
#if defined(__NETWARE__) || defined(__WIN__)
|
||||
/*
|
||||
Substitute environment variables with text.
|
||||
|
||||
@ -4608,9 +4607,13 @@ 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;
|
||||
}
|
||||
|
||||
#endif /* __NETWARE__ */
|
||||
#endif /* __NETWARE__ or __WIN__*/
|
||||
|
Reference in New Issue
Block a user