dapan1121
8691908cc3
fix: os return code
2024-07-24 16:37:54 +08:00
wangmm0220
195fe9b6cc
fix:[TD-31017]process return value in clientRawBlockWrite.c
2024-07-19 15:11:33 +08:00
wangmm0220
6b9c00cb9b
fix:[TD-31017]process return value in clientRawBlockWrite.c
2024-07-19 14:49:25 +08:00
sima
3c53bcfb22
fix:[TD-30948] Convert Ucs4 when exec local cmd.
2024-07-10 20:41:07 +08:00
Hongze Cheng
c8aa963417
Merge pull request #26434 from xinjiempolde/enh/TD-21826-3.0
...
enh/td-21826-3.0 error handling for stmt
2024-07-08 10:21:14 +08:00
xjzhou
88aa15e944
enh: Enhance error handling for stmt
2024-07-02 11:05:54 +08:00
wangmm0220
304460f452
fix:[TD-30725] fix potential memory leaks
2024-07-01 10:49:24 +08:00
wangmm0220
bc4f55407d
fix:[TS-4921] logic error
2024-06-22 14:58:39 +08:00
wangmm0220
fe6eb5d8c3
fix:[TS-4921] asan error
2024-06-22 04:01:53 +08:00
wangmm0220
5dcfed2d51
feat:[TS-4921]add logic for slow log
2024-06-19 18:54:26 +08:00
Haojun Liao
6124666488
fix(query): fix bugs caused by refactor.
2024-05-18 18:40:49 +08:00
Haojun Liao
43bec6c00f
fix(query): fix error in refactor.
2024-05-18 09:47:31 +08:00
Haojun Liao
a2692dbba4
refactor(query): opt memory prepare.
2024-05-17 17:51:41 +08:00
Haojun Liao
27c4e3634c
refactor: do some internal refactor.
2024-05-17 17:04:05 +08:00
Haojun Liao
63d9c82b87
fix(query): remove assert.
2024-05-16 23:25:01 +08:00
Haojun Liao
76a296ca52
fix(query): enable the assert.
2024-05-16 19:04:37 +08:00
Haojun Liao
92b247e5b4
refactor: move compress data in query threads.
2024-05-16 15:55:48 +08:00
Haojun Liao
4aeb3c5c90
fix(query): remove invalid assert.
2024-05-16 13:30:34 +08:00
Haojun Liao
45d78aff8c
enh(query): compress msg before sending.
2024-05-16 11:35:34 +08:00
kailixu
0d9d0c65f8
enh: error process optimization
2024-04-18 18:44:40 +08:00
kailixu
266ac862e3
enh: error process optimization
2024-04-18 17:37:02 +08:00
kailixu
e495f347c8
enh: acquire conv in batch mode when convert ucs4 to mbs
2024-04-18 17:17:04 +08:00
wangjiaming0909
38ed0317e7
testing
2024-04-16 14:18:11 +08:00
wangmm0220
93f71923d7
fix:memory leak
2024-03-08 15:47:53 +08:00
wangmm0220
bb80866395
fix:memory leak
2024-03-08 14:49:48 +08:00
dapan1121
19b51ec02c
Merge pull request #24994 from taosdata/mark/3.0
...
fix:add excluded msg for delete in tmq
2024-03-05 15:46:49 +08:00
wangmm0220
af6d6b69c3
fix:add excluded msg for delete in tmq
2024-03-05 11:25:43 +08:00
chenhaoran
ab07900895
Merge branch '3.0' into feat/TD-26529-3.0
2024-02-23 20:54:19 +08:00
wangmm0220
c2c49a4b22
fix:change datablock to old version for compatibility
2024-02-22 19:01:58 +08:00
wangmm0220
4037a7a1a5
fix:change datablock to old version for compatibility
2024-02-22 15:44:50 +08:00
dm chen
271e997438
Merge pull request #24823 from taosdata/3.0
...
merge 3.0
2024-02-22 12:47:42 +08:00
dapan1121
2cacf6cf20
Merge pull request #24701 from taosdata/test/TD-26813
...
Test/td 26813
2024-02-20 09:06:39 +08:00
factosea
ccba2c6612
fix: block format
2024-02-19 17:30:06 +08:00
factosea
5434019d2b
fix: count(tag) when use qnode
2024-02-18 15:50:34 +08:00
dm chen
6d2d37d964
Merge pull request #24751 from taosdata/3.0
...
merge 3.0
2024-02-06 19:16:53 +08:00
kailixu
6cf7809e8d
feat: support uniq grant
2024-02-04 14:59:47 +08:00
kailixu
a9316c3710
feat: support uniq grant
2024-02-04 12:28:00 +08:00
facetosea
e0a1b886df
function rename
2024-02-02 15:25:35 +08:00
factosea
010d3fc860
add select count
2024-02-02 13:39:47 +08:00
Haojun Liao
ac2d8f4ca8
fix(stream): fix memory leak.
2024-02-01 13:04:26 +08:00
Haojun Liao
cb2ea4a721
fix(stream): take ver snapshot for all vgroups before launching stream with fill-history option opened.
2024-02-01 11:37:57 +08:00
wangmm0220
d5d1dd9127
opti:[TD-28118] raw block data for tmq
2024-01-17 20:08:26 +08:00
Yihao Deng
6f8f47a375
fix invalid read write
2024-01-16 05:50:20 +00:00
dm chen
39f2e75a9e
Merge branch '3.0' into feat/TD-26529-3.0
2024-01-04 15:46:23 +08:00
factosea
74793e6528
fix: inCallback
2023-12-17 10:05:58 +08:00
factosea
f2d89b7086
fix: use req after release
2023-12-15 11:29:25 +08:00
factosea
d17d51194f
taos_fetch_row cannot be called before the query callback ends.
2023-12-14 15:43:43 +08:00
factosea
f01241f720
Merge branch 'fix/xsren/TD-22212/taosQueryParam3.0' into enh/xsren/TD-22212/taosQueryParam3.0
2023-12-06 17:39:25 +08:00
xinsheng Ren
96a3c373e0
Merge branch '3.0' into feat/TD-26529-3.0
2023-11-08 09:28:27 +08:00
facetosea
0a16b75831
monitor client
2023-11-08 09:18:22 +08:00
dapan1121
eca1b1aeab
fix: stmt query execution mode issue
2023-11-07 11:20:08 +08:00
facetosea
79785bd8b6
fix merge error
2023-11-04 18:04:23 +08:00
xinsheng Ren
da24384f0e
Merge branch '3.0' into fix/xsren/TD-22212/taosQueryParam3.0
2023-11-04 17:41:41 +08:00
facetosea
567a55a737
distinguish between user parameters and internal parameters
2023-11-04 17:20:24 +08:00
dapan1121
099f72e84a
fix: memory issues
2023-10-27 11:36:17 +08:00
xsren
355ec86926
fix error when taos_query_a param is null
...
c_test missing on linux
mem leak
wal_test pageBufferTest on linux
tfsTest on linux
2023-10-26 16:50:45 +08:00
dapan1121
dbbceae061
fix: union all view issue
2023-10-24 11:29:04 +08:00
dapan1121
969b002936
enh: support view privilege
2023-10-20 08:41:49 +08:00
dapan1121
aab4cb98dc
enh: create & drop view meta processing
2023-10-13 19:16:37 +08:00
dapan1121
a0699d758c
Merge remote-tracking branch 'origin/3.0' into feat/TD-25204
2023-10-13 16:51:38 +08:00
kailixu
e4291cf440
fix: reset hb flag for duplicated user key
2023-10-11 20:12:10 +08:00
dapan1121
d229492616
Merge remote-tracking branch 'origin/3.0' into feat/TD-25204
2023-10-09 18:34:08 +08:00
dapan1121
5b639a172d
feat: support query from view
2023-10-08 18:36:06 +08:00
dapan1121
a61d90f672
enh: remove column list
2023-09-22 11:36:53 +08:00
dapan1121
a67b0c99fc
feat: support create/drop view
2023-09-21 19:28:07 +08:00
dapan1121
64da3f4ef9
Merge pull request #22978 from taosdata/szhou/show-db-table
...
enhance: show normal/child tables and show user/system databases
2023-09-21 16:55:26 +08:00
slzhou
de411ebad1
fix: review comments
2023-09-21 09:55:13 +08:00
dapan1121
7d076d2db9
fix: memory leak issue
2023-09-21 09:49:43 +08:00
dapan1121
aa86490ed2
fix: sync param free issue
2023-09-20 18:57:00 +08:00
dapan1121
9796483609
enh: support async fetch for sync request
2023-09-20 15:42:25 +08:00
slzhou
f4dbd5d9c9
enhance: show normal/child tables and show user/system databases
2023-09-19 16:14:17 +08:00
dapan1121
14e8db289d
feat: support view
2023-09-19 14:19:54 +08:00
shenglian zhou
94a616fcc1
fix: save and continue
2023-09-18 16:59:07 +08:00
wangmm0220
f266d51764
feat:support varbinary type
2023-08-16 19:05:07 +08:00
yihaoDeng
6532afa7b8
fix err while connect invalid fqdn
2023-07-24 18:49:13 +08:00
yihaoDeng
2aacee05be
Merge branch 'fix/TD-25308' of https://github.com/taosdata/TDengine into fix/TD-25308
2023-07-24 18:48:23 +08:00
yihaoDeng
842a0bc8c3
fix err while connect invalid fqdn
2023-07-24 18:48:09 +08:00
yihaoDeng
0b707a108e
fix err while connect invalid fqdn
2023-07-24 10:28:52 +00:00
yihaoDeng
95a1db6e89
fix err while connect invalid fqdn
2023-07-24 07:09:03 +00:00
yihaoDeng
79f01ad655
add version check in rpc
2023-07-05 08:16:25 +00:00
dapan1121
4dae9f4eff
merge main to 3.0
2023-06-26 18:43:00 +08:00
dapan1121
59b8cfbc7d
enh: add sub_query in systable and kill subquery
2023-06-12 17:14:41 +08:00
dapan1121
170182fecd
feat: support fill history with sub request
2023-06-12 16:10:54 +08:00
wangmm0220
208ba2ef4d
fix:memory leak
2023-05-26 10:45:37 +08:00
Dingle Zhang
984211f3b4
Feature/3.0 geometry ( #21037 )
...
* Add GEOMETRY data type and make sql.c able to parse it. The GEMETRY works like BINARY so far.
* add GEOMETRY type into gConvertTypes to fix some issues like DELETE calling
* change some test cases to make sure no same timestamp is inserted, and add my smoketest.sh
* Add a function MakePoint() and introduce a lib geometry
* implement sql functions GeomFromText() and AsText()
* Use GEOS *_r funcions instead for thread safety
* Handle with TSDB_DATA_TYPE_GEOMETRY when INSERT geometry data by converting WKT.
Add geosWrapper to wrap the basic GEOS functions for TDEngine.
* refactor AsText and MakePoint functions to be like GeomFromText
* Show WKT when print geometry data in screen
Dump hex data when dump geometry data in a file
* define TYPE_BYTES item for TSDB_DATA_TYPE_GEOMETRY, which casued some strange issues.
* set number of decimals of WKT to 6
* Implement SQL function Intersects()
* refactor geometry sql functions
* Add geosErrMsgeHandler() to get the GEOS error detail
* use threadlocal to instantiate SGeosContext
call destroyGeosContext() only if the thread exists
* remove SGeosContext *context param for all geometry functions since we use thread local one,
so that all caller do not need to know the context.
* Modify Intersects() to call PreparedIntersects() when one of param is a constant, which has higher performance.
* rename prepareFn() to initCtxFn() to avoid confusion with PreparedFn
* Add prefix "ST_" for all geometry functions
* move getThreadLocalGeosCtx() and destroyThreadLocalGeosCtx() into util,
so that all unit test tools can compile
* Add unit test for geometry lib, only test MakePoint so far
* refactor and enhance existing cases in geomFuncTest
* implement NULL type and NULL value test for geomFuncTest
* add test on geomFromText()
* add unit test on AsText() in geomFuncTest
* combine some makePointFunction test items
* add intersectsFunctionTwoColumns test
refactor on callGeomFromTextWrapper functions
* enhance intersectsFunction test to add cases like input constant , NULL type, NULL value, or wrong content
* add more cases into intersectsFunction test
* Add basic test on geometry in system test
* Add ST_GeomFromText and ST_AsText function test in system test on geometry
* add ST_Intersects function test in system test on geometry
* support to check expectedErrno in system test on geometry
* adjust geomTest unit test and geometry system test
* add geometry data type and functions in doc english version
* implement touchesFunction() in geometry lib
refactor geometry relation functions model
* separate gemFuncTest into several src files
* add unit test on touchesFunction
* support sql function ST_Touches()
add system test on ST_Touches
* add docs for ST_Touches()
* Add ST_Contains()
* Add ST_Covers()
* Add ST_Equals()
* add swapAllowed param for geomRelationFunction()
read geom2 earlier intead of at doGeosRelation()
* Add ST_ContainsProperly()
* build on windows
* Merge from 3.0 to 3.0_geometry
* change macro definition TSDB_DATA_TYPE_GEOMETRY as the last one for compatibility
* change '\\NULL' to 'NULL' back in shellDumpFieldToFile()
* add /usr/local/include into include directory
* add /usr/local/inlcude and /usr/local/lib in cmake.platform for DARWIN
2023-05-24 15:36:46 +08:00
dapan1121
9fcf56a4ee
feat: support meta cleanup
2023-05-16 10:51:58 +08:00
dapan1121
9551a269b3
feat: support log slow query by default
2023-04-24 16:45:34 +08:00
dapan1121
5fe99c5ad2
feat: support log long query
2023-04-23 15:54:15 +08:00
Haojun Liao
f8b672f09f
other: merge main.
2023-04-14 09:07:18 +08:00
Haojun Liao
f5b52749c2
refactor: do some internal refactor.
2023-04-09 01:39:09 +08:00
dapan1121
5b02af6a91
fix: merge main to 3.0
2023-03-22 16:08:16 +08:00
Haojun Liao
625b2dc901
Merge pull request #20513 from taosdata/fix/TD-23136
...
fix:converity scan defects
2023-03-20 15:37:59 +08:00
dapan1121
4685fb4870
fix: no error passed issue
2023-03-17 17:52:15 +08:00
wangmm0220
0a54d00cd2
fix:converity scan defects
2023-03-17 14:54:27 +08:00
dapan1121
2bb7d6c799
fix: invalid write issue
2023-03-17 14:38:03 +08:00
Xiaoyu Wang
66bb55187d
Merge remote-tracking branch 'origin/main' into fix/3.0_merge_main
2023-03-08 18:30:24 +08:00
Xiaoyu Wang
9be3e20276
fix: check the compatibility of client version and server version
2023-03-08 15:13:11 +08:00
Haojun Liao
10a119e3fb
Merge pull request #20106 from taosdata/fix/TD-22667-3.0
...
fix:error by coverity scan
2023-03-01 13:31:59 +08:00
WANG MINGMING
5dfc9ed4d0
Merge branch '3.0' into fix/TD-22667-3.0
2023-02-28 09:52:34 +08:00
Yihao Deng
db47cb5805
Merge branch 'main' into fix/toManySeesion
2023-02-25 17:04:56 +08:00
yihaoDeng
84706fe586
fix: limit session num
2023-02-24 21:20:15 +08:00
yihaoDeng
dd2e9697b5
fix: limit session num
2023-02-24 20:39:25 +08:00
Haojun Liao
22aa03307c
fix(query): fix syntax errors on centos.
2023-02-24 11:38:54 +08:00
wangmm0220
91d5df423f
fix:error by coverity scan
2023-02-22 15:48:39 +08:00
Xiaoyu Wang
7337f5ff7d
Merge pull request #20052 from taosdata/fix/3.0_merge_main
...
merge main
2023-02-21 16:27:19 +08:00
Xiaoyu Wang
c597de099f
merge main
2023-02-20 13:41:27 +08:00
dapan1121
1128b1222b
feat: add memory debug option
2023-02-17 17:40:14 +08:00
dapan1121
e2bc0383f2
fix: refact client statistics collection
2023-02-17 16:30:14 +08:00
Xiaoyu Wang
09925437e3
merge main
2023-02-08 09:51:52 +08:00
dapan1121
1f3f92c2cf
Merge pull request #19777 from taosdata/fix/TD-22145
...
fix: fix fd limit crash
2023-02-06 16:22:02 +08:00
dapan1121
18e3450c11
fix: client update epset crash issue
2023-02-06 14:01:43 +08:00
yihaoDeng
e14994c23f
fix: fail fast
2023-02-03 12:45:20 +08:00
yihaoDeng
cdf362b588
fix: fix fd limit crash
2023-02-03 12:08:16 +08:00
Xiaoyu Wang
24157e78d6
merge main
2023-01-28 17:52:58 +08:00
xinsheng Ren
f966197cea
Fix/xsren/td 21762/sem mem leak basemain ( #19587 )
...
* TD-21762 sem_init cause mem leak on windows
* fix/memleak
Co-authored-by: facetosea <25808407@qq.com>
2023-01-17 16:30:06 +08:00
dapan1121
6b259777ad
fix: move crash report to shell
2023-01-17 11:18:49 +08:00
xinsheng Ren
fce58a1273
Fix/xsren/td 21762/sem mem leak ( #19580 )
...
* TD-21762 sem_init cause mem leak on windows
* fix/memleak
Co-authored-by: facetosea <25808407@qq.com>
2023-01-17 11:12:57 +08:00
Shengliang Guan
d90eef6656
Merge branch '3.0' into merge/mainto3.0_0108
2023-01-08 09:54:21 +08:00
wangmm0220
ce3fbae952
fix:ASSERT in client mode & converity error
2023-01-06 14:37:38 +08:00
dapan1121
a551641b6c
fix: add mac crash report processing
2023-01-04 19:12:16 +08:00
dapan1121
3bccd891bb
fix: add debug code
2023-01-04 16:51:46 +08:00
Alex Duan
0c422345b3
feat: support show cluster alive; and show db.alive;
2022-12-29 18:07:57 +08:00
Shengliang Guan
78c14a2c88
Merge remote-tracking branch 'origin/3.0' into merge/mainto3.0_1228
2022-12-28 14:59:02 +08:00
dapan1121
66cece62de
Merge pull request #19046 from taosdata/fix/TD-21180-3.0
...
feat(rpc): return new error code TSDB_CODE_RPC_VGROUP_NOT_CONNECTED
2022-12-26 18:08:48 +08:00
Haojun Liao
723efba79b
Merge branch '3.0' into refact/submit_req
2022-12-26 13:25:25 +08:00
Shengliang Guan
664dcb6b4e
Merge branch 'main' into merge/mainto3.0_1226
2022-12-26 09:26:54 +08:00
Shengliang Guan
9a2d56905d
enh: print ipstr on taos_connect
2022-12-23 18:04:25 +08:00
Xiaoyu Wang
0c269c317b
merge 3.0
2022-12-23 17:50:05 +08:00
Alex Duan
d0f789744b
query(fix): return new error code except connect msg
2022-12-23 16:04:48 +08:00
Alex Duan
99ef55c7d4
query(fix): return new error code except connect msg
2022-12-23 16:02:08 +08:00
Alex Duan
cd1b87031a
fix(query): modify error describe
2022-12-22 10:22:51 +08:00
Alex Duan
ced76efde0
feat(rpc): move the check msgType to cliet
2022-12-21 12:44:29 +08:00
Alex Duan
5ca52595ae
feat(rpc): move the check msgType to client build error
2022-12-21 12:20:26 +08:00
Alex Duan
15160544c5
feat(rpc): move the check msgType to client
2022-12-21 11:48:24 +08:00
Shengliang Guan
86ff8f381f
Merge pull request #19042 from taosdata/enh/3.0_planner_optimize
...
enh: improve unit tests
2022-12-20 21:53:25 +08:00
Xiaoyu Wang
ad7f9b274b
enh: improve unit tests
2022-12-20 16:53:08 +08:00
yihaoDeng
23c7fa73f0
fix mem leak
2022-12-19 21:39:26 +08:00
Haojun Liao
fdade6d6a3
Merge branch '3.0' into refact/submit_req
2022-12-19 11:24:00 +08:00
yihaoDeng
6fb45a5f47
remove unused param
2022-12-13 20:16:45 +08:00
Haojun Liao
48f7fc5c3d
Merge branch '3.0' into refact/submit_req
2022-12-12 18:11:17 +08:00
dapan1121
1aff3cceeb
fix: show queries crash issue
2022-12-10 15:03:24 +08:00
Shengliang Guan
6d94afe48f
Revert "refact: adjust some assert cases"
2022-12-07 21:51:17 +08:00
wangmm0220
a4d03b43a0
opti: async->sync for schemaless
2022-12-07 20:33:54 +08:00
Shengliang Guan
d5126d469a
refact: replcase ASSERT with tAssert
2022-12-07 18:42:48 +08:00
Shengliang Guan
f69a188f7e
refact: replcase ASSERT with tAssert
2022-12-07 18:37:40 +08:00
Hongze Cheng
899d7b0bcc
Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req
2022-12-06 14:37:22 +08:00
dapan1121
f9f60a8f39
Merge pull request #18646 from taosdata/fix/TD-20684-3.0
...
feat(api): add new api int64_t taos_affected_rows64
2022-12-04 16:47:51 +08:00
Shengliang Guan
d9c261cd13
refact: remove some error codes
2022-12-03 10:17:02 +08:00
Alex Duan
855b0c8cbe
feat(api): add int64 affected rows modify tmsg.h struct
2022-12-02 20:57:46 +08:00
Alex Duan
9fb4fa0a7f
feat(api): add int64 affected rows modify tmsg.h struct
2022-12-02 20:48:39 +08:00