mirror of
https://github.com/taosdata/TDengine
synced 2026-05-24 10:09:01 +00:00
32 lines
502 B
Text
32 lines
502 B
Text
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 2000
|
|
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
|