19 lines
561 B
Plaintext
19 lines
561 B
Plaintext
system sh/stop_dnodes.sh
|
|
system sh/deploy.sh -n dnode1 -i 1
|
|
system sh/exec.sh -n dnode1 -s start
|
|
sql connect
|
|
|
|
sql create database tt precision 'us';
|
|
sql use tt ;
|
|
sql CREATE TABLE t_test_table ( ts TIMESTAMP, a NCHAR(80), b NCHAR(80), c NCHAR(80) );
|
|
sql insert into t_test_table values('2024-04-07 14:30:22.823','aa','aa', 'aa');
|
|
sql select * from t_test_table t union all select * from t_test_table t ;
|
|
if $rows != 2 then
|
|
return -1
|
|
endi
|
|
if $data00 != @24-04-07 14:30:22.823000@ then
|
|
return -1
|
|
endi
|
|
|
|
system sh/exec.sh -n dnode1 -s stop -x SIGINT
|