1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-26519: Improved histograms: Better error reporting, test coverage

Also report JSON histogram load errors into error log, like it is already
done with other histogram/statistics load errors.

Add test coverage to see what happens if one upgrades but does NOT run
mysql_upgrade.
This commit is contained in:
Sergei Petrunia
2021-12-02 20:47:08 +03:00
parent a0f93f433a
commit a0916cf5a2
5 changed files with 107 additions and 0 deletions

View File

@ -16,6 +16,7 @@ drop table if exists t1;
set @save_histogram_type=@@histogram_type;
set @save_histogram_size=@@histogram_size;
call mtr.add_suppression("Failed to parse histogram for table .*");
create table ten(a int primary key);
insert into ten values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);