diff --git a/src/connector/jdbc/src/test/java/com/taosdata/jdbc/TSDBJNIConnectorTest.java b/src/connector/jdbc/src/test/java/com/taosdata/jdbc/TSDBJNIConnectorTest.java index e671ac912373f02850ddf76d04205e581f5b6f45..aba95f65b7d618d8f008cad986dd879f5113724c 100644 --- a/src/connector/jdbc/src/test/java/com/taosdata/jdbc/TSDBJNIConnectorTest.java +++ b/src/connector/jdbc/src/test/java/com/taosdata/jdbc/TSDBJNIConnectorTest.java @@ -20,7 +20,7 @@ public class TSDBJNIConnectorTest { TSDBJNIConnector connector = new TSDBJNIConnector(); connector.connect("127.0.0.1", 6030, null, "root", "taosdata"); // executeQuery - long pSql = connector.executeQuery("show variable"); + long pSql = connector.executeQuery("show variables"); if (connector.isUpdateQuery(pSql)) { connector.freeResultSet(pSql); throw TSDBError.createSQLException(TSDBErrorNumbers.ERROR_INVALID_WITH_EXECUTEQUERY);