[TD-5219]<release>modify make_install.sh

This commit is contained in:
tomchon 2021-07-13 18:11:31 +08:00
parent ba090e2252
commit 319b8412e4
2 changed files with 2 additions and 5 deletions

View File

@ -421,7 +421,7 @@ function install_service() {
} }
function update_TDengine() { function update_TDengine() {
echo -e "${GREEN}Start to update TDEngine...${NC}" echo -e "${GREEN}Start to update TDengine...${NC}"
# Stop the service if running # Stop the service if running
if [ "$osType" != "Darwin" ]; then if [ "$osType" != "Darwin" ]; then

View File

@ -86,7 +86,7 @@ class TwoClients:
tdSql.execute("alter table stb2_0 add column col2 binary(4)") tdSql.execute("alter table stb2_0 add column col2 binary(4)")
tdSql.execute("alter table stb2_0 drop column col1") tdSql.execute("alter table stb2_0 drop column col1")
tdSql.execute("insert into stb2_0 values(1614218422000,8638,'R')") tdSql.execute("insert into stb2_0 values(1614218422000,8638,'R')")
tdSql.execute("drop dnode 10") tdSql.execute("drop dnode 2")
sleep(10) sleep(10)
os.system("rm -rf /var/lib/taos/*") os.system("rm -rf /var/lib/taos/*")
print("clear dnode chenhaoran02'data files") print("clear dnode chenhaoran02'data files")
@ -97,9 +97,6 @@ class TwoClients:
tdSql.execute("create dnode chenhaoran02 ;") tdSql.execute("create dnode chenhaoran02 ;")
# stop taosd and compact wal file # stop taosd and compact wal file
os.system("ps -ef |grep taosd |grep -v 'grep' |awk '{print $2}'|xargs kill -2") os.system("ps -ef |grep taosd |grep -v 'grep' |awk '{print $2}'|xargs kill -2")
sleep(10) sleep(10)