Commit Graph

9 Commits

Author SHA1 Message Date
Haojun Liao 819c7fc030 [td-10529] fix compiler error 2021-10-08 20:33:46 +08:00
robotspace 68aeccbe7f
Add support for async insert and connection pool. (#6244)
* Add support for async query. Only insert result is parsed.

* Add support for connection pool.

* Add one case for lua connector in smoke test case list.

* Build dymanic library for lua connector before smoke test.
2021-06-01 13:35:19 +08:00
robotspace d8d85667cb
Resolve problems that is met in CentOS7. (#5738)
* Set value for std with c99 to avoid compile error on CentOS7.

* Get parameter from stack by same sequence.

* Add performance test.
2021-04-09 13:05:51 +08:00
robot f1dfe5138d Remove compile warnings and add comments for trial. 2020-12-11 18:04:31 +08:00
robot 1919d0aa38 Set connection parameter with table as conventional style. Output result for test case. 2020-12-07 15:04:10 +08:00
robot ba31633a58 Update query api for Lua connector.
All connectors should be updated since taos_query has been modified for thread safety. Only query api is updated, callback in stream is not yet.
2020-08-30 12:09:37 +08:00
robot 79e1a7bcf8 Add support for continuous query in Lua connector.
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.
2019-11-12 10:40:44 +08:00
robot 026293617a Return records with seperated fields in lua connector.
Field names and values are both returned. Client application gets value by field name. It runs as convention except that bool type is returned as one byte,tiny integer. Bool type will be returned in future if tiny integer causes confusion.
2019-08-10 22:30:23 +08:00
robot f332530af3 Add example implementation for lua connector. 2019-08-04 21:32:49 +08:00