Skip to content
Browse files

Made dumpQueriesOnException = false by default as per documentation. …

…Added a unit test case for the same.

(cherry picked from commit 196b46c)
  • Loading branch information...
hT authored and rusher committed Jan 11, 2019
1 parent 8d7d26a commit f5df478169a8983ee8afaca1298482d6d1e77351
@@ -95,7 +95,7 @@
"Session timeout is defined by the wait_timeout "
+ "server variable. Setting interactiveClient to true will tell the server to use the interactive_timeout "
+ "server variable.", false),
DUMP_QUERY_ON_EXCEPTION("dumpQueriesOnException", Boolean.TRUE, "1.1.0",
DUMP_QUERY_ON_EXCEPTION("dumpQueriesOnException", Boolean.FALSE, "1.1.0",
"If set to 'true', an exception is thrown "
+ "during query execution containing a query string.", false),
USE_OLD_ALIAS_METADATA_BEHAVIOR("useOldAliasMetadataBehavior", Boolean.FALSE, "1.1.9",
@@ -102,7 +102,7 @@
public boolean createDatabaseIfNotExist;
public String serverTimezone;
public boolean nullCatalogMeansCurrent = true;
public boolean dumpQueriesOnException = true;
public boolean dumpQueriesOnException;
public boolean useOldAliasMetadataBehavior;
public boolean allowLocalInfile = true;
public boolean cachePrepStmts = true;

0 comments on commit f5df478

Please sign in to comment.
You can’t perform that action at this time.