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
sima
f2dcd3f16a
fix:[TD-31470] Fix replace function wrong length.
2024-08-15 15:29:27 +08:00
dapan1121
237a365285
Merge pull request #27216 from taosdata/fix/3.0/TD-31443
...
fix:[TD-31443] Reset field nums in SFilterFields when malloc failed.
2024-08-14 17:10:04 +08:00
dapan1121
e72cf17985
Merge pull request #27214 from taosdata/fix/3.0/TD-31439
...
fix:[TD-31439] Reset groupNum and unitNum when malloc failed.
2024-08-14 17:07:34 +08:00
sima
e405d934e8
fix:[TD-31443] Reset field nums in SFilterFields when malloc failed.
2024-08-14 16:04:34 +08:00
dapan1121
084592dc34
Merge pull request #27168 from taosdata/feat/TS-4893
...
feat:[TS-4893] Support MYSQL functions.
2024-08-14 15:10:27 +08:00
sima
9b490d7a76
fix:[TD-31439] Reset groupNum and unitNum when malloc failed.
2024-08-14 14:37:32 +08:00
sima
c9b9871477
fix:[TD-31351] avoid double free.
2024-08-14 10:19:30 +08:00
sima
a54019211f
feat:[TS-4893] Support MYSQL functions.
...
Add more functions:
- Numeric Functions: PI(),ROUND(),TRUNC(),EXP(),LN(),SIGN(),DEGREES(),RADIANS().
- String Functions: CHAR(),ASCII(),POSITION(),TRIM(),REPLACE(),REPEAT().
- Date and Time Functions: WEEKDAY(),DAYOFWEEK(),WEEK(),WEEKOFYEAR().
- Aggregate Functions: VAR_POP().
Modify some functions:
- ROUND(): support round to given decimal places.
- CHAR_LENGTH(): support calculate multi-byte character's length.
- TIMEDIFF(): result will be negative when expr1 < expr2.
- STDDEV(): add alias name STDDEV_POP().
- SUBSTR(): add alias name SUBSTRING().
support new syntax SUBSTRING/SUBSTR(expr FROM pos [FOR len]).
2024-08-14 09:19:25 +08:00
sima
b26bdd550a
fix:[TD-31381] avoid double free.
2024-08-13 11:34:05 +08:00
dapan1121
3790a1f415
Merge pull request #26959 from taosdata/feat/TS-3718
...
feat:[TS-3718]save slow log file one day one file
2024-08-13 09:18:07 +08:00
sima
a3637af498
fix:[TD-31374] vectorConvertSingleCol set precision only when type is timestamp.
2024-08-12 18:59:10 +08:00
sima
64874f6e40
fix:[TD-31355] use correct way to handle error.
2024-08-09 16:00:05 +08:00
wangmm0220
e7b990f3dd
feat:[TS-3718]merge from 3.0
2024-08-08 17:35:24 +08:00
dapan1121
905d1eb762
Merge pull request #26972 from taosdata/fix/TD-29679/l2cache
...
Fix/td 29679/l2cache
2024-08-08 16:51:44 +08:00
sima
cb4cc327d9
fix:[TD-31326] Return correct error code in _return.
2024-08-08 14:19:17 +08:00
dapan1121
65cfa89f56
Merge pull request #27072 from taosdata/fix/3.0/TD-31313
...
fix:[TD-31313] fix error handling.
2024-08-08 13:53:07 +08:00
wangmm0220
3ef942bf4b
Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-3718
2024-08-08 10:59:45 +08:00
sima
ea1e2bc68e
fix:[TD-31313] fix error handling.
2024-08-08 10:32:44 +08:00
sima
ad523425b7
fix:[TD-31279] free memory when error occurred.
2024-08-08 08:05:20 +08:00
dapan1121
e8a6e15c49
Update filterInt.h
2024-08-07 16:10:27 +08:00
sima
a4c120ee28
fix:[TD-31276] check malloc result.
2024-08-07 13:29:20 +08:00
sima
c48d377582
fix:[TD-31264] fix wrong result when using concat multi-byte character with nchar.
2024-08-06 16:26:48 +08:00
xsren
3adaebd2a0
return value
2024-08-06 16:20:29 +08:00
wangmm0220
4d19f48d8a
feat:[TS-3718]save slow log file one day one file
2024-08-02 16:29:48 +08:00
sima
a81d8261e5
fix:[TD-31113] return 0.0 instead of -0.0 when using round() and ceil()
2024-07-31 14:00:06 +08:00
xsren
d0131bb83a
fix: not in null
2024-07-30 14:33:47 +08:00
xsren
d7aab4c7b6
fix: in null
2024-07-29 19:15:48 +08:00
sima
77f97d2a6d
enh:[TD-30996] Handling return value
2024-07-28 18:29:57 +08:00
Haojun Liao
7be2ecbe1f
fix(common): check the return value.
2024-07-27 18:55:34 +08:00
wangjiaming0909
1994c3339b
nodes add ret check
2024-07-26 17:55:48 +08:00
dapan1121
bf302a4abf
Merge pull request #26781 from taosdata/enh/TD-31088
...
Enh/td 31088
2024-07-26 17:49:14 +08:00
sima
90be5914f7
enh:[TD-31088] Handling return value of tcompare.c
2024-07-25 10:22:53 +08:00
Hongze Cheng
eaa3634764
enh: refactor error code
2024-07-25 08:51:19 +08:00
sima
6255a7ba10
enh:[TD-31063] use properer errcode.
2024-07-23 15:03:15 +08:00
sima
9130ac6138
enh:[TD-31063] Handling return value of taoshash and taosarray
2024-07-23 15:02:54 +08:00
sima
e1bcd84426
enh:[TD-30998] Handling memory release when error occurred.
2024-07-19 11:28:21 +08:00
sima
e7c58ff8c8
enh:[TD-30998] Handling return value in scalarTest.c
2024-07-19 11:28:21 +08:00
sima
71e57b1dfc
enh:[TD-30998] Handling return value in filterTest.c
2024-07-19 11:28:21 +08:00
sima
a1fb874c22
enh:[TD-30998] Handling return value in sclvector.c
2024-07-19 11:28:21 +08:00
sima
e0ffc8edcb
enh:[TD-30998] Handling return value in sclfunc.c
2024-07-19 11:28:21 +08:00
sima
2893a93303
enh:[TD-30998] Handling return value in scalar.c
2024-07-19 11:28:21 +08:00
sima
434fd97615
enh:[TD-30998] Handling return value in filter.c
2024-07-19 11:28:21 +08:00
factosea
eed684e072
fix: match check
2024-07-12 14:16:55 +08:00
factosea
2604a17fef
fix: invalid operation
2024-07-12 12:04:23 +08:00
factosea
57f826608a
checkout regex pattern at client
2024-07-12 11:48:48 +08:00
factosea
cfda747613
fix: match cache release
2024-07-11 21:00:08 +08:00
factosea
d0ade067b2
init regex cache in unit test
2024-07-11 09:12:41 +08:00
factosea
41b8693430
use regex cache
2024-07-10 19:46:09 +08:00
sima
96e3222726
fix:[TD-30730] fix mergejoin operator's timetruncate caculation on timezone.
2024-06-27 08:42:59 +08:00
sima
4601583361
fix:[TD-30730] Modify precision rules for input parameters of function timetruncate and add test.
2024-06-27 08:42:59 +08:00
sima
5685346d78
fix:[TD-30730] Modify precision rules for input parameters of function to_iso8601 and add test.
2024-06-27 08:42:59 +08:00
dapan1121
784fda8191
fix: cast long binary crash issue
2024-06-20 13:54:02 +08:00
dapan1121
e34a8b48df
Merge pull request #26008 from taosdata/fix/TS-4833/dataloaded
...
partition interval and limimt, dataload error
2024-06-17 08:32:19 +08:00
dapan1121
ddf15fa55c
Merge remote-tracking branch 'origin/3.0' into enh/stmtPerf.3
2024-06-05 17:13:48 +08:00
dapan1121
da8616d98a
fix: add stbInterlace mode test cases
2024-06-05 17:12:15 +08:00
dapan1121
6f696a3933
fix: insert into select constant issue
2024-06-04 16:27:51 +08:00
factosea
c42e627a41
test
2024-06-04 11:39:47 +08:00
wangjiaming0909
f6200dd923
support long ctb names
2024-04-16 14:25:34 +08:00