Commit Graph

921 Commits

Author SHA1 Message Date
wangmm0220 ea9c5d3ce6 feat:[TD-32642] add timezone for connection support 2024-11-28 18:59:54 +08:00
wangmm0220 375c3c4873 feat:[TD-32642] add timezone for connection support 2024-11-28 17:17:16 +08:00
wangmm0220 413be29b63 feat:[TD-32642] add charset for connection support 2024-11-28 11:47:55 +08:00
wangmm0220 0e2a16d70f feat:[TD-32642] add charset for connection support 2024-11-27 14:25:34 +08:00
wangmm0220 2ca9f9c8ce feat:[TD-32642] merge from 3.0 2024-11-26 00:13:43 +08:00
wangmm0220 a9d73d7b05 feat:[TD-32642] add timezone logic 2024-11-26 00:02:17 +08:00
wangmm0220 69da972796 feat:[TD-32642] add timezone logic 2024-11-22 18:31:51 +08:00
wangmm0220 7aef49638e feat:[TD-32642] add timezone logic 2024-11-15 19:44:03 +08:00
Shengliang Guan 0be118c0aa
Merge pull request #28408 from taosdata/enh/TD-32181/client
Enh/td 32181/client
2024-11-06 09:42:05 +08:00
dapan1121 016d176ea5 fix: number to string output length issue 2024-11-01 08:55:03 +08:00
dapan1121 726594b926 fix: float display issue 2024-10-31 17:08:07 +08:00
Pan Wei 077da8d945
Merge branch '3.0' into opti/TD-30681 2024-10-31 08:39:12 +08:00
dapan1121 edfefbff77 fix: value node clone issue 2024-10-30 19:07:47 +08:00
xinsheng Ren c5ec062a12
Merge branch '3.0' into enh/TD-32181/client 2024-10-29 23:00:46 +08:00
Pan Wei 9694006168
Update filter.c 2024-10-28 18:27:12 +08:00
xsren b02ad5c8e2 fix to_char length 2024-10-27 23:35:21 +08:00
lyh250-666 ed1186f05e opti:modify bytes for numbers and string, and varbinary 2024-10-25 17:20:59 +08:00
lyh250-666 38ae87fa05 opti:modify bytes for numbers and string 2024-10-25 17:05:14 +08:00
lyh250-666 d5876b0457 opti:modify bytes for numbers and string 2024-10-25 16:59:46 +08:00
lyh250-666 fa9f273449 opti:add case for double and float 2024-10-25 14:39:03 +08:00
lyh250-666 b8725618f0 opti:modify time range of select ts in 2024-10-23 23:26:44 +08:00
xsren 7094a8ddcf fix: bytes of repeat and timezone 2024-10-23 13:51:46 +08:00
Pan Wei 92e03d3b73
Merge pull request #28442 from taosdata/opti/TD-30681
Opti/td 30681
2024-10-22 18:29:53 +08:00
lyh250-666 324a4eab4e opti:modify result type for case when 2024-10-22 10:21:42 +08:00
Shengliang Guan 25d43c139c
Merge pull request #28363 from taosdata/feature/TS-5530
feat: data analysis
2024-10-21 19:51:24 +08:00
xsren 7a42756511 replace snprintf with tsnprintf 2024-10-20 22:36:52 +08:00
lyh250-666 a8ac0a2a73 opti:modify case when type 2024-10-18 11:43:26 +08:00
lyh250-666 67f28df97b opti:modify type in case when 2024-10-18 10:31:35 +08:00
lyh250-666 23d119c654 opti:modify result type of case when 2024-10-16 20:21:56 +08:00
lyh250-666 04c562a3a4 opti:modify case when result type 2024-10-15 17:42:33 +08:00
xsren 5c3283a6de fix: not condition 2024-10-15 17:00:25 +08:00
Shengliang Guan 3003e7286e feat: data analysis 2024-10-15 10:00:38 +08:00
Shengliang Guan 9f05ca5ee8 revert: data analysis 2024-10-14 23:27:11 +08:00
Pan Wei 80e2e426f0
Merge pull request #28277 from taosdata/enh/TD-32413/snprintf
Enh/td 32413/snprintf
2024-10-14 10:59:03 +08:00
Jing Sima ebe1cf61a8 fix:[TD-32184] fix heap buffer overflow in round and trunc. 2024-10-12 14:07:07 +08:00
lyh250-666 9bbfff8bf8 opti:modify type display between numbers and string 2024-10-11 16:18:10 +08:00
xinsheng Ren 9f645a0879
Merge branch '3.0' into enh/TD-32413/snprintf 2024-10-11 16:07:25 +08:00
Pan Wei fc05f92fc9
Merge pull request #28250 from taosdata/fix/TD-32409
fix: use safe function
2024-10-11 10:25:09 +08:00
xinsheng Ren dff505b87d
Merge branch '3.0' into enh/TD-32413/snprintf 2024-10-10 10:37:31 +08:00
xsren e03ccdc6e2 replace snprintf 2024-10-10 10:35:48 +08:00
dapan1121 d55a0032b1 fix: localtime issue 2024-10-10 09:45:37 +08:00
Pan Wei 822638144a
Merge pull request #28211 from taosdata/enh/TD-32414
enh:[TD-32414] replace unsafe functions
2024-10-10 08:55:51 +08:00
Shengliang Guan 4dc0c2f47e feat: data analysis 2024-10-09 17:09:43 +08:00
Jing Sima 3924b1fbc6 enh:[TD-32414] replace unsafe function in scalar and function. 2024-10-09 17:02:01 +08:00
Jing Sima f1508db3be fix:[TD-32450] Use taosArrayDestroyEx when error occurs to avoid mem leak. 2024-10-08 15:26:26 +08:00
Jing Sima f02095c072 fix:[TD-32419] Free memory allocated in sclWalkCaseWhenList. 2024-09-30 10:44:24 +08:00
xsren 18bc5a048f taosStrndup 2024-09-26 14:46:53 +08:00
lyh250-666 df147c60b0 enh:modify error code passing 2024-09-23 08:58:10 +08:00
Jing Sima de16ac5faa enh:[TD-32128] Haneld return value of memory alloc functions. 2024-09-19 08:15:19 +08:00
Jing Sima 5096f8008a fix:[TD-32137] Avoid double free when error occurs. 2024-09-18 11:15:12 +08:00
wangmm0220 98413626aa fix:[TD-31965] code rewrite if error happen 2024-09-13 18:22:42 +08:00
Jing Sima f9d38ef7ba fix:[TD-32041] Fix rand function wrong behaviour. 2024-09-12 09:36:37 +08:00
Pan Wei f9c8b6cd7b
Merge pull request #27796 from taosdata/enh/TD-31691
Enh/td 31691
2024-09-11 13:47:43 +08:00
lyh250-666 6cbb0cf172 enh:modify error code passing libs/ 2024-09-11 09:58:41 +08:00
Jing Sima 135f23c8b9 fix:[TD-32000] fix indirect leak caused by using wrong array destroy function. 2024-09-10 18:40:27 +08:00
Jing Sima 4a8bbc36bd feat:[TS-4893] refactor of rand function. 2024-09-09 18:48:24 +08:00
Jing Sima a249bef104 feat:[TS-4893] Add random and support use min/max on string column. 2024-09-09 18:48:24 +08:00
Haojun Liao 9150c0b07e
Merge pull request #27673 from taosdata/enh/TD-31902
enh:[TD-31902] Remove void.
2024-09-06 15:46:29 +08:00
Pan Wei b92dcea9fb
Merge pull request #27699 from taosdata/fix/3.0/TD-31914
fix:[TD-31914] Fix mem leak when error occurs.
2024-09-06 11:24:23 +08:00
Jing Sima dde0ad1e54 enh:[TD-31902] Remove void. 2024-09-06 10:38:10 +08:00
Hongze Cheng f1a051a83e
Merge pull request #27694 from taosdata/fix/TD-31931
fix(stmt/scalar): no regex checking for stmt placeholder
2024-09-06 08:40:44 +08:00
Jing Sima c3149f5225 fix:[TD-31914] Fix mem leak when error occurs. 2024-09-05 18:18:51 +08:00
Minglei Jin 87eccf2e2c fix(stmt/scalar): no regex checking for stmt placeholder 2024-09-05 17:43:23 +08:00
Jing Sima 9e3b093d00 fix:[TD-31921] Free memory when error occurs in filterExecute. 2024-09-05 14:01:18 +08:00
wangjiaming0909 38e8d9f2fa fix querytask.c memory leak when random malloc error
remove (void)
2024-09-03 09:13:40 +08:00
Pan Wei f551818b62
Merge pull request #27565 from taosdata/fix/3.0/TD-31812
fix:[TD-31812] fix memory leak when error occurs in fltOptimizeNodes.
2024-08-30 14:47:29 +08:00
Alex Duan f7da5e4994
Merge pull request #27423 from taosdata/case/TS-4893-3.0
Case/ts 4893 3.0
2024-08-30 13:40:13 +08:00
Jing Sima f6f4c4ddbc fix:[TD-31812] fix memory leak when error occurs in fltOptimizeNodes. 2024-08-30 10:56:37 +08:00
Jinqing Kuang 2a7cfd6ad8 test(query)[TS-4893]: Add test cases for MySQL function support 2024-08-30 10:11:32 +08:00
Pan Wei a22025ea00
Merge pull request #27553 from taosdata/fix/TD-31775/memLeak
fix: free operator
2024-08-30 09:26:53 +08:00
xsren d43df78537 fix: free operator 2024-08-29 19:43:59 +08:00
Pan Wei 51570368b5
Merge pull request #27542 from taosdata/fix/3.0/TD-31792
fix:[TD-31792] fix memory leak when error occurs in scalarGenerateSetFromList.
2024-08-29 19:26:10 +08:00
Pan Wei b791f314df
Merge pull request #27541 from taosdata/fix/3.0/TD-31700
fix:[TD-31700] fix memory leak when error occurs in sclExecOperator.
2024-08-29 19:19:05 +08:00
Jing Sima b8f56aa1b1 fix:[TD-31792] fix memory leak when error occurs in scalarGenerateSetFromList. 2024-08-29 14:40:43 +08:00
Jing Sima 9e52763297 fix:[TD-31700] fix memory leak when error occurs in sclExecOperator. 2024-08-29 14:37:30 +08:00
kailixu 31ac2c26ce Merge branch '3.0' into fix/TD-31163-3.0 2024-08-28 19:12:46 +08:00
sima e65ea2f99f feat:[TS-4893] Add test. 2024-08-28 10:05:28 +08:00
xsren ef5c1b28f9 fix: free ScalarParam 2024-08-27 19:17:31 +08:00
kailixu c301fe3940 fix: memory leak of geos 2024-08-27 18:16:32 +08:00
dapan1121 2515275800
Merge pull request #27480 from taosdata/fix/3.0/TD-31654
fix:[TD-31654] fix heap-buffer-overflow caused by unintialized variable.
2024-08-27 15:17:51 +08:00
dapan1121 6234362288
Merge pull request #27469 from taosdata/fix/3.0/TD-31700
fix:[TD-31700] fix memory leak when error occurs in sclInitOperatorParams
2024-08-27 15:11:14 +08:00
Jing Sima 8f03a04103 fix:[TD-31654] fix heap-buffer-overflow caused by unintialized variable. 2024-08-27 10:30:01 +08:00
Jing Sima a3573aae67 fix:[TD-31700] fix memory leak when error occurs in sclInitOperatorParams. 2024-08-27 08:26:24 +08:00
Jing Sima e6649b78da fix:[TD-31703] fix memory leak when error occurs in filterMergeGroupUnits. 2024-08-26 19:06:51 +08:00
kailixu 7ec5ecf8fc Merge branch '3.0' into fix/TD-31163-3.0 2024-08-24 06:50:42 +08:00
Jing Sima 734e59d5a7 fix:[TD-31654] Free memory at the end of substrIdxFunction to avoid memory leak. 2024-08-23 15:52:25 +08:00
kailixu b24f2a35aa Merge branch '3.0' into fix/TD-31163-3.0 2024-08-23 15:37:56 +08:00
dapan1121 9b76e216a7
Merge pull request #27348 from taosdata/fix/3.0/TD-31571
fix:[TD-31571] fix CONCAT function to return NULL when all input parameters are NULL
2024-08-21 18:27:10 +08:00
kailixu b072a83bbd fix: memory leak of geos 2024-08-21 15:45:57 +08:00
sima 726f41697d enh:[TD-31548] Remove ASSERT in multi files. 2024-08-21 14:35:45 +08:00
sima a3bebe8966 fix:[TD-31571] fix CONCAT function to return NULL when all input parameters are NULL
Previously, the CONCAT function did not correctly handle cases where all input parameters were NULL, resulting in an unexpected output. This commit ensures that CONCAT returns NULL when all input arguments are NULL, aligning with expected SQL behavior.
2024-08-21 13:47:37 +08:00
sima 3cdef9f0bf fix:[TD-31567] Fix repeatFunction accessing out-of-bounds array index. 2024-08-20 17:51:28 +08:00
sima 50672cd1a8 enh:[TD-31529] Remove ASSERT in libs/scalar. 2024-08-20 07:58:55 +08:00
sima 2f92b80cd6 fix:[TD-31511] Fix memory leak when error occurs. 2024-08-19 10:10:47 +08:00
sima 69a09e5a01 fix:[TD-31508] Fix wrong data type in week function. 2024-08-16 17:33:35 +08:00
dapan1121 2aac6ba8c8
Merge pull request #27244 from taosdata/fix/3.0/TD-31468
fix:[TD-31468] Fix char function wrong result.
2024-08-16 08:53:16 +08:00
sima ebe5f183cb fix:[TD-31468] Fix char function wrong result. 2024-08-15 19:49:52 +08:00
sima c1c59ce82b fix:[TD-31479] Fix wrong ans when parameter is NULL in substring. 2024-08-15 19:49:33 +08:00
dapan1121 b5baf566d1
Merge pull request #27249 from taosdata/fix/3.0/TD-31473
fix:[TD-31473] Fix repeat function use tag as parameter.
2024-08-15 19:00:26 +08:00
sima 85ec91fb58 fix:[TD-31473] Fix repeat function use tag as parameter. 2024-08-15 16:11:38 +08:00