Commit graph

28 commits

Author SHA1 Message Date
Alex Duan
c133489917
new-libtaos-with-ws (#29971)
* enh: rename libtaos.so to libtaosinternal.so

* enh: let python system-test work

* enh: shell for libinternal.so

* enh: refact script

* enh: wrapper for libtaosinternal

* enh: rename some files

* enh: let shell support internal driver

* enh: minor changes

* enh: minor changes

* add intenal.h

* enh: remove unused codes

* enh: minor changs

* feat: mac os issues

* enh: let python test use internal connection

* enh: let nettest work

* enh: let taosc -C work

* enh: test shell in mac os

* enh: minor changes

* enh: let libtaosinternal.so work in linux

* enh: update install script

* enh: for ci

* enh: for windows compile

* enh: minor changes

* enh: compile in windows

* enh: minor changes

* enh: taosinternal work in windows

* enh: add taos_internal_static

* enh: rollback os_for_wrapper

* fix: conflicts

* fix: conflicts

* fix: compile errors

* fix: conflicts

* enh: rename taosinternal to taosnative

* enh: rename taosinternal to taosnative

* fix: compile error

* enh: remove taosnative.h

* fix: compile errors

* enh: set default shell options

* fix: compile errors

* fix: compile errors

* debug: switch taosws branch to feat/new-libtaos-with-ws

* enh: taosBenchmark remove WEBSOCKET finished

* fix: CMakeLists.txt remove WEBSOCKET

* fix: compile errors

* fix: taosBenchmark delete restful code

* .gitignore remove taos-tools folder

* fix: remove taosdump WEBSOCKET MACRO

* fix: build error for taosdump

* fix: build project passed

* fix: support -Z for connect mode

* fix: build error

* fix: build error fixed

* fix: add -Z options

* fix: native and websocket with string

* fix: -Z option core

* fix: build unit test

* fix: build error

* fix: add colon for array

* fix: unit test can not include fun

* fix: CTest pointer null is nullptr

* fix: include pub.h

* fix: taosdump add -Z --driver options

* fix: taosdump support -Z with pub.h pub.c

* fix: toolsGetTimeDay move to pub.c

* fix: restore pub.c only simple fun

* fix: add error tips

* fix: tmfree remove from taosdump

* fix: remove double declare taos variant

* fix: taos support -Z option

* enh: configDir set with main fun

* fix: add g_arguments.configDir

* fix: show tips add cfgdir

* fix: g_argument is pointer

* fix: configDir is global var

* fix: declare g_configDir in benchMain.c

* fix: taos version not show on websocket

* stmt2 websocket prepare with supertable

* stmt2 websocket prepare build

* fix: stmt and stmt2 prepare add db name

* fix: remove -R --restful test case

* fix: taosBenchmark adjust priority cmd > json > evn

* fix: add connect mode test case connMode.py

* fix: clear evn and add host port check

* fix: army/test.py modify start taosAdapter is default

* change: system-test/test.py default start taosAdapter

* fix: add taosAdapter variant to system-test/test.py

* fix: -y must put behind other options

* fix: remove rest sml and add -N normal case

* fix: add -c work cfg test case

* del: queryMain.py remove rest query

* fix: remove groups have a blank append bug

* fix: caseBase.py add db in sql query

* fix: query_json.py remove rest test

* fix: taosBenchmark uniform dsn describe

* fix: add pub.h pub.c to tools public

* fix: case remove restful interface

* fix: build error

* fix: taosDriverCleanup no arg call

* fix: taosdump add test conn mode case taosdumpCommandline.py

* fix: modify insertFullType.json db name

* fix: taosdump connMode test case taosDumpCommandline.py passed

* enh: priority cmd > env > json

* fix: taosCli remove is_native variant

* fix: password is not pointer

* fix: comment -o test case

* fix: solve fun return code check

* fix: windows unresolved strcasecmp

* fix: remove coverHostToServAddr

* fix: forbid check ODR violation

* ci: trigger pr run

* fix: build error not del >>>>>3.0

* fix: support json dbinfo->vgroups have blank space

* fix: solve conflict with merge

* fix: with TrimCaseCmp fun to compare vgroups

* fix: del vgroups support blank code

* feat: wrapper add taos_fetch_fields_e

* fix: move jni from libtaosnative.so to libtaos.so

* fix: move clientTmqConnector.c for jni

* fix: fix assert check with del comment code

* fix: taosBenchmark add prepare stmt debug log

* fix: stmt2 already have debug log on preapare

* fix:  (double)LLONG_MAX force covert

* fix: stmt insert normal table with websocket

* fix: normal table with stmt too many ?

* fix: taosdump stmt_prepare with child tbname

* fix: build error add int code

* feat: stmtPrepare with child table to do

* taos -a options move to native test case

* fix:unit test benchmarkTest passed

* fix: query_json-with-sqlfile.py case no check results

* fix: queryMain.py case lost, put in tasks again

---------

Co-authored-by: Shengliang Guan <slguan@taosdata.com>
2025-03-20 22:54:29 +08:00
factosea
31776831df enh: osThread/ossystem 2024-11-12 13:13:02 +08:00
xsren
7a42756511 replace snprintf with tsnprintf 2024-10-20 22:36:52 +08:00
xsren
e87bd926da fix: Memory detection in macro definition 2024-09-18 09:18:30 +08:00
dapan1121
d3ab79da10 fix: os return code 2024-07-25 11:47:04 +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
dapan1121
5a98690a63 fix: windows stack display issue 2023-01-06 13:39:36 +08:00
dapan
47125b5d9d fix: windows crash report issues 2023-01-04 15:11:01 +08:00
dapan1121
b8cbc93584 Merge remote-tracking branch 'origin' into enh/TD-21108 2022-12-30 17:38:38 +08:00
xinsheng Ren
fcf64fa3d5
Enh/xsren/win print trace mainbase (#19279)
* enh/TD-21425/windows print trace

* enh/windows trace test

* fix/check calloc failed

* enh/windows print,stack size hard code
2022-12-30 15:39:15 +08:00
dapan1121
dfefb68aa6 feat: support crash report 2022-12-30 13:30:54 +08:00
Shengliang Guan
a3c1d3e1ba fix: compile error in windows 2022-12-08 12:26:10 +08:00
Shengliang Guan
1d34b7edf8 enh: print dnode startup parameters 2022-12-08 10:50:24 +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
c6e9b8c0fa enh: add tassert funcs 2022-12-07 16:27:20 +08:00
Shengliang Guan
e7ee48fd38 enh: add tassert funcs 2022-12-07 16:06:07 +08:00
Hongze Cheng
4cc94968ee refact: format header file 2022-10-13 11:09:43 +08:00
afwerar
67fbb73910 build: release ver-3.0.0.10003 2022-08-10 11:23:37 +08:00
afwerar
ec5db6e195 shell: fix taos shell ctrl-c exit error 2022-07-22 09:42:06 +08:00
afwerar
06e8ba9f14 os: win shell catch ctrl-c 2022-06-27 20:56:37 +08:00
Shengliang Guan
d2d5196186 refactor(tools): refact shell codes 2022-04-21 21:10:09 +08:00
afwerar
5034cf4e3f fix(grant): taosd -k. 2022-04-13 16:48:29 +08:00
Zhiqiang Wang
29c5e63d85
Merge pull request #10882 from taosdata/fix/ZhiqiangWang/TD-13762-redefine-atomic-api
[TD-13762]<fix>: redefine atomic api.
2022-03-22 01:06:55 +08:00
afwerar
a263f72d58 [TD-13762]<fix>: redefine atomic api. 2022-03-22 00:54:21 +08:00
Shuduo Sang
e0dca33a98
[TD-13558]<feature>: taos shell refactor for 3.0 (#10871)
* [TD-13558]<feature>: taos shell refactor

add taosTools as submodule

* add tools/taos-tools

* add more client interface for taosTools compile

* update taos-tools

* update taos-tools

* refactor shell
2022-03-21 17:29:24 +08:00
afwerar
6b6c43646d [TD-13770]<fix>: redefine system api. 2022-03-10 18:06:20 +08:00
Shengliang Guan
c0a171b144 [TD-10430] adjust os module 2021-10-03 10:32:14 +08:00
Renamed from src/os/inc/osSystem.h (Browse further)