unimportant

This commit is contained in:
Cosmin Apreutesei 2021-10-22 05:05:45 +03:00
parent 3cf80fe450
commit 323299b34c
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,7 @@ local to_lua = {
decimal = tonumber,
}
function mysql.to_lua(v, col)
local to_lua = to_lua[col.type]
local to_lua = col.to_lua or to_lua[col.type]
if to_lua then
v = to_lua(v)
end