Skip to content

Commit dc2bc44

Browse files
committed
delete comments
1 parent f201549 commit dc2bc44

5 files changed

Lines changed: 0 additions & 11 deletions

File tree

src/sqlancer/clickhouse/ClickHouseProvider.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,7 @@ public SQLConnection createDatabase(ClickHouseGlobalState globalState) throws SQ
116116

117117
ClickHouseOptions clickHouseOptions = globalState.getDmbsSpecificOptions();
118118
globalState.setClickHouseOptions(clickHouseOptions);
119-
// String url = "jdbc:clickhouse://localhost:8123/default";
120119
String url = String.format("jdbc:clickhouse://%s:%d/default", host, port);
121-
// String url = "jdbc:clickhouse://" + host + ":" + port + "/default";
122120
String databaseName = globalState.getDatabaseName();
123121
Connection con = DriverManager.getConnection(url, globalState.getOptions().getUserName(),
124122
globalState.getOptions().getPassword());

src/sqlancer/cockroachdb/CockroachDBProvider.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,6 @@ public SQLConnection createDatabase(CockroachDBGlobalState globalState) throws S
259259
port = CockroachDBOptions.DEFAULT_PORT;
260260
}
261261
String databaseName = globalState.getDatabaseName();
262-
// String url = "jdbc:postgresql://localhost:26257/test";
263-
// String url = "jdbc:postgresql://" + host + ":" + port + "/test";
264262
String url = String.format("jdbc:postgresql://%s:%d/test", host, port);
265263
Connection con = DriverManager.getConnection(url, globalState.getOptions().getUserName(),
266264
globalState.getOptions().getPassword());

src/sqlancer/mariadb/MariaDBProvider.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,6 @@ public SQLConnection createDatabase(MariaDBGlobalState globalState) throws SQLEx
171171
globalState.getState().logStatement("DROP DATABASE IF EXISTS " + globalState.getDatabaseName());
172172
globalState.getState().logStatement("CREATE DATABASE " + globalState.getDatabaseName());
173173
globalState.getState().logStatement("USE " + globalState.getDatabaseName());
174-
// /?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true
175-
// String url = "jdbc:mariadb://localhost:3306";
176174
username = globalState.getOptions().getUserName();
177175
password = globalState.getOptions().getPassword();
178176
host = globalState.getOptions().getHost();
@@ -183,7 +181,6 @@ public SQLConnection createDatabase(MariaDBGlobalState globalState) throws SQLEx
183181
if (port == MainOptions.NO_SET_PORT) {
184182
port = MariaDBOptions.DEFAULT_PORT;
185183
}
186-
// String url = "jdbc:mariadb://" + host + ":" + port;
187184
String url = String.format("jdbc:mariadb://%s:%d", host, port);
188185
Connection con = DriverManager.getConnection(url, username, password);
189186
try (Statement s = con.createStatement()) {

src/sqlancer/mysql/MySQLProvider.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,6 @@ public SQLConnection createDatabase(MySQLGlobalState globalState) throws SQLExce
168168
globalState.getState().logStatement("DROP DATABASE IF EXISTS " + databaseName);
169169
globalState.getState().logStatement("CREATE DATABASE " + databaseName);
170170
globalState.getState().logStatement("USE " + databaseName);
171-
// String url = "jdbc:mysql://" + host + ":" + port
172-
// + "?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true";
173171
String url = String.format("jdbc:mysql://%s:%d?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true",
174172
host, port);
175173
Connection con = DriverManager.getConnection(url, username, password);

src/sqlancer/tidb/TiDBProvider.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,6 @@ public SQLConnection createDatabase(TiDBGlobalState globalState) throws SQLExcep
145145
}
146146

147147
String databaseName = globalState.getDatabaseName();
148-
// String url = "jdbc:mysql://127.0.0.1:4000/";
149-
// String url = "jdbc:mysql://" + host + ":" + port + "/";
150148
String url = String.format("jdbc:mysql://%s:%d/", host, port);
151149
Connection con = DriverManager.getConnection(url, globalState.getOptions().getUserName(),
152150
globalState.getOptions().getPassword());

0 commit comments

Comments
 (0)