From f9a9b0dadcf033207e8981beec0408df1d5a914a Mon Sep 17 00:00:00 2001 From: zyyang Date: Tue, 19 Jan 2021 18:58:36 +0800 Subject: [PATCH] change --- .../src/main/java/com/taosdata/jdbc/TSDBDatabaseMetaData.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connector/jdbc/src/main/java/com/taosdata/jdbc/TSDBDatabaseMetaData.java b/src/connector/jdbc/src/main/java/com/taosdata/jdbc/TSDBDatabaseMetaData.java index 40b5ad62fc..b2c40b55db 100644 --- a/src/connector/jdbc/src/main/java/com/taosdata/jdbc/TSDBDatabaseMetaData.java +++ b/src/connector/jdbc/src/main/java/com/taosdata/jdbc/TSDBDatabaseMetaData.java @@ -691,7 +691,7 @@ public class TSDBDatabaseMetaData implements java.sql.DatabaseMetaData { TSDBResultSetRowData rowData = new TSDBResultSetRowData(1); rowData.setString(0, "TABLE"); rowDataList.add(rowData); - rowData = new TSDBResultSetRowData(); + rowData = new TSDBResultSetRowData(1); rowData.setString(0, "STABLE"); rowDataList.add(rowData); resultSet.setRowDataList(rowDataList); -- GitLab