Removed
Link Here
|
1 |
--- storage/innobase/xtrabackup/src/backup_copy.cc.orig 2018-08-09 14:07:34 UTC |
2 |
+++ storage/innobase/xtrabackup/src/backup_copy.cc |
3 |
@@ -53,7 +53,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA |
4 |
#include <string> |
5 |
#include <mysqld.h> |
6 |
#include <my_default.h> |
7 |
-#include <version_check_pl.h> |
8 |
#include <sstream> |
9 |
#include <algorithm> |
10 |
#include "fil_cur.h" |
11 |
@@ -2296,35 +2295,4 @@ decrypt_decompress() |
12 |
sync_check_close(); |
13 |
|
14 |
return(ret); |
15 |
-} |
16 |
- |
17 |
-void |
18 |
-version_check() |
19 |
-{ |
20 |
- if (opt_password != NULL) { |
21 |
- setenv("option_mysql_password", opt_password, 1); |
22 |
- } |
23 |
- if (opt_user != NULL) { |
24 |
- setenv("option_mysql_user", opt_user, 1); |
25 |
- } |
26 |
- if (opt_host != NULL) { |
27 |
- setenv("option_mysql_host", opt_host, 1); |
28 |
- } |
29 |
- if (opt_socket != NULL) { |
30 |
- setenv("option_mysql_socket", opt_socket, 1); |
31 |
- } |
32 |
- if (opt_port != 0) { |
33 |
- char port[20]; |
34 |
- snprintf(port, sizeof(port), "%u", opt_port); |
35 |
- setenv("option_mysql_port", port, 1); |
36 |
- } |
37 |
- |
38 |
- FILE *pipe = popen("perl", "w"); |
39 |
- if (pipe == NULL) { |
40 |
- return; |
41 |
- } |
42 |
- |
43 |
- fwrite((const char *) version_check_pl, version_check_pl_len, 1, pipe); |
44 |
- |
45 |
- pclose(pipe); |
46 |
} |