Fork自 taosdata / TDengine
system sh/stop_dnodes.sh system sh/deploy.sh -n dnode1 -i 1 system sh/cfg.sh -n dnode1 -c walLevel -v 0 system sh/exec.sh -n dnode1 -s start sleep 3000 sql connect print =============== step2 sql create database db sql show create database db if $rows != 1 then return -1 endi print =============== step3 sql use db sql show create database db if $rows != 1 then return -1 endi if $data00 != db then return -1 endi sql drop database db system sh/exec.sh -n dnode1 -s stop -x SIGINT