Commit Graph

6669 Commits

Author SHA1 Message Date
slguan 341ab9123a fix issue #569 2019-09-27 13:39:19 +08:00
slguan 3dc152dfd6 fix issue #564 2019-09-26 10:14:10 +08:00
slguan afadf24a52 fix issue #560 2019-09-25 14:08:39 +08:00
fangpanpan 00a9dcd397
Update TSDBJNIConnector.c 2019-09-25 11:09:07 +08:00
slguan 2d058e6f85 release version 1.6.2.2 2019-09-24 22:44:04 +08:00
slguan 17cac5b567 fix issue #556 2019-09-24 21:32:46 +08:00
slguan 1f5c71aea6 fix issue #555 2019-09-24 17:59:40 +08:00
fang 638865fd5b [JIRANONE] modify JDBC client, if there is no action after query, before return 0 rows result, now throw exception 2019-09-24 15:21:06 +08:00
slguan 66fc89691b fix issue #542 2019-09-24 14:34:49 +08:00
slguan 806a9310e3 fix issue #552 2019-09-24 14:32:12 +08:00
slguan 67c646b10d fix issue #541 2019-09-24 12:59:40 +08:00
slguan 8318a60902 fix issue #543 2019-09-24 12:36:36 +08:00
slguan e295516e07 Add some security checks 2019-09-23 15:58:50 +08:00
slguan e50612ebc7 fix issue #543 2019-09-23 15:57:53 +08:00
slguan decfb9b50b fix issue #542 2019-09-23 15:57:32 +08:00
slguan 3562ab9694 fix issue #541 2019-09-23 13:45:35 +08:00
slguan 5d772601d7 version.c 2019-09-23 09:49:56 +08:00
slguan 48bba82d33 Merge branch 'master' of https://github.com/taosdata/TDengine 2019-09-23 09:23:54 +08:00
localvar 83eea5b4ec fix race in jni initialization 2019-09-21 15:35:54 +08:00
hzcheng a890b21ffc
Merge pull request #509 from fangpanpan/master
[JIRANONE alter compiler version in pom.xml for jdbc connector]
2019-09-20 15:31:57 +08:00
slguan 438c3eaa75 fix issue #530 2019-09-20 08:52:45 +08:00
slguan f697e07983 fix issue #525 2019-09-18 17:04:33 +08:00
slguan c00c4c5531 fix issue #506 2019-09-17 18:18:26 +08:00
slguan ec4c26f774 fix issue #516 2019-09-17 13:48:18 +08:00
slguan d28ee044d1 fix issue #514 2019-09-16 17:55:29 +08:00
slguan 23f07aa1a8 fix the issue #513 2019-09-16 17:50:39 +08:00
slguan 1a718fbc7a fix the issue #511 2019-09-16 15:12:32 +08:00
fang b338b3b194 [JIRANONE alter pom.xml compiler version for jdbc connector] 2019-09-16 11:29:02 +08:00
slguan 6c93a47302 release version 1.6.2.0 2019-09-12 22:47:41 +08:00
slguan b675c55f6d fix issue #506 2019-09-12 22:42:28 +08:00
slguan 7a5ea90cba fix issue #505 2019-09-12 16:01:47 +08:00
slguan 9383fc9c22 fix issue #502 2019-09-12 15:34:22 +08:00
slguan a721d0d23e fix the issue #504 2019-09-12 15:30:48 +08:00
slguan cd7e59cfc8 fix issue #503 2019-09-12 15:25:52 +08:00
slguan 2c800e3ccc fix issue #502 2019-09-12 15:24:00 +08:00
slguan 3da5d2ab1f fix issue #486 2019-09-10 18:35:31 +08:00
slguan 2a93b80642 fix issue #486 2019-09-10 13:37:35 +08:00
slguan 7c511c0445 log format error 2019-09-10 13:37:21 +08:00
slguan a7fea5b4ad log format error 2019-09-10 09:54:04 +08:00
slguan 21c7a46b44 fix the issue #487 2019-09-10 09:53:04 +08:00
slguan e10f706c28 fix issue #486 2019-09-10 09:49:27 +08:00
slguan 3d23511e93 Merge branch 'master' of https://github.com/taosdata/TDengine 2019-09-10 09:29:45 +08:00
huili aded75a8b5 [supporting column output per row by row in shell] 2019-09-09 14:31:48 +08:00
slguan 29d290d51a fix issue #469 2019-09-06 16:35:22 +08:00
slguan 0bb41e5bca Use assert in code locations that can cause file corruption and set global configuration items 2019-09-06 12:18:18 +08:00
slguan 391f2de001 fix the issue #467 2019-09-06 11:17:07 +08:00
slguan 89769b8d38 fix the issue #466 2019-09-06 09:49:25 +08:00
slguan 1ddd7336f9 revert pull request #310
Because some use cases cannot pass
2019-09-05 15:31:26 +08:00
slguan 47ae042379 Merge branch 'master' of https://github.com/taosdata/TDengine 2019-09-05 14:49:21 +08:00
slguan eb5ce731a8
Merge pull request #380 from localvar/timer
fix some issues in timer
2019-09-05 14:48:52 +08:00
slguan dbe69d6809 Merge branch 'master' of https://github.com/taosdata/TDengine 2019-09-05 14:44:29 +08:00
slguan 95663f1c3c
Merge pull request #416 from localvar/fix-token-parse
fix several issues in string token parsing
2019-09-05 14:42:43 +08:00
slguan 90ff348542 Merge branch 'master' of https://github.com/taosdata/TDengine 2019-09-05 14:36:49 +08:00
slguan 88780e3096 issue #399 2019-09-05 14:36:34 +08:00
slguan 8914c0ccf5
Merge pull request #345 from localvar/improve-memory-pool
improve memory pool
2019-09-05 14:35:59 +08:00
slguan 977550a1df
Merge pull request #421 from localvar/gzip-mem-leak
fix memory leak when request body is gziped
2019-09-05 14:22:20 +08:00
slguan 3e1a8f41c7
Merge pull request #339 from zimengpan/master
temporary fix for running server-side application on WSL
2019-09-05 14:22:02 +08:00
slguan 63e741a3c6 fix the issue #463 2019-09-05 12:33:27 +08:00
slguan fae0948de6 version.c 2019-09-05 10:51:48 +08:00
slguan 355ddeba8b Fix compilation problems in windows 2019-09-05 10:44:23 +08:00
slguan edcad56d4b fix the issue #439 2019-09-04 13:09:01 +08:00
Yanming Zhou 0ae5d0774e Add java.sql.Driver service provider 2019-09-04 09:19:33 +08:00
hjliao 920edd131d fix bugs #436 2019-08-30 17:51:47 +08:00
slguan 148b783534 fix the issue #433 2019-08-29 17:59:53 +08:00
slguan 9ca3c242c0 fix the issue #201 2019-08-29 17:58:11 +08:00
slguan f192397c0f fix some possible query errors 2019-08-29 17:56:57 +08:00
slguan 335d42cf49 fix the issue #443 2019-08-29 17:55:56 +08:00
slguan b806c458d5 fix the issue #419 2019-08-29 17:47:30 +08:00
slguan 343df4e2a0 fix the issue #435 2019-08-29 17:45:10 +08:00
slguan 948ab4c50a Merge branch 'master' of https://github.com/taosdata/TDengine 2019-08-29 13:30:30 +08:00
haojun Liao 18d26406c4
Merge pull request #415 from localvar/fix-strtolower
fix strtolower
2019-08-29 13:25:24 +08:00
slguan 8bd42155cc Merge branch 'master' of https://github.com/taosdata/TDengine 2019-08-26 17:21:57 +08:00
Hongze Cheng 33e881d4f6 add more info print 2019-08-26 13:21:07 +08:00
Hongze Cheng 06254cf423 fix compile error 2019-08-26 10:46:49 +08:00
slguan 24538afd89 Merge branch 'master' of https://github.com/taosdata/TDengine 2019-08-26 10:44:15 +08:00
Hongze Cheng b61efa3e2b fix twrite problem 2019-08-26 09:49:31 +08:00
localvar 2e0dc43636 fix memory leak when request body is gziped 2019-08-24 19:01:34 +08:00
Jeff Tao 3e5ba2a7d0
Merge pull request #383 from localvar/udp-fix
fix & enhancement for udp connection handling
2019-08-24 18:42:49 +08:00
Jeff Tao a9ad56780f fix issue #418 2019-08-24 18:02:11 +08:00
slguan 9465d94c74 fix the issue #404 2019-08-24 17:29:47 +08:00
slguan 263bab87d2 fix the issue #404 2019-08-24 16:31:06 +08:00
slguan a83cdd80d9 fix the issue $404 2019-08-24 16:25:45 +08:00
slguan 89b7228378 fix the issue #404 2019-08-24 16:07:16 +08:00
localvar 693ee662af fix several issues in string token parsing
1. the shell should not remove escape sequence \' and \" in a string.
2. `tsParseTime` should not unescape the next string token (this issue
appears after the first issue was fixed).
3. `value[4] != '-'` in `tsParseTime` crashes in rare case if `value[4]`
is in unallocated virtual memory.
4. `operator[x]` and `delimiter[x]` may result in unexcepted behavior
as string is utf-8 encoded and `x < 0` could be true.
5. changes the behavior of `tscGetToken` a little: now, unescaped single
quotation is allowed in double quoted strings and unescaped double quotation
is allowed in single quoted strings.
6. minor performance improvements and other improvements.
2019-08-24 14:04:56 +08:00
localvar a10c0e97ef fix strtolower 2019-08-24 08:14:41 +08:00
localvar b567548b25 fix memory leak in taos_query_a
restful commands with length between 65380 and 65536 can trigger
this issue.
2019-08-23 20:50:36 +08:00
slguan 90e5690df5 fix the issue #405 2019-08-23 10:00:48 +08:00
slguan 06b7af06a2 fix the issue #404 2019-08-23 09:58:08 +08:00
slguan 35aa9a95e4 fix the issue #370, support for compilation of vs2019 2019-08-22 18:26:57 +08:00
slguan 4693495a3d remove extra blanks while tag values is null 2019-08-22 18:24:39 +08:00
slguan 29eb60aa11 fix bug in resetlog statements 2019-08-22 18:23:42 +08:00
slguan b99bb7aa3b version.c 2019-08-22 17:13:01 +08:00
slguan 556ca28bee fix issue #156 2019-08-22 16:11:53 +08:00
slguan 93f3d4462d taosd should not start while other process is running 2019-08-21 23:57:43 +08:00
slguan 60edeb4398 fix the issue #376 2019-08-21 11:33:27 +08:00
slguan 8e11a6b8ec offset calculation error while write to disk 2019-08-19 09:26:22 +08:00
localvar 641ee3059d fix issue #367
the basic idea is to change clean up procedure to 2 steps,
the 1st step only marks the time controller as to be cleaned up,
the 2nd step executes in the timer thread and does the
actual job to avoid race.

I also change `pCtrl->ticks = rand() / pCtrl->maxTicks` to
`pCtrl->ticks = rand() % pCtrl->maxTicks`, because I think
this is a typo but not sure about this.
2019-08-18 14:45:16 +08:00
localvar 2e86495458 #368: fix 2 issues in tmrMemPool 2019-08-18 14:40:47 +08:00
localvar a97aac4ee5 improve memory pool
1. fix memory leak:
`memset(&pool_p, 0, sizeof(pool_p))` sets the pointer to NULL,
so `free(pool_p)` does nothing.
2. improve performance by move some code to the outside of the lock.
2019-08-18 14:24:40 +08:00
localvar 01bb110b45 fix & enhancement for udp connection handling
1. potential data race in `taosProcessMonitorTimer`:
the issue does not exist at present because there's only one scheduler
thread, which means there's no cocurrent calls to this function for a
same `pMonitor`. but if more scheduler threads are created later,
there's a data race issue in rare case. as threads number can be
easily increased by increase the value of `taosTmrThreads`, it is very
unlikely that the developer could realize this function need to be
revised together. that's why i say it is a 'potential' issue.

this issue happens in below scenario:
a. scheduler thread1: `if (pSet)` is true and new timer is installed by
`taosTmrReset`;
b. scheduler thread1: `if (pMonitor->pSet == NULL)` is true but
`taosTmrStopA` is blocked, either by the mutex of the timer or os thread
scheduler.
c. timer thread: 200ms elapse, new call to `taosProcessMonitorTimer` is
initialized in scheduler thread2;
d. scheduler thread2: `if (pMonitor->pTimer != tmrId)` is false;
e. scheduler thread1: unblocked, stops timer and frees `pMonitor`;
f. scheduler thread2: unexpected behavior because `pMonitor` is not
valid any more.

because the result of this issue is crash or worse, i suggest to fix it
though the possibility of all the conditions are met is very very low.

2. `pthread_attr_t` related issues: per manual, an initialized
`pthread_attr_t` can be reused, should be destroyed, and the behavior of
re-init it is undefined. this issue exist in other modules also.

3. memory leaks;

4. improve failure case handling of `taosInitUdpConnection`;

5. typo
2019-08-18 11:28:38 +08:00
Hongze Cheng 22aa8b08a7 add init dnode status 2019-08-17 15:46:51 +08:00
slguan e472edf6af
Merge pull request #378 from fangpanpan/master
[taosdemo] repeat insertation if failed, report failure when inserting 5 times
2019-08-17 15:04:36 +08:00
slguan 392bbb82f2
Merge pull request #350 from localvar/issue-349
Issue 349
2019-08-17 15:03:19 +08:00
fang 2aa6c66612 repeat insertation if failed, report failure when inserting 5 times 2019-08-16 17:59:41 +08:00
liuliang 0129a04aec
Update taosSqlCgo.go
这个dbname都没有传进行,在连接池的情况下,每个连接都在选 use db.

当连接池切换连接时,就会出现 invalid DB。
```
8/16 12:44:46 dsn.go:59: input dsn: root:taosdata@/tcp(127.0.0.1)/sensors_test
TAOS DRIVER 2019/08/16 12:44:46 dsn.go:130: cfg info: &{user:root passwd:taosdata net:/tcp addr:127.0.0.1 port:0 dbName:sensors_test params:map[] loc:0xed6be0 columnsWithAlias:false interpolateParams:true parseTime:true}
TAOS DRIVER 2019/08/16 12:44:46 taosSqlCgo.go:52: taosQuery() input sql:INSERT INTO d_BDCF682B78F44364AA551B0F5E6BD1F6_acc USING acc_data TAGS ('BDCF682B78F44364AA551B0F5E6BD1F6','20190816-
TAOS DRIVER 2019/08/16 12:44:46 taosSqlCgo.go:61: taos_query() failed: invalid DB
```
2019-08-16 13:09:46 +08:00
hzcheng 542da25452
Merge pull request #344 from localvar/enhance-scheduler
enhance robustness of scheduler
2019-08-15 14:51:57 +08:00
hzcheng b3f41997ee
Merge pull request #343 from localvar/fix-dead-code
fix dead code
2019-08-15 14:25:13 +08:00
slguan 1481c8d7ea fix issue #359 2019-08-15 13:17:52 +08:00
slguan 7026a5b3a4 compile errors in windows client 2019-08-14 19:51:42 +08:00
slguan 16902faad4 the version number is increased to 1.6.1.6 2019-08-14 19:41:05 +08:00
slguan 5374d82421 fix issue #201 #319 2019-08-14 19:40:09 +08:00
slguan 4bcb26a752 fix the problem that affectRows in python is incorrect 2019-08-14 19:37:33 +08:00
localvar e814ec4ca3 fix #349 2019-08-14 19:33:06 +08:00
localvar 09e6094643 fix bug in hex integer parse 2019-08-14 19:11:51 +08:00
localvar 83eb20d3b3 enhance robustness of scheduler
1. check all memory allocation failure in `taosInitScheduler`;
2. make `pSched->numOfThreads` the actual number of created threads
to avoid crash in `taosCleanUpScheduler` when `pSched->qthread` is NULL
and other issues;
3. check interruption of `sem_wait` in `taosScheduleTask`,
and use `pTrace` instead of `pError` when `sem_wait` was interrupted;
4. cancel all threads before join them to enable cocurrent cancellation;
5. remove unused global variable.
2019-08-14 08:41:23 +08:00
localvar 44922907fd fix dead code 2019-08-14 08:35:30 +08:00
Zimeng Pan 6c316d204f temporary fix for WSLv1 2019-08-12 23:40:12 -07:00
huili 747e93260c [no master key column use timestamp in where] 2019-08-13 10:22:39 +08:00
slguan 0ee234ada4
Merge pull request #329 from fangpanpan/master
alter displaying information for default value of some options in taosdemo
2019-08-12 17:12:49 +08:00
fang 7506b1b7fa Merge branch 'master' of https://github.com/fangpanpan/TDengine 2019-08-12 16:10:44 +08:00
fang d8bc1cea0d alter displaying information for default value of some options 2019-08-12 16:10:26 +08:00
fangpanpan 37628b6f9f change direcotry from taosbenchmark to taosdemo in CMakeList.txt 2019-08-11 04:44:46 +08:00
slguan cfa7527c80
Merge pull request #305 from H-ZeX/fix-mem-leak
fix memory leak in os/linux/src/os.c::taosInitTimer #304
2019-08-10 23:52:37 +08:00
slguan c571c38bd6 revise issue #124 2019-08-10 23:51:19 +08:00
slguan 0da8e9ad2b revise issue #124 2019-08-10 23:21:49 +08:00
slguan 0e57b621b5
Merge pull request #124 from maikebing/master
Modify  json's date to Json standard time format ISO-8601
2019-08-10 23:09:31 +08:00
slguan 50f0d969d0 fix issue #313 2019-08-09 16:59:57 +08:00
slguan eb82d86903 fix issue #313 2019-08-09 15:25:12 +08:00
slguan bcc1b40619 fix issue #313 2019-08-09 14:55:49 +08:00
hzcheng 744d31cbb6
Merge pull request #310 from fangpanpan/master
change the range of int data to 0-49
2019-08-09 13:26:02 +08:00
fang 2d8c7bc0a4 change the range of int data to 0-49 2019-08-09 10:51:33 +08:00
H-ZeX ba81feaa86
fix #304
Signed-off-by: H-ZeX <hzx20112012@gmail.com>
2019-08-09 00:55:43 +08:00
H-ZeX 0f3a8a4bc5
fix #304
Signed-off-by: H-ZeX <hzx20112012@gmail.com>
2019-08-09 00:52:38 +08:00
slguan 34efa468ad fix issue #288 2019-08-08 13:59:54 +08:00
slguan 1b7944bc4e the version number is upgraded to 1.6.1.5 2019-08-08 13:53:32 +08:00
slguan 831e2b6ff7 fix some compile errors 2019-08-08 13:52:51 +08:00
slguan 52d812d49a Merge branch 'master' of https://github.com/taosdata/TDengine 2019-08-08 13:46:19 +08:00
hzcheng 88ca31129a
Merge pull request #300 from fangpanpan/master
replace taosBenchmark by taosdemo
2019-08-08 12:53:17 +08:00
Jeff Tao ca3c9fb728 Merge branch 'master' of https://github.com/taosdata/TDengine 2019-08-08 11:55:14 +08:00
Jeff Tao 7a0159bd09 fix issue #283 2019-08-08 11:53:17 +08:00
fang 1d66b64cf8 Under the folder /src/kit/, I replace the folder 'taosBenchmark' by 'taosdemo' 2019-08-08 09:45:28 +08:00
slguan 9b3c4de4c5 show client version info before connecting to server 2019-08-07 23:39:27 +08:00
slguan 8b05ac9960 fix issue #212 2019-08-07 23:16:50 +08:00
slguan 8133a76abc fix issue #282 2019-08-07 23:14:06 +08:00
universeroc 22f9f4b0fd
Check memory allocation after malloc 2019-08-07 16:06:00 +08:00
slguan 2a139821b9 fix issue #279 2019-08-06 15:13:20 +08:00
Jeff Tao 169338eaaf fix issue #280 2019-08-06 11:31:26 +08:00
slguan ed7ab34940 fix the issue #279 2019-08-05 13:35:23 +08:00
slguan c7e0709113 fix the issue #279 2019-08-05 13:06:13 +08:00
slguan 47b242e0f2 fix the issue #276 2019-08-05 12:49:16 +08:00
slguan 510b69ffc8 fix the issue #276 2019-08-05 12:35:13 +08:00
slguan 9d618b4e91 fix the crash while the num of http fds is zero 2019-08-05 11:43:02 +08:00
hzcheng 5a06bb8ae5
Merge branch 'master' into master 2019-08-05 10:57:23 +08:00
slguan 775fda8df3 version.c 2019-08-05 09:35:10 +08:00
slguan 534c67b6fb data loss due to too new data 2019-08-04 20:49:32 +08:00
slguan b96f79625a remove duplicate data in import sql 2019-08-04 20:48:03 +08:00
StoneT2000 7cd5921617 package update 2019-08-03 23:32:19 -07:00
StoneT2000 2c2b92258d Fix bug with async queries with incorrectly clearing result handles 2019-08-03 23:26:39 -07:00
StoneT2000 3ab2d86aef Code pruning, fix bug with infinite row async fetching when using insert 2019-08-03 20:39:47 -07:00
jyhou d6b21dadd0 Fix issue #270 2019-08-03 17:50:18 +08:00
Hongze Cheng 6484017932 add command size check when source file 2019-08-03 15:30:16 +08:00
slguan 3b12b32560 remove some warnings 2019-08-03 11:31:38 +08:00
StoneT2000 bd526d2216 Node.js Connector updated to 1.3.0 - Subscription, Continuous Query, Bug Fixes
Subscription implemented
Continuous Query implemented
Fixed bugs when dealing with null values retrieved from tables
Removed unused code
Added basic performance test code
2019-08-02 19:32:33 -07:00
slguan ee071e495f import data may cause database blocking 2019-08-02 18:17:40 +08:00
slguan 39478de275 fix the issue #264 #253 #251 2019-08-02 17:08:53 +08:00
slguan fe6672d79b fix the issue #264 #253 #251 2019-08-02 16:52:22 +08:00
slguan a73f138a43 data transfer via restful interface may be lost 2019-08-01 12:35:46 +08:00
slguan 9d0fcea101 data transfer via restful interface may be lost 2019-08-01 11:39:28 +08:00
slguan fbdeadbc23 fix possible commit log init failure 2019-08-01 11:36:47 +08:00
slguan b37a95fc53 remove some compile warnings 2019-08-01 11:34:50 +08:00
huili b0971e8f0e [Fixed dsn parsing for network addr and port by caeret. #214] 2019-08-01 10:59:16 +08:00
Hongze Cheng e39f9785a3 delete unused taosTmrStop 2019-07-31 16:58:56 +08:00
slguan 52cff8b108 fix the issue #240 2019-07-31 15:15:47 +08:00
slguan 18f3171146 fix the issue #240 2019-07-31 15:15:31 +08:00
Hongze Cheng f0364a00d1 fix python close connection error 2019-07-31 10:52:03 +08:00
slguan 8b226b5b79 Fix the issue #222 2019-07-31 10:03:30 +08:00
slguan 00a7f0a898
Merge pull request #237 from StoneT2000/master
Fix issue #236 - Node connector patch update to 1.2.1
2019-07-31 09:23:11 +08:00
StoneT2000 a89b280431 Node updated to 1.2.1
Bug fix
2019-07-30 20:50:40 +08:00
slguan 2a6b447aa2 fix the issue #233, failed to record slow query 2019-07-30 18:05:44 +08:00
slguan 322181c144 fix the issue #233, failed to record slow query 2019-07-30 18:04:20 +08:00
slguan 555309d93d
Merge pull request #225 from StoneT2000/master
Docs Update; Completed async functionality for Node.js connector v1.2.0
2019-07-30 16:37:44 +08:00
slguan 3210d9f3ca fix the issue #233, failed to record slow query 2019-07-30 16:31:21 +08:00
StoneT2000 1780a69f4f Update readme.md 2019-07-30 15:46:32 +08:00
StoneT2000 f0bca7fbb2 Update cinterface.js
removed broken code
2019-07-30 15:42:41 +08:00
slguan d8bc5c134d Fix the issue #222, add win64 python connector 2019-07-30 15:15:41 +08:00
slguan fd2477ff10 Fix the issue #222, add win64 python connector 2019-07-30 15:15:26 +08:00
StoneT2000 2d576b92af Docs Update; Completed async functionality for Node.js connector, updated to 1.2.0
Docs
- Docs updated
  - include third party connectors links
  - local docs updated to web versions and fixed for compatability
Node
- Async added
- Deleted uncessary code
- Docs updated
2019-07-29 23:54:52 +08:00
slguan 7873386c35 Fix the #issue 220, TDengine can't start when /var/lib/taos does not exist 2019-07-29 12:55:47 +08:00
slguan b03a7f5f51 update the example code of stream.c 2019-07-29 11:43:30 +08:00
slguan fa72e4d79a Fix the #issue 217 2019-07-29 11:28:26 +08:00
slguan 184f1777ba
Merge pull request #204 from StoneT2000/master
Grammar and typo fixes. Updated some docs
2019-07-28 22:46:38 +08:00
slguan d0e003b999
Merge pull request #195 from localvar/master
minor improvements to 'setErrMsg'
2019-07-28 22:39:01 +08:00
Hongze Cheng fae45aafda Merge branch 'master' of github.com:taosdata/TDengine 2019-07-28 10:28:48 +08:00
Hongze Cheng 2a7d264c6f fix issue #206 2019-07-28 10:27:56 +08:00
StoneT2000 6d55072da3 Grammar and typo fixes. Updated some docs 2019-07-27 12:37:51 +08:00
slguan 2fc1a1bd1a
Merge branch 'master' into fix_duplicate_include 2019-07-26 22:19:30 +08:00
slguan bd3db150e5 Windows client, #51 #38 #32 #12 2019-07-26 19:15:31 +08:00
Li Cao 09fa673922 remove duplicate include in trpc.c 2019-07-26 14:16:23 +08:00
localvar b2e06d1c0b Minor improvement to 'setErrMsg'
1. code like `char msg[] = "xxxxxx"` unnecessarily copied the string to stack, changed to `const char* msg = "xxxxxx"`.
2. the 2rd argument of `setErrMsg` is changed from `char*` to `const char*`.
3. the 3rd argument of `setErrMsg` is removed as `strncpy` stops copying at the end of source string.
2019-07-26 13:42:54 +08:00
hzcheng 4dcf8d7fce
Merge pull request #192 from StoneT2000/master
Updated nodejs connector to 1.1.1
2019-07-26 13:21:04 +08:00
StoneT2000 e257c02a33 Updated nodejs connector to 1.1.1
Implemented higher level API to make it more modular
Using promises and callbacks
Argument binding is now available e.g query(select ? from ?).bind("*", "table")
2019-07-26 09:46:25 +08:00
slguan fc137df5ab Fix the issue #185 2019-07-25 18:38:00 +08:00
huili c304b17977 [validate table name when insert] 2019-07-25 17:17:12 +08:00
slguan cc8f934129
Merge pull request #177 from xwangg/master
fix #174
2019-07-25 14:19:21 +08:00
huili cfc22dec75 [fix db/table name] 2019-07-25 14:14:38 +08:00
StoneT2000 b33a647400 More documentation and added node async functionality 2019-07-25 09:23:22 +08:00
StoneT2000 96d82938a0 Updated gitignore and added some documentation and better naming
- Using _ to indicate variable/function is private and shouldn't be accessed
- Added JSDocs syntax to generate documentation
-
2019-07-25 00:08:29 +08:00
WangXin 5827e62576 fix #174 2019-07-24 17:15:55 +08:00
StoneT2000 57c45a0ee2 Added nodejs connector and example usage of nodejs 2019-07-24 14:09:45 +08:00
huili 9b6a1ab42f [Support using capitalized by table/db name] 2019-07-23 19:33:28 +08:00
huili 1caaf88c7e [Add single quotation marks to nchar fields when export to a file] 2019-07-23 15:34:36 +08:00
slguan 0015053b9e Fix the issue #156 2019-07-23 15:04:09 +08:00
slguan af59bee0d2 Fix the issue #149, SParsedDataColInfo not initialized 2019-07-22 15:27:04 +08:00
slguan 52e2364de8 Fix the issue #148, failed to find the next file when the file id of the vnode is not continuous 2019-07-22 15:24:49 +08:00
Hongze Cheng 5d429ddb87 Fix issue #145 2019-07-22 14:07:38 +08:00
slguan 0bb305c6ae issue #141, also need to modify the function declaration 2019-07-22 09:53:38 +08:00
binglongx 0e0fb9cd84
Update tsched.c
fix buffer overflow and memory leak.
2019-07-21 16:00:24 -07:00
slguan 401d046b70 Fix the issue #130, reference count may have a problem 2019-07-20 17:31:34 +08:00
slguan 6788a4222c Fix the issue ##110, unsorted timestamp in one request may cause crash 2019-07-20 17:17:10 +08:00
slguan 95b157c02c Fix the issue #127, Check dead http links and close them 2019-07-20 14:52:08 +08:00
slguan 412db1ab0a Fix the issure #126, Taosd may crash while an invalid token input 2019-07-20 14:49:39 +08:00
maikebing 6617d22b7d Modify json's date to Json standard time format ISO-8601 2019-07-20 09:53:35 +08:00
Jeff Tao 6f3a448b22 fix issue #122 2019-07-19 19:10:32 +08:00
slguan 21806f647e Fix the issure #118, Change the alter tag value sql syntax 2019-07-19 19:02:59 +08:00
slguan bc6bdc1b69 Fix the issue #121, Output dataDir in the log file 2019-07-19 19:00:47 +08:00
slguan 7270de4ca2 Fix the issue #120, Set the default listening IP address to 0.0.0.0 2019-07-19 18:57:06 +08:00
hjliao e5edd507bb Merge branch 'master' of http://github.com/taosdata/TDengine 2019-07-19 15:43:31 +08:00
hjliao b949b0ab32 fix issue #117 2019-07-19 15:41:59 +08:00
plum-lihui 0e0be34d44 [modify path of libtaos.so] 2019-07-19 15:37:31 +08:00
plum-lihui f664dd35a2 [modify path of libtaos.so] 2019-07-19 15:37:24 +08:00
plum-lihui 5e6012f330 [modify path of libtaos.so] 2019-07-19 15:37:18 +08:00
plum-lihui 961c95477c [issue #102] 2019-07-19 15:36:07 +08:00
plum-lihui 12b3ea1fb4 [issue #102] 2019-07-19 15:35:57 +08:00
slguan 7c744dabd6
Merge pull request #109 from plum-lihui/master
Fix the issure #102,  describe table bug when the table name use  capital letters
2019-07-18 20:18:05 +08:00
huili 74bd4086fc [issue #102] 2019-07-18 20:10:23 +08:00
slguan 136f34044b Fix the issure #103, alter table change tag bug 2019-07-18 18:55:30 +08:00
slguan 04e0600907 Fix the issue #108, limit does not have effects on the results 2019-07-18 18:40:32 +08:00
slguan 6917618198 Fix the issue #100, Change keyword stable to STable 2019-07-18 11:45:40 +08:00
slguan d3329e487c Fix the issue #99, when the http request is broken, the query does not end normally 2019-07-18 11:44:12 +08:00
slguan d63f0e7fd9 Fix issue #91, remove assert for illegal filtering conditions 2019-07-18 10:57:36 +08:00
hzcheng 932da9d53a Fix shell password issue #92 2019-07-17 20:04:44 +08:00
slguan cd1117a7a2 Fix the Issue of #46, Build source code failure 2019-07-16 14:42:51 +08:00
slguan 6a1a3c2414 Modify the default proportion of the last file 2019-07-16 14:12:53 +08:00
slguan 02d1d6c525 Fix the syntax error while EPOLLWAKEUP no defined in some systems 2019-07-16 13:32:29 +08:00
slguan 75dabd02d1
Merge pull request #27 from amosbird/t2
fix left/bs for release build
2019-07-16 11:13:10 +08:00
slguan 66791ff39f Fix the bug when the stream calculation error occurs 2019-07-16 10:36:20 +08:00
slguan 76ac9464d5 The password is no longer stored in clear text, so you may need to reinstall the database 2019-07-16 10:31:43 +08:00
hzcheng 7fa03ddff2
Merge pull request #56 from plum-lihui/master
insert into multiple tables with file, return the wrong affected rows
2019-07-16 09:36:43 +08:00
hzcheng 4173a8bb51
Merge pull request #21 from amosbird/t1
Don't SEGFAULT
2019-07-16 09:35:15 +08:00
huili c9224b72da [TBASE-641] 2019-07-16 09:04:50 +08:00
Amos Bird 0084b15959 fix left/bs for release build 2019-07-15 11:17:33 +08:00
Amos Bird 5f7ee42c95 Don't SEGFAULT 2019-07-15 10:07:59 +08:00
Amos Bird 11389fc2c7 Fix compilation of taosdump
The mode argument must be supplied when O_CREAT or O_TMPFILE is
specified in flags for open(...).
2019-07-15 09:56:40 +08:00
slguan 6d17dbc0f8 Clean up some warnings 2019-07-13 14:04:30 +08:00
slguan 125636e9a5 Modify the location of the cache count 2019-07-13 10:19:35 +08:00
slguan d0c37df8bb Change the free function to tfree 2019-07-13 10:15:40 +08:00
siddontang 74d44497d8 fix memory leak when read failed
Signed-off-by: siddontang <siddontang@gmail.com>
2019-07-12 22:00:01 +08:00
slguan cffe218533 Solve the bugs when creating the database 2019-07-12 11:25:11 +08:00
slguan fb9be172df Place charset in the default configuration file 2019-07-12 11:09:54 +08:00
Hongze Cheng f0f6b6a975 add lower version cmake support 2019-07-12 01:57:11 +00:00
slguan 57b55444c7 Handling the problem of log database creation failure 2019-07-11 20:13:54 +08:00
slguan 23cbcfe0a5 Parameters can be out of order when creating a database 2019-07-11 20:05:59 +08:00
slguan 139af8e4bf Add alter dnode command to modify debugFlag 2019-07-11 19:52:05 +08:00
slguan 402bf83e5a Some python scripts are not uploaded 2019-07-11 19:10:07 +08:00
slguan 7c927553c0 Processing Stream Computing Problems in Microsecond Accuracy Database 2019-07-11 19:06:41 +08:00
slguan fa719d5c99 Handling invalid connections when deleting a database 2019-07-11 19:02:45 +08:00
slguan 4ee2f63374 Check the replica parameters when creating the database 2019-07-11 19:01:36 +08:00
slguan 05c8a3313f Handling a crash on a python client 2019-07-11 18:52:45 +08:00
hzcheng 57492cc12d TDengine first commit 2019-07-11 16:36:16 +08:00