Skip to content

Commit 9a646c9

Browse files
committed
Mariabackup: Remove the --stats option
The option was basically duplicating InnoDB functionality. Persistent statistics can be accessed via the tables mysql.innodb_table_stats and mysql.innodb_index_stats.
1 parent cede2b6 commit 9a646c9

File tree

6 files changed

+3
-461
lines changed

6 files changed

+3
-461
lines changed

extra/mariabackup/encryption_plugin.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ void encryption_plugin_prepare_init(int argc, char **argv)
126126

127127
if (!xb_plugin_load)
128128
{
129-
/* This prevents crashes e.g in --stats with wrong my.cnf*/
130129
finalize_encryption_plugin(0);
131130
return;
132131
}

extra/mariabackup/xb0xb.h

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,6 @@ dberr_t* err, /*!< out: this is set to DB_ERROR if an error
4444
os_file_dir_t dir, /*!< in: directory stream */
4545
os_file_stat_t* info) /*!< in/out: buffer where the
4646
info is returned */;
47-
buf_block_t* btr_node_ptr_get_child(
48-
const rec_t* node_ptr,/*!< in: node pointer */
49-
dict_index_t* index, /*!< in: index */
50-
const ulint* offsets,/*!< in: array returned by rec_get_offsets() */
51-
mtr_t* mtr) /*!< in: mtr */;
52-
53-
buf_block_t*
54-
btr_root_block_get(
55-
/*===============*/
56-
const dict_index_t* index, /*!< in: index tree */
57-
ulint mode, /*!< in: either RW_S_LATCH
58-
or RW_X_LATCH */
59-
mtr_t* mtr) /*!< in: mtr */;
6047
fil_space_t*
6148
fil_space_get_by_name(const char *);
6249
ibool

0 commit comments

Comments
 (0)