* test: add python scripts for test windows cases replace the old bat scripts
* refactor: update color_echo function to use log_file instead of error_file
* ci: update workflow to use fixed branch for Windows test runs
* chore: add empty line for better readability in tdengine-test.yml
* test:fix from branch fix/xftan/taos-shell-configdir
* fix: replace global variant configDir with local variant on taos
* fix: remove check cfgdir exist
* fix: restore no input msg
* fix: move dumpConfig after taos_options
* fix: dump Config on windows failed
* fix: move configDirShell variant to shellArgument.c
* fix: get last char pos is -1
* ci: update Windows test workflow to use main branch and enhance test output
* ci: remove unnecessary line from tdengine-test workflow
---------
Co-authored-by: Alex Duan <417921451@qq.com>
* 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>
* 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>
* feat: taos shell support cloud (3.0)
* fix: affected row and reuse data
* feat: add custom ws timeout
* feat: handle ctrl c for ws
* fix: do not show any info about cloud if not websocket defined
* fix: other os compile
* fix: compile os error
* fix: compile error
* fix: review suggestions