This commit is contained in:
zyyang 2021-02-03 18:47:32 +08:00
parent 4fd7c9532e
commit ffcc0dec9f
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ public class TSDBStatementTest {
@Test
public void executeUpdate() {
String dbName = "test_" + UUID.randomUUID();
dbName = dbName.replace("-", "_");
dbName = dbName.replace("-", "_").substring(0,32);
try {
int affectRows = stmt.executeUpdate("create database " + dbName);
Assert.assertEquals(0, affectRows);