From dd5457131bf2d5408e7ae36b1a259d596b5d4d03 Mon Sep 17 00:00:00 2001 From: Cosmin Apreutesei Date: Sat, 10 Jul 2021 21:40:18 +0300 Subject: [PATCH] unimportant --- mysql_client.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/mysql_client.lua b/mysql_client.lua index 77ed9a1..01279d1 100644 --- a/mysql_client.lua +++ b/mysql_client.lua @@ -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)