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
=== modified file 'storage/innobase/xtrabackup/src/compact.cc'
--- storage/innobase/xtrabackup/src/compact.cc 2014-01-12 12:50:44 +0000
+++ storage/innobase/xtrabackup/src/compact.cc 2014-09-21 19:20:47 +0000
@@ -1,6 +1,6 @@
1/******************************************************1/******************************************************
2XtraBackup: hot backup tool for InnoDB2XtraBackup: hot backup tool for InnoDB
3(c) 2009-2013 Percona LLC and/or its affiliates.3(c) 2009-2014 Percona LLC and/or its affiliates.
4Originally Created 3/3/2009 Yasufumi Kinoshita4Originally Created 3/3/2009 Yasufumi Kinoshita
5Written by Alexey Kopytov, Aleksandr Kuzminsky, Stewart Smith, Vadim Tkachenko,5Written by Alexey Kopytov, Aleksandr Kuzminsky, Stewart Smith, Vadim Tkachenko,
6Yasufumi Kinoshita, Ignacio Nin and Baron Schwartz.6Yasufumi Kinoshita, Ignacio Nin and Baron Schwartz.
@@ -795,9 +795,7 @@
795795
796 ut_ad(i == n_indexes);796 ut_ad(i == n_indexes);
797797
798 ut_d(table->n_ref_count++);
799 row_merge_drop_indexes(trx, table, TRUE);798 row_merge_drop_indexes(trx, table, TRUE);
800 ut_d(table->n_ref_count--);
801799
802 index = dict_table_get_first_index(table);800 index = dict_table_get_first_index(table);
803 ut_a(dict_index_is_clust(index));801 ut_a(dict_index_is_clust(index));
@@ -898,6 +896,8 @@
898896
899 table = dict_table_get_low(rebuild_table->name);897 table = dict_table_get_low(rebuild_table->name);
900898
899 ut_d(table->n_ref_count++);
900
901 row_mysql_unlock_data_dictionary(trx);901 row_mysql_unlock_data_dictionary(trx);
902902
903 ut_a(table != NULL);903 ut_a(table != NULL);
@@ -913,6 +913,8 @@
913913
914 xb_rebuild_indexes_for_table(table, trx, thread->num);914 xb_rebuild_indexes_for_table(table, trx, thread->num);
915915
916 ut_d(table->n_ref_count--);
917
916 mem_free(rebuild_table->name);918 mem_free(rebuild_table->name);
917 mem_free(rebuild_table);919 mem_free(rebuild_table);
918 }920 }

Subscribers

People subscribed via source and target branches

to all changes: