@@ -128,9 +445,21 @@ ALTER TABLE proc MODIFY sql_mode
)DEFAULT''NOTNULL,
DEFAULTCHARACTERSETutf8;
#Correctthecharactersetandcollation
ALTERTABLEprocCONVERTTOCHARACTERSETutf8;
#Resetsomefieldsaftertheconversion
ALTERTABLEprocMODIFYdefiner
char(141)collateutf8_binDEFAULT''NOTNULL;
ALTERTABLEprocMODIFYdb
char(64)collateutf8_binDEFAULT''NOTNULL,
MODIFYdefiner
char(141)collateutf8_binDEFAULT''NOTNULL,
MODIFYcomment
char(64)collateutf8_binDEFAULT''NOTNULL;
ALTERTABLEprocADDcharacter_set_client
char(32)collateutf8_binDEFAULTNULL
AFTERcomment;
ALTERTABLEprocMODIFYcharacter_set_client
char(32)collateutf8_binDEFAULTNULL;
SELECTCASEWHENCOUNT(*)>0THEN
CONCAT("WARNING: NULL values of the 'character_set_client' column ('mysql.proc' table) have been updated with a default value (",@@character_set_client,"). Please verify if necessary.")