Mercurial > hg > monetdb-java
changeset 566:eeea18f501b3 onclient
Remove SQLStates from error messages sent upstream
Server doesn't count on them.
author | Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com> |
---|---|
date | Thu, 23 Sep 2021 15:03:19 +0200 (2021-09-23) |
parents | 228a529b4059 |
children | e068d2039e14 |
files | src/main/java/org/monetdb/jdbc/MonetConnection.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/org/monetdb/jdbc/MonetConnection.java +++ b/src/main/java/org/monetdb/jdbc/MonetConnection.java @@ -3151,10 +3151,10 @@ public class MonetConnection if (transferCommand != null) error = handleTransfer(transferCommand); else - error = "!M0M10!protocol violation, expected transfer command, got nothing"; + error = "Protocol violation, expected transfer command, got nothing"; // Then prepare for the next iteration if (error != null) { - out.writeLine("!HY000!" + error + "\n"); + out.writeLine(error + "\n"); error = in.waitForPrompt(); } else { tmpLine = in.readLine();