mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +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:
@@ -696,6 +696,10 @@ err:
|
||||
ER_THD(thd, ER_JSON_HISTOGRAM_PARSE_FAILED),
|
||||
db_name, table_name,
|
||||
err, (je.s.c_str - (const uchar*)hist_data));
|
||||
sql_print_error(ER_THD(thd, ER_JSON_HISTOGRAM_PARSE_FAILED),
|
||||
db_name, table_name, err,
|
||||
(je.s.c_str - (const uchar*)hist_data));
|
||||
|
||||
DBUG_RETURN(true);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user