mirror of
https://github.com/luapower/mysql.git
synced 2025-02-08 16:20:31 +01:00
unimportant
This commit is contained in:
parent
53c844a94d
commit
fb5336213d
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user