diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-04-04 08:57:53 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-04-04 08:57:53 +0300 |
commit | f6023857765701da780969b2628963738599865c (patch) | |
tree | 8e23380d2d86b8c590695d61fb4dac8794cab3cb | |
parent | b718ec055d41e45cbbca0bb0c9fdf86310ce9e02 (diff) | |
download | mariadb-git-f6023857765701da780969b2628963738599865c.tar.gz |
Do not pass table_name_t to printf-like functions
-rw-r--r-- | storage/innobase/btr/btr0btr.cc | 2 | ||||
-rw-r--r-- | storage/innobase/btr/btr0cur.cc | 12 | ||||
-rw-r--r-- | storage/innobase/handler/ha_innodb.cc | 2 | ||||
-rw-r--r-- | storage/innobase/row/row0ins.cc | 2 | ||||
-rw-r--r-- | storage/innobase/row/row0mysql.cc | 4 | ||||
-rw-r--r-- | storage/innobase/row/row0sel.cc | 2 |
6 files changed, 12 insertions, 12 deletions
diff --git a/storage/innobase/btr/btr0btr.cc b/storage/innobase/btr/btr0btr.cc index d143f98dda1..afd8f678235 100644 --- a/storage/innobase/btr/btr0btr.cc +++ b/storage/innobase/btr/btr0btr.cc @@ -236,7 +236,7 @@ btr_root_block_get( "Table %s in tablespace %lu is encrypted but encryption service or" " used key_id is not available. " " Can't continue reading table.", - index->table->name, space); + index->table->name.m_name, space); } return NULL; diff --git a/storage/innobase/btr/btr0cur.cc b/storage/innobase/btr/btr0cur.cc index f849ebb0546..36165a5b247 100644 --- a/storage/innobase/btr/btr0cur.cc +++ b/storage/innobase/btr/btr0cur.cc @@ -1254,7 +1254,7 @@ retry_page_get: "Table %s is encrypted but encryption service or" " used key_id is not available. " " Can't continue reading table.", - index->table->name); + index->table->name.m_name); index->table->file_unreadable = true; } @@ -1367,7 +1367,7 @@ retry_page_get: "Table %s is encrypted but encryption service or" " used key_id is not available. " " Can't continue reading table.", - index->table->name); + index->table->name.m_name); index->table->file_unreadable = true; } @@ -1396,7 +1396,7 @@ retry_page_get: "Table %s is encrypted but encryption service or" " used key_id is not available. " " Can't continue reading table.", - index->table->name); + index->table->name.m_name); index->table->file_unreadable = true; } @@ -2294,7 +2294,7 @@ btr_cur_open_at_index_side_func( "Table %s is encrypted but encryption service or" " used key_id is not available. " " Can't continue reading table.", - index->table->name); + index->table->name.m_name); index->table->file_unreadable = true; } @@ -2654,7 +2654,7 @@ btr_cur_open_at_rnd_pos_func( "Table %s is encrypted but encryption service or" " used key_id is not available. " " Can't continue reading table.", - index->table->name); + index->table->name.m_name); index->table->file_unreadable = true; } @@ -5585,7 +5585,7 @@ btr_estimate_n_rows_in_range_on_level( "Table %s is encrypted but encryption service or" " used key_id is not available. " " Can't continue reading table.", - index->table->name); + index->table->name.m_name); index->table->file_unreadable = true; } diff --git a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc index f7de3e39259..adcb845c031 100644 --- a/storage/innobase/handler/ha_innodb.cc +++ b/storage/innobase/handler/ha_innodb.cc @@ -14701,7 +14701,7 @@ ha_innobase::optimize( push_warning_printf(thd, Sql_condition::WARN_LEVEL_WARN, err, "InnoDB: Cannot defragment table %s: returned error code %d\n", - m_prebuilt->table->name, err); + m_prebuilt->table->name.m_name, err); if(err == ER_SP_ALREADY_EXISTS) { try_alter = false; diff --git a/storage/innobase/row/row0ins.cc b/storage/innobase/row/row0ins.cc index 2ecc464d414..03665ccdc3c 100644 --- a/storage/innobase/row/row0ins.cc +++ b/storage/innobase/row/row0ins.cc @@ -2932,7 +2932,7 @@ row_ins_sec_index_entry_low( "Table %s is encrypted but encryption service or" " used key_id is not available. " " Can't continue reading table.", - index->table->name); + index->table->name.m_name); index->table->file_unreadable = true; } goto func_exit; diff --git a/storage/innobase/row/row0mysql.cc b/storage/innobase/row/row0mysql.cc index 6c3049d0cf3..29fc79a7d3e 100644 --- a/storage/innobase/row/row0mysql.cc +++ b/storage/innobase/row/row0mysql.cc @@ -1307,7 +1307,7 @@ row_mysql_get_table_status( "Table %s in tablespace %lu encrypted." "However key management plugin or used key_id is not found or" " used encryption algorithm or method does not match.", - table->name, table->space); + table->name.m_name, table->space); } err = DB_DECRYPTION_FAILED; @@ -1315,7 +1315,7 @@ row_mysql_get_table_status( if (push_warning) { ib_push_warning(trx, DB_CORRUPTION, "Table %s in tablespace %lu corrupted.", - table->name, table->space); + table->name.m_name, table->space); } err = DB_CORRUPTION; diff --git a/storage/innobase/row/row0sel.cc b/storage/innobase/row/row0sel.cc index 4a82a345a1d..6f9e903623c 100644 --- a/storage/innobase/row/row0sel.cc +++ b/storage/innobase/row/row0sel.cc @@ -4738,7 +4738,7 @@ wait_table_again: "Table %s is encrypted but encryption service or" " used key_id is not available. " " Can't continue reading table.", - prebuilt->table->name); + prebuilt->table->name.m_name); index->table->file_unreadable = true; } rec = NULL; |