Mercurial > hg > monetdb-java
diff src/main/java/org/monetdb/jdbc/MonetConnection.java @ 496:c8f3950eec93 onclient
Introduce temp var for debugging convenience
author | Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com> |
---|---|
date | Thu, 12 Aug 2021 16:20:28 +0200 (2021-08-12) |
parents | 849af4b76b28 |
children | aed7f32e029a |
line wrap: on
line diff
--- a/src/main/java/org/monetdb/jdbc/MonetConnection.java +++ b/src/main/java/org/monetdb/jdbc/MonetConnection.java @@ -2985,7 +2985,8 @@ public class MonetConnection // }}} set reply size // send query to the server - out.writeLine(templ[0] + query + templ[1]); + String queryLine = (templ[0] == null ? "" : templ[0]) + query + (templ[1] == null ? "" : templ[1]); + out.writeLine(queryLine); // go for new results String tmpLine = in.readLine();