Merge lp:~percona-dev/percona-xtrabackup/fix-bug408966 into lp:percona-xtrabackup/2.0

Proposed by Aleksandr Kuzminsky
Status: Merged
Merged at revision: not available
Proposed branch: lp:~percona-dev/percona-xtrabackup/fix-bug408966
Merge into: lp:percona-xtrabackup/2.0
Diff against target: None lines
To merge this branch: bzr merge lp:~percona-dev/percona-xtrabackup/fix-bug408966
To post a comment you must log in.
Revision history for this message
Aleksandr Kuzminsky (akuzminsky) wrote :

Fixed bug408966

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'xtrabackup.c'
2--- xtrabackup.c 2009-08-05 06:58:35 +0000
3+++ xtrabackup.c 2009-08-17 11:32:34 +0000
4@@ -323,7 +323,6 @@
5 my_bool innobase_rollback_on_timeout = FALSE;
6 my_bool innobase_create_status_file = FALSE;
7 my_bool innobase_adaptive_hash_index = TRUE;
8-my_bool innobase_fast_recovery = TRUE;
9
10 static char *internal_innobase_data_file_path = NULL;
11
12@@ -386,8 +385,7 @@
13 OPT_INNODB_OPEN_FILES,
14 OPT_INNODB_SYNC_SPIN_LOOPS,
15 OPT_INNODB_THREAD_CONCURRENCY,
16- OPT_INNODB_THREAD_SLEEP_DELAY,
17- OPT_INNODB_FAST_RECOVERY
18+ OPT_INNODB_THREAD_SLEEP_DELAY
19 };
20
21 static struct my_option my_long_options[] =
22@@ -496,10 +494,6 @@
23 {"innodb_doublewrite", OPT_INNODB_DOUBLEWRITE, "Enable InnoDB doublewrite buffer (enabled by default). \
24 Disable with --skip-innodb-doublewrite.", (GPTR*) &innobase_use_doublewrite,
25 (GPTR*) &innobase_use_doublewrite, 0, GET_BOOL, NO_ARG, 1, 0, 0, 0, 0, 0},
26- {"innodb_fast_recovery", OPT_INNODB_FAST_RECOVERY,
27- "Enable to use speed hack of recovery avoiding flush list sorting.",
28- (gptr*) &innobase_fast_recovery, (gptr*) &innobase_fast_recovery,
29- 0, GET_BOOL, NO_ARG, 1, 0, 0, 0, 0, 0},
30 /*
31 {"innodb_fast_shutdown", OPT_INNODB_FAST_SHUTDOWN,
32 "Speeds up the shutdown process of the InnoDB storage engine. Possible "
33@@ -636,7 +630,21 @@
34
35 static void usage(void)
36 {
37- puts("This software comes with ABSOLUTELY NO WARRANTY. This is free software,\nand you are welcome to modify and redistribute it under the GPL license\n");
38+ puts("Open source backup tool for InnoDB and XtraDB\n\
39+\n\
40+Copyright (C) 2009 Percona Inc.\n\
41+\n\
42+This program is free software; you can redistribute it and/or\n\
43+modify it under the terms of the GNU General Public License\n\
44+as published by the Free Software Foundation version 2\n\
45+of the License.\n\
46+\n\
47+This program is distributed in the hope that it will be useful,\n\
48+but WITHOUT ANY WARRANTY; without even the implied warranty of\n\
49+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n\
50+GNU General Public License for more details.\n\
51+\n\
52+You can download full text of the license on http://www.gnu.org/licenses/gpl-2.0.txt\n");
53
54 printf("Usage: [%s [--defaults-file=#] --backup | %s [--defaults-file=#] --prepare] [OPTIONS]\n",my_progname,my_progname);
55 print_defaults("my",load_default_groups);
56@@ -1209,8 +1217,6 @@
57 srv_lock_wait_timeout = (ulint) innobase_lock_wait_timeout;
58 srv_force_recovery = (ulint) innobase_force_recovery;
59
60- srv_fast_recovery = (ibool) innobase_fast_recovery;
61-
62 srv_use_doublewrite_buf = (ibool) innobase_use_doublewrite;
63 srv_use_checksums = (ibool) innobase_use_checksums;
64
65@@ -3349,11 +3355,6 @@
66 "xtrabackup: Using %lld bytes for buffer pool (set by --use-memory parameter)\n",
67 xtrabackup_use_memory);
68
69- if(srv_fast_recovery) {
70- fprintf(stderr,
71-"xtrabackup: innodb_fast_recovery option is enabled. (default: false)\n");
72- }
73-
74 if(innodb_init())
75 goto error;
76

Subscribers

People subscribed via source and target branches