Merge lp:~akopytov/percona-xtrabackup/bug1192454-2.1 into lp:percona-xtrabackup/2.1

Proposed by Alexey Kopytov
Status: Merged
Approved by: Alexey Kopytov
Approved revision: no longer in the source branch.
Merge reported by: Alexey Kopytov
Merged at revision: not available
Proposed branch: lp:~akopytov/percona-xtrabackup/bug1192454-2.1
Merge into: lp:percona-xtrabackup/2.1
Prerequisite: lp:~akopytov/percona-xtrabackup/test-suite-cleanups-2.1
Diff against target: 147 lines (+132/-0)
2 files modified
patches/innodb51.patch (+66/-0)
patches/innodb55.patch (+66/-0)
To merge this branch: bzr merge lp:~akopytov/percona-xtrabackup/bug1192454-2.1
Reviewer Review Type Date Requested Status
George Ormond Lorch III (community) g2 Approve
Review via email: mp+173132@code.launchpad.net

Description of the change

    Bug #1192454: Debug builds fail on Ubuntu Quantal/Raring

    Fixed compiler warnings by backporting the corresponding changes from
    upstream. Ideally this should be fixed by rebasing on newer upstream
    versions, but that is better implemented as a separate task and only
    for 2.1, whereas we need to fix builds on Quantal/Raring for both 2.0
    and 2.1.

http://jenkins.percona.com/view/XtraBackup/job/percona-xtrabackup-2.1-param/366/

To post a comment you must log in.
Revision history for this message
George Ormond Lorch III (gl-az) :
review: Approve (g2)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'patches/innodb51.patch'
2--- patches/innodb51.patch 2013-05-07 13:32:47 +0000
3+++ patches/innodb51.patch 2013-07-05 05:40:43 +0000
4@@ -1504,3 +1504,69 @@
5
6 # Request support for automake silent-rules if available.
7 # Default to verbose output. One can use the configure-time
8+--- a/sql/log.h
9++++ b/sql/log.h
10+@@ -289,8 +289,8 @@
11+ int new_file_impl(bool need_lock);
12+
13+ public:
14+- MYSQL_LOG::generate_name;
15+- MYSQL_LOG::is_open;
16++ using MYSQL_LOG::generate_name;
17++ using MYSQL_LOG::is_open;
18+
19+ /* This is relay log */
20+ bool is_relay_log;
21+--- a/storage/innodb_plugin/handler/ha_innodb.cc
22++++ b/storage/innodb_plugin/handler/ha_innodb.cc
23+@@ -10756,7 +10756,7 @@
24+ static MYSQL_SYSVAR_ULONG(io_capacity, srv_io_capacity,
25+ PLUGIN_VAR_RQCMDARG,
26+ "Number of IOPs the server can do. Tunes the background IO rate",
27+- NULL, NULL, 200, 100, ~0L, 0);
28++ NULL, NULL, 200, 100, ~0UL, 0);
29+
30+ static MYSQL_SYSVAR_ULONG(fast_shutdown, innobase_fast_shutdown,
31+ PLUGIN_VAR_OPCMDARG,
32+@@ -10834,7 +10834,7 @@
33+ static MYSQL_SYSVAR_ULONG(max_purge_lag, srv_max_purge_lag,
34+ PLUGIN_VAR_RQCMDARG,
35+ "Desired maximum length of the purge queue (0 = no limit)",
36+- NULL, NULL, 0, 0, ~0L, 0);
37++ NULL, NULL, 0, 0, ~0UL, 0);
38+
39+ static MYSQL_SYSVAR_BOOL(rollback_on_timeout, innobase_rollback_on_timeout,
40+ PLUGIN_VAR_OPCMDARG | PLUGIN_VAR_READONLY,
41+@@ -10891,7 +10891,7 @@
42+ static MYSQL_SYSVAR_ULONG(concurrency_tickets, srv_n_free_tickets_to_enter,
43+ PLUGIN_VAR_RQCMDARG,
44+ "Number of times a thread is allowed to enter InnoDB within the same SQL query after it has once got the ticket",
45+- NULL, NULL, 500L, 1L, ~0L, 0);
46++ NULL, NULL, 500L, 1L, ~0UL, 0);
47+
48+ static MYSQL_SYSVAR_LONG(file_io_threads, innobase_file_io_threads,
49+ PLUGIN_VAR_RQCMDARG | PLUGIN_VAR_READONLY | PLUGIN_VAR_NOSYSVAR,
50+@@ -10953,12 +10953,12 @@
51+ static MYSQL_SYSVAR_ULONG(sync_spin_loops, srv_n_spin_wait_rounds,
52+ PLUGIN_VAR_RQCMDARG,
53+ "Count of spin-loop rounds in InnoDB mutexes (30 by default)",
54+- NULL, NULL, 30L, 0L, ~0L, 0);
55++ NULL, NULL, 30L, 0L, ~0UL, 0);
56+
57+ static MYSQL_SYSVAR_ULONG(spin_wait_delay, srv_spin_wait_delay,
58+ PLUGIN_VAR_OPCMDARG,
59+ "Maximum delay between polling for a spin lock (6 by default)",
60+- NULL, NULL, 6L, 0L, ~0L, 0);
61++ NULL, NULL, 6L, 0L, ~0UL, 0);
62+
63+ static MYSQL_SYSVAR_ULONG(thread_concurrency, srv_thread_concurrency,
64+ PLUGIN_VAR_RQCMDARG,
65+@@ -10968,7 +10968,7 @@
66+ static MYSQL_SYSVAR_ULONG(thread_sleep_delay, srv_thread_sleep_delay,
67+ PLUGIN_VAR_RQCMDARG,
68+ "Time of innodb thread sleeping before joining InnoDB queue (usec). Value 0 disable a sleep",
69+- NULL, NULL, 10000L, 0L, ~0L, 0);
70++ NULL, NULL, 10000L, 0L, ~0UL, 0);
71+
72+ static MYSQL_SYSVAR_STR(data_file_path, innobase_data_file_path,
73+ PLUGIN_VAR_RQCMDARG | PLUGIN_VAR_READONLY,
74
75=== modified file 'patches/innodb55.patch'
76--- patches/innodb55.patch 2013-05-07 13:32:47 +0000
77+++ patches/innodb55.patch 2013-07-05 05:40:43 +0000
78@@ -1426,3 +1426,69 @@
79
80 UNIV_MEM_FREE(buf, n);
81 }
82+--- a/sql/log.h
83++++ b/sql/log.h
84+@@ -348,8 +348,8 @@
85+ int new_file_impl(bool need_lock);
86+
87+ public:
88+- MYSQL_LOG::generate_name;
89+- MYSQL_LOG::is_open;
90++ using MYSQL_LOG::generate_name;
91++ using MYSQL_LOG::is_open;
92+
93+ /* This is relay log */
94+ bool is_relay_log;
95+--- a/storage/innobase/handler/ha_innodb.cc
96++++ b/storage/innobase/handler/ha_innodb.cc
97+@@ -11109,7 +11109,7 @@
98+ static MYSQL_SYSVAR_ULONG(io_capacity, srv_io_capacity,
99+ PLUGIN_VAR_RQCMDARG,
100+ "Number of IOPs the server can do. Tunes the background IO rate",
101+- NULL, NULL, 200, 100, ~0L, 0);
102++ NULL, NULL, 200, 100, ~0UL, 0);
103+
104+ static MYSQL_SYSVAR_ULONG(purge_batch_size, srv_purge_batch_size,
105+ PLUGIN_VAR_OPCMDARG,
106+@@ -11226,7 +11226,7 @@
107+ static MYSQL_SYSVAR_ULONG(max_purge_lag, srv_max_purge_lag,
108+ PLUGIN_VAR_RQCMDARG,
109+ "Desired maximum length of the purge queue (0 = no limit)",
110+- NULL, NULL, 0, 0, ~0L, 0);
111++ NULL, NULL, 0, 0, ~0UL, 0);
112+
113+ static MYSQL_SYSVAR_BOOL(rollback_on_timeout, innobase_rollback_on_timeout,
114+ PLUGIN_VAR_OPCMDARG | PLUGIN_VAR_READONLY,
115+@@ -11288,7 +11288,7 @@
116+ static MYSQL_SYSVAR_ULONG(concurrency_tickets, srv_n_free_tickets_to_enter,
117+ PLUGIN_VAR_RQCMDARG,
118+ "Number of times a thread is allowed to enter InnoDB within the same SQL query after it has once got the ticket",
119+- NULL, NULL, 500L, 1L, ~0L, 0);
120++ NULL, NULL, 500L, 1L, ~0UL, 0);
121+
122+ static MYSQL_SYSVAR_LONG(file_io_threads, innobase_file_io_threads,
123+ PLUGIN_VAR_RQCMDARG | PLUGIN_VAR_READONLY | PLUGIN_VAR_NOSYSVAR,
124+@@ -11350,12 +11350,12 @@
125+ static MYSQL_SYSVAR_ULONG(sync_spin_loops, srv_n_spin_wait_rounds,
126+ PLUGIN_VAR_RQCMDARG,
127+ "Count of spin-loop rounds in InnoDB mutexes (30 by default)",
128+- NULL, NULL, 30L, 0L, ~0L, 0);
129++ NULL, NULL, 30L, 0L, ~0UL, 0);
130+
131+ static MYSQL_SYSVAR_ULONG(spin_wait_delay, srv_spin_wait_delay,
132+ PLUGIN_VAR_OPCMDARG,
133+ "Maximum delay between polling for a spin lock (6 by default)",
134+- NULL, NULL, 6L, 0L, ~0L, 0);
135++ NULL, NULL, 6L, 0L, ~0UL, 0);
136+
137+ static MYSQL_SYSVAR_ULONG(thread_concurrency, srv_thread_concurrency,
138+ PLUGIN_VAR_RQCMDARG,
139+@@ -11365,7 +11365,7 @@
140+ static MYSQL_SYSVAR_ULONG(thread_sleep_delay, srv_thread_sleep_delay,
141+ PLUGIN_VAR_RQCMDARG,
142+ "Time of innodb thread sleeping before joining InnoDB queue (usec). Value 0 disable a sleep",
143+- NULL, NULL, 10000L, 0L, ~0L, 0);
144++ NULL, NULL, 10000L, 0L, ~0UL, 0);
145+
146+ static MYSQL_SYSVAR_STR(data_file_path, innobase_data_file_path,
147+ PLUGIN_VAR_RQCMDARG | PLUGIN_VAR_READONLY,

Subscribers

People subscribed via source and target branches

to all changes: