1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Handle upgrades

This commit is contained in:
Sergei Petrunia
2021-08-31 17:46:07 +03:00
parent e675f44624
commit 9de81b2cde
3 changed files with 164 additions and 0 deletions

View File

@@ -835,3 +835,11 @@ IF 1 = (SELECT count(*) FROM information_schema.VIEWS WHERE TABLE_CATALOG = 'def
END IF//
DELIMITER ;
--
-- Upgrade mysql.column_stats table
--
ALTER TABLE column_stats
modify hist_type enum('SINGLE_PREC_HB','DOUBLE_PREC_HB','JSON_HB'),
modify histogram blob;