- 28 11月, 2021 1 次提交
-
-
由 Yifan Hao 提交于
Remove unnecessary allocation for EXT_SIZE (1024 bytes) in taosHashGetCloneExt. By reading the code, this doesn't seem like needed. * Testing ./taosdemo Spent 87.4217 seconds to insert rows: 100000000, affected rows: 100000000 with 8 thread(s) into test.meters. 1143880.49 records/second insert delay, avg: 69.22ms, max: 240.04ms, min: 26.19ms
-
- 25 11月, 2021 7 次提交
-
-
由 Yifan Hao 提交于
Add wrapper for per entry lock / unlock. +taosHashEntryWLock +taosHashEntryWUnlock +taosHashEntryRLock +taosHashEntryRUnlock * Testing ./taosdemo Spent 83.9216 seconds to insert rows: 100000000, affected rows: 100000000 with 8 thread(s) into test.meters. 1191588.48 records/second insert delay, avg: 66.40ms, max: 254.78ms, min: 24.61ms
-
由 Yifan Hao 提交于
Unify hash table lock function namespace and does not have functional change. __rd_lock -> taosHashRLock __rd_unlock -> taosHashRUnlock __wr_lock -> taosHashWLock __wr_unlock -> taosHashWUnlock * Testing ./taosdemo Spent 87.8813 seconds to insert rows: 100000000, affected rows: 100000000 with 8 thread(s) into test.meters. 1137898.27 records/second insert delay, avg: 69.68ms, max: 275.15ms, min: 26.63ms
-
由 Yifan Hao 提交于
Remove unused "freeFp".
-
由 Yifan Hao 提交于
Use the right format specifier (%zu) to print size_t type.
-
由 Yifan Hao 提交于
Simplify implementation of taosHashTableResize. Remove unnecessary while loop. * Testing sample mysql run taos> create database db; Query OK, 0 of 0 row(s) in database (0.002273s) taos> use db; Query OK, 0 of 0 row(s) in database (0.000214s) taos> create table t (ts timestamp, a int); Query OK, 0 of 0 row(s) in database (0.003265s) taos> insert into t values ('2019-07-15 00:00:00', 1); Query OK, 1 of 1 row(s) in database (0.001309s) taos> insert into t values ('2019-07-15 01:00:00', 2); Query OK, 1 of 1 row(s) in database (0.000238s) taos> select * from t; ts | a | ======================================== 2019-07-15 00:00:00.000 | 1 | 2019-07-15 01:00:00.000 | 2 | Query OK, 2 row(s) in set (0.000751s) taos> drop database db; Query OK, 0 of 0 row(s) in database (0.002543s)
-
由 Yifan Hao 提交于
1. Add missing lock / unlock in profiling code. Without synchronization, the profiling code could access freed memory. 2. Remove unnecessary assert. 3. Remove unncessary if check in taosHashRemoveWithData. * Testing sample mysql: taos> create database db; Query OK, 0 of 0 row(s) in database (0.002291s) taos> use db; Query OK, 0 of 0 row(s) in database (0.000197s) taos> create table t (ts timestamp, a int); Query OK, 0 of 0 row(s) in database (0.003851s) taos> insert into t values ('2019-07-15 00:00:00', 1); Query OK, 1 of 1 row(s) in database (0.001128s) taos> insert into t values ('2019-07-15 01:00:00', 2); Query OK, 1 of 1 row(s) in database (0.000249s) taos> select * from t; ts | a | ======================================== 2019-07-15 00:00:00.000 | 1 | 2019-07-15 01:00:00.000 | 2 | Query OK, 2 row(s) in set (0.000772s) taos> drop database db; Query OK, 0 of 0 row(s) in database (0.002308s)
-
由 Yifan Hao 提交于
Fix a memory leak bug introduced in [5/n].
-
- 24 11月, 2021 2 次提交
-
-
由 Yifan Hao 提交于
1. Simplify implementation of taosHashCondTraverse 2. Complete function header comments for a few more functions * Testing Run through the sample mysql: taos> create database db; Query OK, 0 of 0 row(s) in database (0.002475s) taos> use db; Query OK, 0 of 0 row(s) in database (0.000252s) taos> create table t (ts timestamp, a int); Query OK, 0 of 0 row(s) in database (0.003588s) taos> insert into t values ('2019-07-15 00:00:00', 1); Query OK, 1 of 1 row(s) in database (0.001268s) taos> insert into t values ('2019-07-15 01:00:00', 2); Query OK, 1 of 1 row(s) in database (0.000265s) taos> select * from t; ts | a | ======================================== 2019-07-15 00:00:00.000 | 1 | 2019-07-15 01:00:00.000 | 2 | Query OK, 2 row(s) in set (0.000822s) taos> drop database db; Query OK, 0 of 0 row(s) in database (0.001711s)
-
由 Yifan Hao 提交于
1. Minor refactoring of taosHashInit 2. Complete error handling path of taosHashInit * Testing compile tdengine cmake .. && cmake --build .
-
- 22 11月, 2021 3 次提交
-
-
由 Yifan Hao 提交于
A few cleanups: 1. Move implementation details (macro definition, SHashEntry and SHashObj definition) to hash.c. Only leave relevant APIs in hash.h. 2. Complete function header comments. 3. Correct variable naming from "newSize" to "newCapacity".
-
由 Yifan Hao 提交于
A few cleanups: 1. Rename hash node "count" to "refCount" for ease of reading 2. Trailing white space removal of hash.h
-
由 Yifan Hao 提交于
A few cleanups for the hashtable implementation: 1. Correct function header comments 2. Complete argument checking for a few functions 3. Remove trailing space
-
- 19 11月, 2021 1 次提交
-
-
由 xywang 提交于
-
- 18 11月, 2021 4 次提交
-
-
由 Shengliang Guan 提交于
-
由 Yang Zhao 提交于
-
由 Alex Duan 提交于
-
由 dapan1121 提交于
-
- 17 11月, 2021 5 次提交
-
-
由 Minglei Jin 提交于
-
由 dapan1121 提交于
-
由 xywang 提交于
-
由 Minglei Jin 提交于
support show types
-
由 Alex Duan 提交于
-
- 16 11月, 2021 14 次提交
-
-
由 Ganlin Zhao 提交于
-
由 Ganlin Zhao 提交于
-
由 xiaolei li 提交于
-
由 prnake 提交于
close #8695
-
由 Alex Duan 提交于
-
由 zhaoyanggh 提交于
-
由 zhaoyanggh 提交于
-
由 xywang 提交于
-
由 xywang 提交于
-
由 shenglian zhou 提交于
-
由 Ganlin Zhao 提交于
-
由 wmmhello 提交于
<fix>TD-11057 when the input is NULL, it should return NULL instead of 0, for ceil/floor/round function
-
由 zhaoyanggh 提交于
-
由 dengyihao 提交于
-
- 15 11月, 2021 3 次提交
-
-
由 sangshuduo 提交于
* [TD-10896]<fix>: replace blm3 with taosadapter * fix script to install taosadapter.service * fix if upx already executed * fix blm3 wording in document * fix tar.gz miss taosadapter service issue * make taosadapter build/install works on Mac
-
由 zhaoyanggh 提交于
-
由 zhaoyanggh 提交于
-