1
0
Fork 0
forked from External/ergo

upgrade mysql driver

This commit is contained in:
Shivaram Lingamneni 2021-04-19 06:42:39 -04:00
parent 3ceb346c61
commit 57c5030e91
20 changed files with 387 additions and 227 deletions

View file

@ -247,7 +247,7 @@ var collations = map[string]byte{
"utf8mb4_0900_ai_ci": 255,
}
// A blacklist of collations which is unsafe to interpolate parameters.
// A denylist of collations which is unsafe to interpolate parameters.
// These multibyte encodings may contains 0x5c (`\`) in their trailing bytes.
var unsafeCollations = map[string]bool{
"big5_chinese_ci": true,