Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public void testSameDataNodeGetConnections() {

ResultSet resultSet =
statement.executeQuery(
"SELECT * FROM connections WHERE data_node_id = '" + dataNodeId + "'");
"SELECT * FROM connections WHERE datanode_id = '" + dataNodeId + "'");
if (!resultSet.next()) {
fail();
}
Expand Down Expand Up @@ -256,7 +256,7 @@ public void testClosedDataNodeGetConnections() throws Exception {

ResultSet resultSet =
statement.executeQuery(
"SELECT COUNT(*) FROM connections WHERE data_node_id = '" + closedDataNodeId + "'");
"SELECT COUNT(*) FROM connections WHERE datanode_id = '" + closedDataNodeId + "'");
if (!resultSet.next()) {
fail();
}
Expand Down Expand Up @@ -306,7 +306,7 @@ public void testClosedDataNodeGetConnections() throws Exception {

ResultSet resultSet =
statement.executeQuery(
"SELECT COUNT(*) FROM connections WHERE data_node_id = '" + closedDataNodeId + "'");
"SELECT COUNT(*) FROM connections WHERE datanode_id = '" + closedDataNodeId + "'");
if (!resultSet.next()) {
fail();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ private ColumnHeaderConstant() {
public static final String STATEMENT = "Statement";

// column names for show idle connection
public static final String DATANODE_ID = "data_node_id";
public static final String DATANODE_ID = "datanode_id";
public static final String USERID = "user_id";
public static final String SESSION_ID = "session_id";
public static final String USER_NAME = "user_name";
Expand Down