diff --git a/patches/patch20250130-8.0.1/patch.sh b/patches/patch20250130-8.0.1/patch.sh index ccaaee82368b91eeff08c171c2eaf941e5ada6fc..bad63f1dc17ab102879651293d550c3c44c400a3 100755 --- a/patches/patch20250130-8.0.1/patch.sh +++ b/patches/patch20250130-8.0.1/patch.sh @@ -38,7 +38,7 @@ check_version $OLD_VERSION # Get all tables, drop first line, take first column tables=$(mysql_execute "SHOW TABLE status where Collation='utf8mb3_unicode_ci';" -B | tail +2 | awk '{print $1}') -for table in tables; do +for table in $tables; do mysql_execute "ALTER TABLE $table CONVERT TO CHARACTER SET utf8mb4 COLLATE uca1400_as_ci;" done # mysql_execute "UPDATE data_type SET datatype=17 WHERE datatype=3"