mirror of
https://github.com/luapower/mysql.git
synced 2024-12-29 12:20:32 +01:00
unimportant
This commit is contained in:
parent
3cf80fe450
commit
323299b34c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user