Commit Graph

55 Commits

Author SHA1 Message Date
kailixu 1d23b0215c fix: exclude sys/sysinfo.h for mac 2023-07-24 10:07:15 +08:00
kailixu 3b11661c40 chore: code optimization 2023-07-24 09:14:49 +08:00
kailixu 3cfa49066a chore: uptime logic optimize 2023-07-23 23:25:58 +08:00
Shuduo Sang ea5d925c50
fix: alpine support (#19353)
* fix: alpine support

* fix: ostimer thread_id

* fix: taosPrintTrace and tsStreamMax

* fix: make_install.sh and dnodes.py for alpine

* fix: cmake.platform and cut option for alpine

* fix: timer sigev and string convert

* fix: test case for alpine

* fix: fix test script for alpine

* fix: fix test script for alpine

* fix: fix taosLogTrace for Alpine

* fix: fix taosSort

* fix: vnode and mnode compare functions and test cases

* fix: sorting algorithms and unit tests

* fix: libtaosws.so build error on Alpine

* fix: libtaosws.so build error on Alpine

---------

Co-authored-by: t_max <1172915550@qq.com>
2023-02-10 13:00:55 +08:00
xinsheng Ren 936f282eab
TD-21220 fix assert (#19363)
* TD-21220 fix assert

* fix/compile failed

* fix/taosEOFFile exception return

Co-authored-by: facetosea <25808407@qq.com>
2023-01-05 09:20:14 +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 e7ee48fd38 enh: add tassert funcs 2022-12-07 16:06:07 +08:00
Shuduo Sang f565ff3769
fix: get cpuid on x86 only (#18552)
* chore: taostools sanitizer flag align with tdengine

* chore: re-enable old style build asan config for taos-tools

* chore: update taos-tools 274d230

* chore: update taos-tools and add x86 definition

* fix: get cpu id on x86 only
2022-11-29 23:42:20 +08:00
wangmm0220 10c0d45b3a fix: cpuid.h error in mac for M1 cpu type 2022-11-29 11:57:12 +08:00
Haojun Liao d77f5fa70c fix(query): fix error in windows and darwin system. 2022-11-25 22:54:54 +08:00
Haojun Liao b83f895726 refactor: do some internal refactor. 2022-11-11 14:16:13 +08:00
Shengliang Guan 8764cf9adb refact: remove multi process codes 2022-10-19 11:08:42 +08:00
Hongze Cheng 4cc94968ee refact: format header file 2022-10-13 11:09:43 +08:00
afwerar 445596011e fix: win compile error 2022-10-11 14:12:11 +08:00
afwerar bdf0a41b39 os: fix Mac access error 2022-08-26 14:52:17 +08:00
afwerar b9a1c6744c os: add Mac compile support 2022-07-02 17:40:23 +08:00
afwerar 925276e449 os: add alloca func 2022-06-25 11:14:10 +08:00
afwerar c234adbb85 shell: fix shell chinese error 2022-06-22 17:07:49 +08:00
afwerar b7ca4f7710 fix(os): win str to int64 error 2022-05-17 13:50:16 +08:00
afwerar bf9ab440a7 fix(os): fix new compilation errors. 2022-04-27 17:39:54 +08:00
afwerar fc24521621 fix(os): windows compile 3.0. 2022-04-22 09:54:27 +08:00
Shengliang Guan 4d6c844438 shm 2022-03-30 21:09:45 +08:00
Shengliang Guan a341c476c0 shm 2022-03-30 14:06:36 +08:00
Shengliang Guan dd94e2da5a shm 2022-03-29 21:13:09 +08:00
afwerar c712e581b3 [TD-13772]<fix>: add timezone enum. 2022-03-26 17:58:56 +08:00
afwerar caf1e0e860 [TD-13759]<fix>: redefine thread api. 2022-03-20 00:45:00 +08:00
afwerar 30c10ef8b3 [TD-13063]<fix>: prepare for win compilation. 2022-03-17 14:22:36 +08:00
Shuduo Sang 23bef711fc
Feature/sangshuduo/td 13063 3.0 windows (#10720)
* [TD-13063]<feature>: 3.0 on Windows

* add pthread in contrib

* fix linux compile

* fix osSemaphore

* add gnu regex for Windows

* fix compile error for Windows

* support arm platform

* port more OS files

* fix for Windows compile

* port more files

* fix macOS on x86_64

* port osFile

* port osSemaphone.h

* port osSocket.c

* port tconfig.c

* port ttimer.c

* add couple files
2022-03-15 21:35:04 +08:00
Shuduo Sang ba8d9a798e
Feature/sangshuduo/td 13063 3.0 windows (#10708)
* [TD-13063]<feature>: 3.0 on Windows

* add pthread in contrib

* fix linux compile

* fix osSemaphore

* add gnu regex for Windows

* fix compile error for Windows
2022-03-11 19:39:20 +08:00
Haojun Liao 03629aabaf [td-13039] refactor. 2022-03-01 17:31:05 +08:00
Shengliang Guan 4fe44df5b8 os 2022-02-28 19:22:49 +08:00
Shengliang Guan 7778830966 locale 2022-02-24 13:51:12 +08:00
Shengliang Guan 2331525a32 timezone 2022-02-24 12:19:51 +08:00
Haojun Liao 971b1d2890 [td-11818]Set thread name. 2022-01-24 18:30:57 +08:00
Hongze Cheng b1351da7cd refact 2022-01-07 02:05:51 +00:00
Hongze Cheng 4cc10cfaef more 2022-01-06 09:09:24 +00:00
Hongze Cheng 87c2a31ab6 fix 2022-01-06 08:39:58 +00:00
Hongze Cheng 9e3e40ad6e integrate TFS 2022-01-06 08:15:09 +00:00
yihaoDeng a84af55702 refactor code 2022-01-04 23:24:37 +08:00
yihaoDeng 82745dea80 refactor code 2022-01-04 23:13:08 +08:00
Liu Jicong 044b02bb60 add wal implementation 2021-11-23 15:46:23 +08:00
Haojun Liao f69a885da5 [td-10564]Add implementation in executor. 2021-11-02 13:37:31 +08:00
Haojun Liao b7917aa43b [td-10564] Add codes for query parsing. 2021-10-21 11:06:52 +08:00
Haojun Liao 949b62cc44 [td-10529] merge 3.0. 2021-10-08 11:54:12 +08:00
Haojun Liao ee9013e4de [TD-10529]refactor & add required APIs. 2021-10-08 10:23:44 +08:00
Haojun Liao c6d23aa82d [TD-10529] 2021-10-06 23:46:48 +08: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 7af18fc96c add some os files 2021-09-30 16:41:02 +08:00