提交 f5219bb2 编写于 作者: F freemine

add test cases

上级 f670e182
...@@ -19,6 +19,7 @@ Description=Connection to TAOS ...@@ -19,6 +19,7 @@ Description=Connection to TAOS
Driver=TAOS Driver=TAOS
EOF EOF
# better remove first ?
sudo odbcinst -i -d -f "${BLD_DIR}/template.ini" && sudo odbcinst -i -d -f "${BLD_DIR}/template.ini" &&
odbcinst -i -s -f "${BLD_DIR}/template.dsn" && odbcinst -i -s -f "${BLD_DIR}/template.dsn" &&
echo "odbc install done" echo "odbc install done"
......
P:drop database if exists m;
P:create database m;
P:use m;
P:drop table if exists t;
P:create table t (ts timestamp, b bool, v1 tinyint, v2 smallint, v4 int, v8 bigint, f4 float, f8 double, blob binary(3), name nchar(1));
P:insert into t (ts, blob, name) values('2020-10-10 00:00:00', 0, 1);
P:insert into t (ts, blob, name) values('2020-10-10 00:00:00.001', 1, 2);
P:insert into t (ts, blob, name) values('2020-10-10 00:00:00.002', '你', '好');
P:insert into t (ts, blob, name) values('2020-10-10 00:00:00.003', 'abc', 'd');
P:select * from t;
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册