openresty / lua-resty-mysql

Nonblocking Lua MySQL driver library for ngx_lua or OpenResty
708 stars 236 forks source link

why not handle FIELD_TYPE_DECIMAL? #62

Open DoBetter-pan opened 7 years ago

DoBetter-pan commented 7 years ago

When I query data from DB, I found I got string for DECIMAL from online DB but number from test DB. I checked the code, I think it maybe do not handle 0x00(FIELD_TYPE_DECIMAL). Could you tell me why? Thanks!

agentzh commented 7 years ago

@DoBetter-pan It's just because no one asked for it. Will you contribute a pull request for this? Thanks!