未验证 提交 5e9859fd 编写于 作者: H huili 提交者: GitHub

Merge pull request #6384 from taosdata/xiaoping/add_test_case

add jdbc test case
......@@ -295,6 +295,14 @@ public class TSDBPreparedStatementTest {
assertAllNullExceptTimestamp(rs, ts);
}
}
@Test
public void createTwoSameDbTest() throws SQLException {
Statement stmt = conn.createStatement();
stmt.execute("create database dbtest");
Assert.assertThrows(SQLException.class, () -> stmt.execute("create database dbtest"));
}
@Test
public void setBoolean() throws SQLException {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册