Jinqing Kuang
7bbda0c92a
fix(query)[TD-33008]. fix error handling in tsdbCacheRead
...
Fix an issue that a freed null pointer was accessed during error
handling in tsdbCacheRead, which would cause a crash.
2024-11-25 15:09:11 +08:00
Jinqing Kuang
b4e0f9a922
enh(query)[TD-32127]: improve code quality of tsdbRead module
...
- Add parameter validation for functions to ensure robustness
- Nullify pointers when freeing memory to prevent dangling pointers
- Initialize local variables to avoid undefined behavior
- Add error handling and logging for better debugging
2024-11-11 11:53:28 +08:00
Shungang Li
e3beccbde1
enh: add more log for last cache retrieve
2024-11-05 13:49:38 +08:00
Jing Sima
6231d46cc5
enh:[TD-32189] Add validation to prevent changes to resultinfo structure.
2024-10-12 15:14:59 +08:00
Pan Wei
fa9f8f257b
Merge pull request #27984 from taosdata/enh/TD-31691
...
enh:modify error code passing
2024-09-20 08:44:07 +08:00
lyh250-666
ae7dde1aa2
enh:modify error code passing
2024-09-19 19:51:51 +08:00
Pan Wei
380470bceb
Merge pull request #27918 from taosdata/enh/TD-32130-3.0
...
enh(query)[TD-32130]. Handle return values of memory allocation functions
2024-09-19 16:32:08 +08:00
Hongze Cheng
c0b3cc17fc
Merge pull request #27899 from taosdata/enh/TD-32121-3.0
...
enh: retrieveRows no more if got all data
2024-09-19 09:12:14 +08:00
Jinqing Kuang
4b46c4c1fc
enh(query)[TD-32130]. Handle return values of memory allocation functions
2024-09-19 09:06:01 +08:00
Shungang Li
0fd4928dc2
enh: retrieveRows no more if got all data
2024-09-14 17:02:38 +08:00
xsren
1b48080a94
fix: os return
2024-09-14 11:47:20 +08:00
Minglei Jin
8547b8c942
fix(tsdb/cache/read): comment lastTs out to load stt data
2024-09-13 09:54:26 +08:00
Haojun Liao
4319cacdc3
fix(query):fix invalid read.
2024-09-11 19:09:17 +08:00
Hongze Cheng
63b64a90c0
enh: remove void with error code handle
2024-09-10 13:12:05 +08:00
xsren
c98f6daf11
errcode cast
2024-09-09 10:21:57 +08:00
xsren
3fb89fb814
fix: distinguish the calling scenarios of the metaGetTbTSchema function
2024-09-06 14:16:58 +08:00
lyh250-666
06daf85130
Modify error code passing for taosMemoryCalloc function in vnode
2024-08-27 17:37:01 +08:00
Shungang Li
f8ffc4b08a
fix: (last) handle memory leaks in exception branch
2024-08-22 16:32:46 +08:00
Shungang Li
b4ee6bb16a
fix: (pk) memleak in tsdbRetrieveCacheRows
2024-08-21 14:17:50 +08:00
Haojun Liao
b21cc86ce3
fix(query): check return value.
2024-08-06 17:48:28 +08:00
Haojun Liao
59d190508d
fix(query):check return code
2024-08-06 16:46:40 +08:00
Haojun Liao
4d8064c950
fix(tsdb):fix invalid return code.
2024-07-23 19:16:06 +08:00
Haojun Liao
3bddd051ca
other: merge 3.0
2024-07-23 17:18:55 +08:00
Haojun Liao
7497f193c7
fix(stream): check return value, and do some internal refactor.
2024-07-23 14:47:29 +08:00
Shungang Li
50e802d1d8
fix: tsdbRetrieveCacheRows free memory issue
2024-07-23 10:13:24 +08:00
Shungang Li
44fa1636f2
fix: (last cache) compare pk when merging ctb data
2024-07-22 16:58:13 +08:00
Haojun Liao
dd590f36e2
refactor: do some refactor.
2024-07-15 23:53:12 +08:00
Haojun Liao
51e9723d66
refactor: do some refactor.
2024-07-15 19:37:52 +08:00
Shungang Li
7ae4415890
fix: refactor lastcache ser/des for compatibility
2024-05-09 19:04:11 +08:00
Haojun Liao
59a3e8ca40
fix(tsdb): overlap check take pk into consideration.
2024-04-25 23:25:24 +08:00
Haojun Liao
ac860f7fe8
fix(query): add ts in cache_scan_operator if pk exists and only retrieve ts column.
2024-04-25 09:29:42 +08:00
Haojun Liao
ace5e12e65
fix(tsdb): set the correct lflag when creating tsdbCache reader.
2024-04-23 19:25:51 +08:00
Haojun Liao
1e89b86827
refactor: do some internal refactor.
2024-04-12 13:51:29 +08:00
Haojun Liao
980382d433
fix(tsdb): fix memory error.
2024-04-10 11:18:08 +08:00
Shungang Li
bc1c7545a8
mock commit for pk last read, need to revert
2024-04-07 17:31:06 +08:00
Haojun Liao
f61596706d
fix(tsdb): add attributes for cache scan optr.
2024-03-26 17:34:30 +08:00
Hongze Cheng
710a8ccbf2
fix more code
2024-03-08 13:14:54 +08:00
Hongze Cheng
4b71031014
more code
2024-02-21 14:29:10 +08:00
dapan1121
53094f62d8
Merge pull request #24359 from taosdata/FIX/TD-27003
...
Fix : use last row scan when select last_row, last
2024-01-16 08:50:23 +08:00
fullhonest
fafb5b1f03
Fix TD-28018: last row num error where partition by null column
2024-01-15 18:29:41 +08:00
fullhonest
cb2ab749b5
Fix TD-27003: use last row scan when select last_row, last
2024-01-15 15:22:29 +08:00
wangjiaming0909
a6c876bbc1
fix: last/last_row crash with dropped column
2023-12-05 14:16:01 +08:00
wangjiaming0909
a6600ab23a
correct colid in blockinfo
2023-11-09 15:41:01 +08:00
wangjiaming0909
3e850df3c2
fix: last(ts2), ts2, ts caused data err
2023-11-08 14:43:11 +08:00
wangjiaming0909
fc6c4fba90
feat: cache scan for select last(c), ts/c
2023-11-08 13:39:28 +08:00
Minglei Jin
ec908fa4d0
fix(cache/reader): use int64 max instead of uint
2023-11-06 15:34:28 +08:00
Minglei Jin
93438ed838
fix(tsdb/carch reader): reset current fileset in cache reader
2023-10-09 15:24:24 +08:00
Minglei Jin
82fc1f41fb
fix(tsdb/cache read): remove all null row
2023-08-29 16:15:00 +08:00
Haojun Liao
6609882f9f
fix(tsdb): add stt statistics block buffer, and do some internal refactor.
2023-08-16 10:55:07 +08:00
Minglei Jin
0e51277521
cache/reader: cleanup contiue nex row
2023-08-02 12:43:57 +08:00