revision-id: e794ad6618f211401a03a8e387078c3934a589c1 (mariadb-10.6.1-161-ge794ad6618f) parent(s): c548019bd2689bd7a60281590ceace551bf2170b author: Sergei Petrunia committer: Sergei Petrunia timestamp: 2021-10-04 22:18:02 +0300 message: Undo this change from the previous commit:
Also, update_statistics_for_table() should not "swallow" an error from open_stat_tables.
It is now filed as MDEV - 26756 --- sql/sql_statistics.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_statistics.cc b/sql/sql_statistics.cc index 5680c9ada00..1a61244935f 100644 --- a/sql/sql_statistics.cc +++ b/sql/sql_statistics.cc @@ -2880,7 +2880,7 @@ int update_statistics_for_table(THD *thd, TABLE *table) start_new_trans new_trans(thd); - if ((rc= open_stat_tables(thd, tables, TRUE))) + if ((open_stat_tables(thd, tables, TRUE))) DBUG_RETURN(rc); save_binlog_format= thd->set_current_stmt_binlog_format_stmt();