未验证 提交 408425e8 编写于 作者: sangshuduo's avatar sangshuduo 提交者: GitHub

Hotfix/sangshuduo/td 4025 fix travis ci broken (#6375)

* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

change focal to bionic.

* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

install python3.8

* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

install python3.8 and pip, setuptools

* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

install python3.8, and install pip and setuptools

* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

modify smoketest.sh to python3.8

* fix timezone build error with clang/linux.
Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
上级 94acb5af
......@@ -43,7 +43,7 @@
*/
int64_t user_mktime64(const unsigned int year0, const unsigned int mon0,
const unsigned int day, const unsigned int hour,
const unsigned int min, const unsigned int sec, int64_t timezone)
const unsigned int min, const unsigned int sec, int64_t time_zone)
{
unsigned int mon = mon0, year = year0;
......@@ -61,7 +61,7 @@ int64_t user_mktime64(const unsigned int year0, const unsigned int mon0,
res = res*24;
res = ((res + hour) * 60 + min) * 60 + sec;
return (res + timezone);
return (res + time_zone);
}
// ==== mktime() kernel code =================//
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册