unimportant

This commit is contained in:
Cosmin Apreutesei 2021-12-05 15:21:14 +02:00
parent 53c844a94d
commit fb5336213d
1 changed files with 2 additions and 2 deletions

View File

@ -879,8 +879,8 @@ function mysql.dec_range(digits, decimals, unsigned) --min, max, digits
return min, max, digits
end
--This is dumb: there's no such thing as "char length" with a MBCS but
--that's how you have to declare a varchar these days.
--This is dumb: there's no such thing as "char length" on a variable-width
--MBCS but that's how you have to declare a varchar these days.
function mysql.char_size(byte_size, collation)
charset = collation:match'^[^_]+'
local mcw = max_char_widths[charset]