You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"SQLancer failed creating a test database, indicating that SQLancer might have failed connecting to the DBMS. In order to change the username and password, you can use the --username and --password options. Currently, SQLancer does not yet support passing a host and port (see https://github.com/sqlancer/sqlancer/issues/95).\n\n");
484
+
e.printStackTrace();
485
+
returnoptions.getErrorExitCode();
486
+
}
487
+
}
488
+
451
489
for (inti = 0; i < options.getTotalNumberTries(); i++) {
Copy file name to clipboardExpand all lines: src/sqlancer/MainOptions.java
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -85,6 +85,9 @@ public class MainOptions {
85
85
@Parameter(names = "--use-constant-caching", description = "Specifies whether constants should be cached and re-used with a certain probability")
86
86
privatebooleanuseConstantCaching = true; // NOPMD
87
87
88
+
@Parameter(names = "--use-connection-test", description = "Test whether the DBMS is accessible before trying to connect using multiple threads")
89
+
privatebooleanuseConnectionTest = true; // NOPMD
90
+
88
91
@Parameter(names = "--constant-cache-size", description = "Specifies the size of the constant cache. This option only takes effect when constant caching is enabled")
89
92
privateintconstantCacheSize = 100; // NOPMD
90
93
@@ -204,4 +207,8 @@ public String getDatabasePrefix() {
0 commit comments