Merge lp:~akopytov/percona-xtrabackup/bug1265070 into lp:percona-xtrabackup/2.2

Proposed by Alexey Kopytov
Status: Merged
Approved by: Alexey Kopytov
Approved revision: no longer in the source branch.
Merged at revision: 5023
Proposed branch: lp:~akopytov/percona-xtrabackup/bug1265070
Merge into: lp:percona-xtrabackup/2.2
Diff against target: 39 lines (+5/-3)
1 file modified
storage/innobase/xtrabackup/src/compact.cc (+5/-3)
To merge this branch: bzr merge lp:~akopytov/percona-xtrabackup/bug1265070
Reviewer Review Type Date Requested Status
Alexey Kopytov (community) Approve
Review via email: mp+235414@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Alexey Kopytov (akopytov) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'storage/innobase/xtrabackup/src/compact.cc'
2--- storage/innobase/xtrabackup/src/compact.cc 2014-01-12 12:50:44 +0000
3+++ storage/innobase/xtrabackup/src/compact.cc 2014-09-21 19:20:47 +0000
4@@ -1,6 +1,6 @@
5 /******************************************************
6 XtraBackup: hot backup tool for InnoDB
7-(c) 2009-2013 Percona LLC and/or its affiliates.
8+(c) 2009-2014 Percona LLC and/or its affiliates.
9 Originally Created 3/3/2009 Yasufumi Kinoshita
10 Written by Alexey Kopytov, Aleksandr Kuzminsky, Stewart Smith, Vadim Tkachenko,
11 Yasufumi Kinoshita, Ignacio Nin and Baron Schwartz.
12@@ -795,9 +795,7 @@
13
14 ut_ad(i == n_indexes);
15
16- ut_d(table->n_ref_count++);
17 row_merge_drop_indexes(trx, table, TRUE);
18- ut_d(table->n_ref_count--);
19
20 index = dict_table_get_first_index(table);
21 ut_a(dict_index_is_clust(index));
22@@ -898,6 +896,8 @@
23
24 table = dict_table_get_low(rebuild_table->name);
25
26+ ut_d(table->n_ref_count++);
27+
28 row_mysql_unlock_data_dictionary(trx);
29
30 ut_a(table != NULL);
31@@ -913,6 +913,8 @@
32
33 xb_rebuild_indexes_for_table(table, trx, thread->num);
34
35+ ut_d(table->n_ref_count--);
36+
37 mem_free(rebuild_table->name);
38 mem_free(rebuild_table);
39 }

Subscribers

People subscribed via source and target branches

to all changes: