Commit graph

50 commits

Author SHA1 Message Date
Kaili Xu
13f9bddf3d
feat: support customized taos/taosd (#29736)
* feat: support TDAcoreOS

* chore: cmake options for TD_ACORE

* chore: disable lemon for TD_ACORE

* chore: add lzma2 and msvcregex

* chore: cmake for lzma2

* chore: adapt for TD_ACORE

* chore: adapt strcasecmp for TD_ACORE

* chore: adapt for geos/threadName

* chore: build adapt for TD_ACORE

* chore: build adapt for TD_ACORE

* chore: build adapt for TD_ACORE

* chore: build adapt for TD_ACORE

* chore: build adapt for TD_ACORE termio

* chore: refact transComm.h for TD_ACORE

* chore: refact transportInt.h for TD_ACORE

* chore: refact trans.c for TD_ACORE

* chore: refact trpc.h for TD_ACORE

* chore: refact transCli.c/transComm.c/transSvr.c for TD_ACORE

* chore: refact uv.h for TD_ACORE

* chore: refact geosWrapper.h for TD_ACORE

* chore: refact token/builtins/udf for TD_ACORE

* chore: refact rocks for TD_ACORE

* chore: refact tsdbCache.c for TD_ACORE, use LRU cache for last/last_row, not use rocksdb

* chore: refact FAIL to _ERR to solve conflicts for TD_ACORE

* chore: restore lemon.c/lempar.c

* chore: support build lemon for TD_ACORE

* chore: refact trpc and siginfo_t for TD_ACORE

* chore: refact timezone for TD_ACORE

* chore: refact lz4 for TD_ACORE

* chore: refact TD_ACORE to make compile pass

* chore: code optimization for TD_ASTRA

* feat: support run taos with taosd integrated

* feat: support invoke taos shell

* feat: support invoke taos shell

* feat: support invoke taos shell

* chore: code optimization

* chore: fix undefined reference problem os TD_ASTRA

* chore: resolve compile problem for TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix getpid

* chore: fix typo

* chore: set stack size and ajust min pack size for TD_ASTRA

* chore: fix pthread create parameters

* chore: chmod adapt for TD_ASTRA

* chore: fix trans compile problem

* chore: adapt chmod for TD_ASTRA

* chore: byte alignment for TD_ASTRA

* chore: more code for adaption of TD_ASTRA

* chore: more code for adaption of TD_ASTRA

* chore: more code for adaption of TD_ASTRA

* chore: byte alignment for TD_ASTRA

* chore: conditional compile option

* chore: adapt for TD_ASTRA

* chore: adjust taosPId and msvcregex for TD_ASTRA

* chore: log dir separator for wal build name

* chore: fix type of pointer parameter

* chore: fix compile problem of tsdbGetS3Size

* enh: get last ver from wal log for TD_ASTRA

* enh: refact wal meta ver

* enh: refact wal meta ver

* fix: typo of taosUcs4Compare

* enh: process return value of CI

* chore: more code for TD_ASTRA adaption

* chore: return value of taosCloseFile in walMeta.c

* chore: fix compile problem

* chore: fix compile problem of TD_ASTRA

* fix: update macro for tq and stream task

* chore: code optimization for TD_ASTRA

* chore: restore create log and init cfg interface

* chore: restore strncasecmp and strcasecmp

* fix: adjust the field position of SDataBlockInfo

* fix: pragma pack min size

* fix: pragma pack min size

* chore: more code for TD_ASTRA adaption

* fix: type of parameters

* chore: adapt strncasecmp and strcasecmp for TD_ASTRA

* chore: restore interface of init log

* enh: pack push optimization

* fix: taos init cfg

* add astra support

* fix: fetch the value of suid

* chore: switch of  build with udf

* add temp code

* chore: more code for TD_ASTRA adaption

* chore: add macro ERRNO to replace errno

* chore: bytes align for TD_ASTRA

* fix: remove obsolete codes

* enh: support USE_UDF macro

* fix compile error

* fix: resolve redefinition problem

* fix: compile problem of log.cpp

* fix: compile problem of osTimezone

* fix: resolve compile problem of udf

* fix: pragma definition on windows

* fix: ucs4 and stpncpy for TD_ASTRA

* fix: memory align problem for TD_ASTRA

* enh: solve memory leak for TD_ASTRA_RPC

* fix: compile problem of taosSetInt64Aligned

* fix: restore mndSubscribe.c

* fix: scalar for udf

* chore: code adaption for TD_ASTRA

* chore: code optimization for TD_ASTRA

* fix: typo of add definition

* fix: typo of macro in tudf.h

* chore: remove void to make CI pass

* enh: move macro from cmake.platform to cmake.options

* enh: byte align for hash node and error code

* chore: restore the size for lru cache

* enh: restore some code about pack push

* chore: restore the pack push in tmsg.h

* fix: add macro of pack pop for windows

---------

Co-authored-by: yihaoDeng <luomoxyz@126.com>
2025-03-14 13:32:13 +08:00
dapan1121
876e7d7d8e fix: code merge issues 2024-12-12 13:38:06 +08:00
dapan1121
ca15163215 Merge remote-tracking branch 'origin' into feat/TD-30268 2024-12-12 11:41:00 +08:00
kailixu
eaf5978b2c Merge branch '3.0' into feat/TD-30268 2024-12-10 18:49:15 +08:00
yihaoDeng
215208a985 Replace unsafe memory functions with safe versions 2024-12-04 13:35:11 +08:00
wangmm0220
074f39f4f6 feat:[TD-32642] add timezone support in windows 2024-12-03 18:28:36 +08:00
wangmm0220
2c3c01cfff feat:[TD-32642] add charset for connection support 2024-11-27 22:57:48 +08:00
wangmm0220
0e2a16d70f feat:[TD-32642] add charset for connection support 2024-11-27 14:25:34 +08:00
dapan1121
f7503a2ea9 fix: new merge code 2024-10-24 17:19:26 +08:00
dapan1121
4f3484b823 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-10-24 16:49:38 +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
xsren
c7f6349e14 tsnprintf 2024-10-10 10:35:29 +08:00
dapan1121
0055d9544c fix: use safe function 2024-10-08 19:18:48 +08:00
xsren
7f2a2cfbd0 enh: safe function 2024-10-08 14:25:51 +08:00
xsren
63f44dcacb fix build error 2024-09-30 09:53:31 +08:00
xsren
18bc5a048f taosStrndup 2024-09-26 14:46:53 +08:00
xsren
78e9bb95ac osString 2024-09-12 14:02:19 +08:00
dapan1121
a15d340e5e fix: ut issues 2024-08-08 18:31:33 +08:00
dapan1121
f0f6787b74 fix: os return code validation 2024-07-24 15:00:23 +08:00
dapan1121
e5fde30635 fix: function return code validation 2024-07-19 17:37:48 +08:00
dapan1121
2eec17b20c enh: add catalog return code processing 2024-07-17 19:23:20 +08:00
dapan1121
cb48954ef3 enh: add return code validation 2024-07-16 13:26:26 +08:00
t_max
f030af3aab fix: build fails on macOS and Windows 2024-05-11 14:59:05 +08:00
kailixu
e495f347c8 enh: acquire conv in batch mode when convert ucs4 to mbs 2024-04-18 17:17:04 +08:00
xsren
87a536d583 fix: tstrdup 2023-12-11 18:19:34 +08:00
wangmm0220
26e025d78d feat:[TD-18789]support varbinary type 2023-08-25 15:43:45 +08:00
wangmm0220
f266d51764 feat:support varbinary type 2023-08-16 19:05:07 +08:00
Shengliang Guan
1bb1025f7d enh: add tassert 2022-12-07 22:24:47 +08:00
Shengliang Guan
6d94afe48f
Revert "refact: adjust some assert cases" 2022-12-07 21:51:17 +08:00
Shengliang Guan
f69a188f7e refact: replcase ASSERT with tAssert 2022-12-07 18:37:40 +08:00
Hongze Cheng
4cc94968ee refact: format header file 2022-10-13 11:09:43 +08:00
afwerar
00a9491a97 os: fix Mac test error 2022-09-23 17:50:43 +08:00
dapan1121
77837f6e6a fix: fix crash issue 2022-07-30 15:10:24 +08:00
dapan1121
80a32d6235 fix: fix mbs2ucs4 crash issue in taosd 2022-07-30 11:31:05 +08:00
dapan1121
4de8d28f63 fix: fix ucs4 convertion issue 2022-07-29 18:35:23 +08:00
afwerar
1a18422fdb os: fix sprintf signed char error 2022-07-02 14:29:56 +08:00
afwerar
51721dfc47 fix(os): win run error 2022-05-19 10:37:11 +08:00
afwerar
61729d6805 fix(os): update windows compile error 2022-05-14 10:43:00 +08:00
Ganlin Zhao
455737f2cb fix(query): add hex encoding/decoding for transmitting nchar constant
from client to server in JSON
2022-05-05 17:15:09 +08:00
afwerar
fc24521621 fix(os): windows compile 3.0. 2022-04-22 09:54:27 +08:00
afwerar
a263f72d58 [TD-13762]<fix>: redefine atomic api. 2022-03-22 00:54:21 +08:00
afwerar
caf1e0e860 [TD-13759]<fix>: redefine thread api. 2022-03-20 00:45:00 +08:00
afwerar
159c2671a2 [TD-13767]<fix>: forbid wchar_t. 2022-03-18 16:48:12 +08:00
afwerar
394178da68 [TD-13767]<fix>: only use iconv. 2022-03-18 13:23:48 +08:00
Shengliang Guan
7778830966 locale 2022-02-24 13:51:12 +08:00
Xiaoyu Wang
5e981e43ad TD-11819 Parsing insert statement and assembling binary objects. 2021-12-09 03:39:15 -05:00
Shengliang Guan
c0a171b144 [TD-10430] adjust os module 2021-10-03 10:32:14 +08:00
Shengliang Guan
e889008732 include file for os module 2021-09-30 17:10:36 +08:00
Shengliang Guan
0d36837ee5 [TD-10430] compile error while add dnode module 2021-09-30 13:40:57 +08:00
Renamed from src/os/inc/osString.h (Browse further)