fix: alpine compile error for 3.0 (#20064)
* fix: alpine support * fix: ostimer thread_id * fix: taosPrintTrace and tsStreamMax * fix: make_install.sh and dnodes.py for alpine * fix: cmake.platform and cut option for alpine * fix: timer sigev and string convert * fix: test case for alpine * fix: fix test script for alpine --------- Co-authored-by: t_max <1172915550@qq.com>
This commit is contained in:
parent
e8dc7c8f37
commit
48426ed2df
|
@ -229,7 +229,7 @@ void taosPrintBackTrace() { return; }
|
|||
#endif
|
||||
|
||||
int32_t taosMemoryDbgInit() {
|
||||
#if defined(LINUX)
|
||||
#if defined(LINUX) && !defined(_ALPINE)
|
||||
int ret = mallopt(M_MMAP_THRESHOLD, 0);
|
||||
if (0 == ret) {
|
||||
return TAOS_SYSTEM_ERROR(errno);
|
||||
|
@ -242,7 +242,7 @@ int32_t taosMemoryDbgInit() {
|
|||
}
|
||||
|
||||
int32_t taosMemoryDbgInitRestore() {
|
||||
#if defined(LINUX)
|
||||
#if defined(LINUX) && !defined(_ALPINE)
|
||||
int ret = mallopt(M_MMAP_THRESHOLD, 128 * 1024);
|
||||
if (0 == ret) {
|
||||
return TAOS_SYSTEM_ERROR(errno);
|
||||
|
|
|
@ -116,7 +116,7 @@ sql create stream stream_t1 trigger at_once IGNORE EXPIRED 1 into streamtST1 as
|
|||
sql create stream stream_t2 trigger at_once IGNORE EXPIRED 1 into streamtST2 as select _wstart, count(*) c1, count(a) c2 , sum(a) c3 , max(b) c5, min(c) c6 from st session(ts, 10s) ;
|
||||
sql insert into ts1 values(1648791211000,1,2,3);
|
||||
sql insert into ts1 values(1648791222001,2,2,3);
|
||||
sleep 300
|
||||
sleep 200
|
||||
sql insert into ts2 values(1648791211000,1,2,3);
|
||||
sql insert into ts2 values(1648791222001,2,2,3);
|
||||
|
||||
|
|
Loading…
Reference in New Issue