lua-resty-mysql
lua-resty-mysql copied to clipboard
ngx_lua_version check error when using stream
Version: openresty 1.13.6.2 Error: /usr/local/openresty/lualib/resty/mysql.lua:31: ngx_lua 0.9.11+ required Description: In /usr/local/openresty/lualib/resty/core/base.lua line 25, resty set ngx.config.ngx_lua_version to ngx_stream_lua_module version 5.
How to fix: Should only check ngx_lua_version < 9011 when subsystem=="http".