changeset 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 788984342ae3
children aed7f32e029a
files src/main/java/org/monetdb/jdbc/MonetConnection.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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();