Commit Graph

109 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
Shengliang Guan 877dbd8e90 fix: complie errors 2024-11-22 22:19:42 +08:00
Shengliang Guan 5e80e89cb3 refact: rename taos lib name 2024-11-22 16:23:16 +08:00
sheyanjie-qq 8fe4ba4a9f recover ci sample code 2024-08-22 20:33:45 +08:00
Yaming Pei 9ddfefc6bf optimized the cpp connector sample code page 2024-08-22 11:26:11 +08:00
Haojun Liao b1aa86a290
Merge pull request #22605 from taosdata/feat/TD-18789
feat:support varbinary type
2023-08-30 11:29:26 +08:00
wangmm0220 de91793630 fix:compile error 2023-08-29 17:20:06 +08:00
wangmm0220 9435d78245 fix:rollback 2023-08-29 16:02:05 +08:00
wangmm0220 af89cb0af5 fix:memory error 2023-08-29 15:58:24 +08:00
wangmm0220 34c7832850 feat:support stmt/tmq json in varbinary type 2023-08-29 15:24:12 +08:00
Shuduo Sang 7440cccd58
fix: refine example demo.c (#22473)
* fix: use latest version of jdbc connector

* fix: remove locale and timezone to avoid confusing user

* fix: update readme.md

* fix: refine demo.c
2023-08-18 00:19:27 +08:00
wangmm0220 beb84b2355 fix:tmq interface & remove snapshot code 2023-08-15 15:37:39 +08:00
wangmm0220 60191bef9e fix:tmq interface & remove snapshot code 2023-08-14 16:24:56 +08:00
yihaoDeng 9b749b8faa change link op t 2023-06-08 02:43:44 +00:00
yihaoDeng 52d81476be change link opt 2023-06-07 07:33:35 +00:00
t_max 2aad823709 fix: free assignment crash on Windows 2023-05-22 10:53:10 +08:00
Haojun Liao 62dad38d5c refactor: do some internal refactor and add the sample code. 2023-04-24 15:25:49 +08:00
Xiaoyu Wang d6dd087f84 merge main 2023-02-25 10:29:20 +08:00
Xiaoyu Wang 58fc265b80 merge main 2023-02-24 13:26:45 +08:00
Haojun Liao 97024f1468 fix(query): fix coverity issue. 2023-02-24 09:48:34 +08:00
Haojun Liao 6e39bec448
Merge pull request #20089 from taosdata/fix/TD-22671
fix:remove useless logic in tmq
2023-02-23 17:27:00 +08:00
Xiaoyu Wang 1ab144609e merge main 2023-02-23 14:58:22 +08:00
Haojun Liao 61a7001274 fix(query): fix coverity issues. 2023-02-22 10:50:42 +08:00
dapan1121 42525b846a fix: fix issues reported by coverity scan 2023-02-22 09:58:18 +08:00
wangmm0220 b28c0ad952 fix:remove useless logic in tmq 2023-02-21 18:49:39 +08:00
Haojun Liao 0f60ddb3cd fix(query): fix error. 2022-12-19 15:51:12 +08:00
yihaoDeng 11e7c94134 modify test case and memleak while client quit 2022-12-18 13:11:30 +08:00
dapan1121 360282e565 fix: compile issue in user env 2022-12-14 09:05:35 +08:00
dapan1121 c2f0aabc8e fix: int64 print issue 2022-12-13 19:26:56 +08:00
dapan1121 b4d3d1432f fix: invalid head file 2022-12-13 18:51:51 +08:00
dapan1121 518d60ad54 fix: fix CMakeList.txt issue 2022-12-13 18:31:51 +08:00
dapan1121 259946e0f8 fix: add cmake file 2022-12-13 18:21:30 +08:00
dapan1121 186384dda3 fix: refact some example files 2022-12-13 15:26:16 +08:00
yihaoDeng 335867cd92 change gen rule 2022-11-07 10:29:02 +08:00
yihaoDeng dea0e3c261 stmt reqid incr one 2022-11-06 20:59:17 +08:00
yihaoDeng 1396d7c7b8 add test 2022-11-04 19:16:37 +08:00
yihaoDeng 1613b43f49 add test 2022-11-04 19:16:04 +08:00
Liu Jicong 4b5807c7f0 fix(tmq): set precision 2022-10-26 15:54:00 +08:00
Ganlin Zhao 51e5522ca4 fix: coverity issues
CID: 399471
2022-10-17 16:45:07 +08:00
Shuduo Sang 9781c1c2d2
fix: demoapi coverity scan issues and lint warnings (#17371)
* fix: demoapi.c coverity scan issues

* fix: coverity scan issue and lint warnings
2022-10-15 20:45:01 +08:00
Shuduo Sang ceaf0970c9
fix: demoapi.c coverity scan issues (#17350) 2022-10-14 16:13:35 +08:00
Liu Jicong 41474e40bf enh(wal): auto fix 2022-10-12 02:08:58 +08:00
Liu Jicong 14c4ff1d94 add demo for stream user defined table name 2022-10-11 16:48:13 +08:00
wangmm0220 ed137b36d5 opti: test casese for tmq snapshot for taosX 2022-08-30 14:11:44 +08:00
wangmm0220 6b61d3c23b fix:conflicts from 3.0 2022-08-25 16:57:19 +08:00
wangmm0220 4cc2d361e1 fix:error in getting snapshot for taosX 2022-08-25 16:55:12 +08:00
Liu Jicong 24261cc90b refactor(stream): refine stream backend interface 2022-08-24 15:53:29 +08:00
wangmm0220 2afc23a120 fix:conflicts from 3.0 2022-08-24 13:59:51 +08:00
Liu Jicong 2d628491b2 feat(stream): support tdb state backend 2022-08-23 19:30:04 +08:00
wangmm0220 514711e54c feat:get data from snapshot for taosx 2022-08-23 17:28:49 +08:00