* make lua build.sh install necessary lib and specify include path.
* [TD-4477]<hotfix>: install dependency package for tests/examples/lua build.sh.
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
Malloc memory to store Lua state and callback function from Lua. Connector can support multiple connection by this way.
Memory will be freed when connection isn't established successfully or connection is closed by lua call. Stream content
in Lua is not the same one with stream content in connector.
A loop in test code do the job for continuous query. record is inserted between query actions.