1
0
mirror of https://github.com/luapower/mysql.git synced 2024-12-29 12:20:32 +01:00

unimportant

This commit is contained in:
Cosmin Apreutesei 2021-07-10 21:40:18 +03:00
parent cfa5c99ce9
commit dd5457131b

View File

@ -448,6 +448,7 @@ local function _parse_field_packet(data)
col.table, pos = _from_length_coded_str(data, pos)
col.orig_table, pos = _from_length_coded_str(data, pos)
col.name, pos = _from_length_coded_str(data, pos)
col.name = col.name:lower() --preserving namecase is not helpful.
col.orig_name, pos = _from_length_coded_str(data, pos)
pos = pos + 1 -- ignore the filler
col.charsetnr, pos = _get_byte2(data, pos)