Commit Graph

154 Commits

Author SHA1 Message Date
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
Shuduo Sang 4093649309 chore: use brand name instead 2022-12-30 13:06:21 +08:00
dapan1121 17c6d303e3
Merge pull request #18698 from taosdata/TS-2155-3.0
fix(shell): forbid .taos_history record password for security
2022-12-05 17:19:44 +08:00
Alex Duan 83f7c7c2d0 fix(shell): forbid record password in taos_history file 2022-12-05 14:36:34 +08:00
Alex Duan 1cc0df89ab fix(shell): forbid record password in taos_history file 2022-12-05 14:19:31 +08:00
Alex Duan 693a602c62 feat(api): modify prompt text 2022-12-02 18:27:18 +08:00
Alex Duan 83a4f76ece feat(shell): affected rows int64 2022-12-02 17:15:51 +08:00
Alex Duan 39482b24db feat(shell): supported affected rows int64_t 2022-12-02 16:42:38 +08:00
Shengliang Guan 0860ac1c9b fix: show Permission denied error in mac 2022-12-01 15:14:34 +08:00
Alex Duan 999ad52386 fix(shell) add one blank after affected word 2022-11-25 09:11:28 +08:00
Alex Duan cd46ca0f5a fix(shell): add help command and fix crete table filed complete include binary 2022-11-24 11:12:08 +08:00
Alex Duan 84a1105be0 fix(shell): describe show command need show whole result1 2022-11-10 16:48:24 +08:00
Alex Duan 2481f1cdb3 fix(shell): describe show command need show whole result 2022-11-10 16:27:17 +08:00
Alex Duan 4b49dde403 fix(shell): adjust show result format 2022-11-08 09:54:19 +08:00
Alex Duan 39c37e0e11 fix(shell): add affected rows in result 2022-10-26 14:54:50 +08:00
Alex Duan d36bfa25ed fix(query): uniform the format of result between 2.6 and 3.0 2022-10-26 11:07:19 +08:00
Xiaoyu Wang 8f28a9c9d2 import format error 2022-10-20 18:18:07 +08:00
Xiaoyu Wang 2339b8c0a6 some parser problem 2022-10-20 16:53:26 +08:00
Haojun Liao bcb3d41d08 fix(query): fix coverity issues. 2022-10-16 13:46:21 +08:00
dapan1121 d5cfbebd82 fix: fix kill query crash issue 2022-10-14 13:26:10 +08:00
Alex Duan 32a36b66f1 fix(shell): remove TAB KEY usage introduction on windows 2022-10-11 16:57:47 +08:00
Zhiqiang Wang 365b9ba7a0
fix: shell source error (#17234) 2022-10-09 15:40:27 +08:00
Alex Duan e8455e0bb7 feat(shell): set conn to autoshell 2022-09-07 14:46:27 +08:00
Alex Duan c0cfa0da56 feat(shell): show introduction is modify 2022-09-07 14:27:55 +08:00
Alex Duan f1dd2d5675 feat(shell): add port to 3.0 buld ok 2022-09-07 10:16:00 +08:00
Shengliang Guan 4401080328 enh: make cmake .. -DCMAKE_BUILD_TYPE=Release work 2022-08-31 18:06:17 +08:00
afwerar 500cf0c758 feature: shell csv rfc 4180 2022-08-31 13:30:35 +08:00
afwerar c5f270abcb feature: shell csv rfc 4180 2022-08-30 17:24:24 +08:00
afwerar 4632c3751b feature: shell csv rfc 4180 2022-08-30 17:21:38 +08:00
afwerar 8a34a321c7 feature: shell csv rfc 4180 2022-08-30 16:30:20 +08:00
afwerar aec3a06431 feature: shell csv rfc 4180 2022-08-30 16:11:42 +08:00
Ganlin Zhao 70df538180 fix(query): fix pthread_create memleak in shell engine
TD-17791
2022-08-22 15:22:49 +08:00
afwerar 80a01235f2 doc: change 3.0 doc 2022-08-11 14:37:43 +08:00
afwerar f03055c373 shell: change shell record source file command 2022-08-05 15:49:03 +08:00
afwerar 5f10012c21 feat: add cloud grant cfg 2022-08-02 09:18:34 +08:00
Yang Zhao 621ef9f1a8
feat: shell support cloud (#15283)
* 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
2022-07-23 09:35:00 +08:00
afwerar ec5db6e195 shell: fix taos shell ctrl-c exit error 2022-07-22 09:42:06 +08:00
afwerar 45995e81ce shell: add show tables print limit 2022-07-21 17:05:06 +08:00
afwerar b4537bc41e shell: change shell print text 2022-07-20 11:31:35 +08:00
afwerar 8c01f5e8ad test: only stop taosd once win test 2022-07-19 17:15:36 +08:00
afwerar 912652c2e6 shell: limit taos_history file size and rows 2022-07-18 20:30:28 +08:00
afwerar 1e4dae929c shell: limit taos_history file size and rows 2022-07-18 20:30:04 +08:00
afwerar fa96e64ee0 os: win format negative timestamp error 2022-07-18 16:53:20 +08:00
afwerar 3ba69ca5db shell: limit taos_history file size 2022-07-18 11:31:13 +08:00
afwerar 22ea676a5a shell: limit taos_history file size 2022-07-18 11:29:15 +08:00
afwerar 194459bfc4 os: fix Mac shell error 2022-07-06 14:38:24 +08:00
afwerar b9a1c6744c os: add Mac compile support 2022-07-02 17:40:23 +08:00
Xiaoyu Wang 6141bb03da feat: insert from csv 2022-06-30 15:04:54 +08:00
Shengliang Guan 8fe87e9e0e Merge remote-tracking branch 'origin/3.0' into fix/tsim 2022-06-25 18:03:23 +08:00
Shengliang Guan 89d6ca7823 feat: privilege for sysinfo user 2022-06-25 18:03:12 +08:00
afwerar 592d8e488f test: add sim full test 2022-06-25 16:14:54 +08:00
dapan1121 b2ff536050
Merge pull request #14118 from taosdata/feature/showdnodevariables
feat: show dnode variables
2022-06-23 13:23:06 +08:00
dapan1121 5afa3f9636 feat: show local variables 2022-06-22 17:18:39 +08:00
afwerar c234adbb85 shell: fix shell chinese error 2022-06-22 17:07:49 +08:00
dapan1121 d320326371 reset query cache 2022-06-17 14:41:17 +08:00
Shengliang Guan 8d38ce5aff enh: enable show grants in community version 2022-06-11 19:33:40 +08:00
Haojun Liao 90cb7966bc refactor: do some internal refactor. 2022-06-06 10:35:19 +08:00
dapan1121 73de545f21 fix null issue 2022-05-28 13:38:58 +08:00
Shengliang Guan 133a963c7c fix: memory leak while record history in shell 2022-05-21 21:29:32 +08:00
WANG MINGMING c715ee5993
Merge pull request #12719 from taosdata/feature/TD-13041
fea: add select json from table
2022-05-20 13:15:49 +08:00
afwerar 51721dfc47 fix(os): win run error 2022-05-19 10:37:11 +08:00
wangmm0220 e818e27902 fea:add select json logic 2022-05-18 22:13:38 +08:00
Shengliang Guan 77575d1e70 refactor: shm queue in multi process mode 2022-05-18 14:20:46 +08:00
Haojun Liao 8242cac94a fix(query): fill the pseudo column before applying filter in table scanner. 2022-05-14 19:21:12 +08:00
afwerar 61729d6805 fix(os): update windows compile error 2022-05-14 10:43:00 +08:00
afwerar 0815843e94 fix(os): make taosd.exe taos.exe run on windows. 2022-05-13 21:42:16 +08:00
Shengliang Guan dddfe5c144 enh: enable limit in shell 2022-05-13 20:26:12 +08:00
Shengliang Guan 8873e392fb enh: enable limit in shell 2022-05-13 18:59:44 +08:00
wangmm0220 05daba7f8e refactor:merge from 3.0 2022-05-06 11:28:34 +08:00
wangmm0220 990205d684 refactor: schemaless tmp commit 2022-04-27 21:29:25 +08:00
Shengliang Guan f7fda0159b fix(tools): remove un necessary codes in taos shell 2022-04-26 16:46:13 +08:00
Shengliang Guan 5a91ecfb7c fix: write histroy in shell 2022-04-25 19:29:15 +08:00
Shengliang Guan 93938aab49 refactor(tools): disable ctrl+c 2022-04-24 20:45:42 +08:00
Shengliang Guan c76cbd2246 refactor(tools): refact shell codes 2022-04-22 19:27:00 +08:00
Shengliang Guan 462c91d8c6 refactor(tools): refact shell codes 2022-04-22 19:04:49 +08:00
Shengliang Guan 0970d1e418 refactor(tools): refact shell codes 2022-04-22 14:18:00 +08:00
Shengliang Guan c92b3ce226 refactor(tools): refact shell codes 2022-04-21 21:29:30 +08:00
Shengliang Guan bce784ab51 refactor(tools): refact shell codes 2022-04-21 21:11:02 +08:00
Shengliang Guan d2d5196186 refactor(tools): refact shell codes 2022-04-21 21:10:09 +08:00
Shengliang Guan 2d94f8a875 refactor: rename files 2022-04-20 19:46:55 +08:00
Shengliang Guan 9e287ce29f refactor: rename shell functions 2022-04-20 19:44:25 +08:00
Shengliang Guan 0f22cf1d2e refactor: rename shell.h 2022-04-20 19:13:22 +08:00
Shengliang Guan 10f99917c9 style: format shell 2022-04-18 21:14:32 +08:00
Shengliang Guan f0ab7dbc96 fix: memory leak in tconfig.c in client 2022-04-18 20:29:10 +08:00
dapan1121 c04bc1820c Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-04-14 16:04:42 +08:00
Ganlin Zhao b355e2b3c8 feat(query): add today()/today() + duration in insert clause
TD-14243
2022-04-14 12:53:59 +08:00
dapan1121 94b5031554 feature/qnode 2022-04-13 10:48:26 +08:00
Shuduo Sang b0792743fc
feat(tools): taos shell refactor (#11416)
* [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

* [TD-13558]<feature>: taos shell test speed

* [TD-13558]<feature>: taos -n startup works

* taos -n rpc works

* taos -n server works

* cleanup code since no endPort in 3.0

* update taos-tools

* [TD-13558]<feature>: taos -C works

* improve taos shell -c WIP

* update taos-tools
2022-04-12 15:58:41 +08:00
afwerar c11946fd75 [TD-13756]<fix>: Fix macro name error. 2022-04-11 18:55:43 +08:00
dapan1121 58e16e5fdc Merge remote-tracking branch 'origin/3.0' into feature/scheduler 2022-03-26 09:11:06 +08:00
afwerar 222db126bc [TD-13758]<fix>: redefine memory api. 2022-03-26 00:29:53 +08:00
dapan1121 ed5b283291 feature/scheduler 2022-03-23 17:19:04 +08:00
afwerar 159c2671a2 [TD-13767]<fix>: forbid wchar_t. 2022-03-18 16:48:12 +08:00
afwerar 2b9dc8c7ea [TD-13062]<fix>: file system add stream. 2022-02-28 22:37:32 +08:00
Shengliang Guan e25637fe29 Merge remote-tracking branch 'origin/3.0' into feature/config 2022-02-25 10:05:54 +08:00
afwerar 5a37fdf28f [TD-13062]<fix>: cross platform file system. 2022-02-25 01:47:20 +08:00
Shengliang Guan 612dd71918 os env 2022-02-24 21:27:13 +08:00
Shengliang Guan beae4899f2 os env 2022-02-24 11:35:22 +08:00
Haojun Liao 284fde6001 [td-11818] fix compiler error. 2022-01-27 16:03:26 +08:00
Haojun Liao d6d8651483 [td-11818] refactor ssdatablock, add plan in log. 2022-01-26 23:09:03 +08:00