Commit a5df5aec authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Fixup "Windows, mysqltest : cleanup, remove dead code USE_CYGWIN"

last commit  8221708e removed too much,
mtr is failing
parent 8221708e
......@@ -614,6 +614,10 @@ void fix_win_paths(char *val, size_t len);
const char *get_errname_from_code (uint error_code);
int multi_reg_replace(struct st_replace_regex* r,char* val);
#ifdef _WIN32
void free_win_path_patterns();
#endif
/* For replace_column */
static char *replace_column[MAX_COLUMNS];
......@@ -1462,6 +1466,9 @@ void free_used_memory()
free_root(&require_file_root, MYF(0));
free_re();
my_free(read_command_buf);
#ifdef _WIN32
free_win_path_patterns();
#endif
DBUG_VOID_RETURN;
}
......@@ -9172,6 +9179,7 @@ int main(int argc, char **argv)
init_builtin_echo();
#ifdef _WIN32
is_windows= 1;
init_win_path_patterns();
#endif
read_command_buf= (char*)my_malloc(read_command_buflen= 65536, MYF(MY_FAE));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment