Mercurial > hg > monetdb-java
diff src/main/java/org/monetdb/jdbc/MonetConnection.java @ 722:9a243dce3b15
Small improvements.
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Thu, 19 Jan 2023 19:29:08 +0100 (2023-01-19) |
parents | aeb268156580 |
children | f317b37bad30 |
line wrap: on
line diff
--- a/src/main/java/org/monetdb/jdbc/MonetConnection.java +++ b/src/main/java/org/monetdb/jdbc/MonetConnection.java @@ -705,7 +705,6 @@ public class MonetConnection @Override public String nativeSQL(final String sql) { /* there is currently no way to get the native MonetDB rewritten SQL string back, so just return the original string */ - /* in future we may replace/remove the escape sequences { <escape-type> ...} before sending it to the server */ return sql; } @@ -1981,9 +1980,7 @@ public class MonetConnection env_raw_strings = "false"; } } - if ("true".equals(env_raw_strings)) - return true; - return false; + return "true".equals(env_raw_strings); } /**