Mercurial > hg > monetdb-java
comparison src/main/java/org/monetdb/jdbc/MonetConnection.java @ 516:704a11b93e6b onclient
Removing error-flush makes it much better
author | Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com> |
---|---|
date | Tue, 24 Aug 2021 10:01:20 +0200 (2021-08-24) |
parents | 7bbcff2c775b |
children | 72007c4f8f8a |
comparison
equal
deleted
inserted
replaced
515:7bbcff2c775b | 516:704a11b93e6b |
---|---|
3150 // Handle the request | 3150 // Handle the request |
3151 error = handleTransfer(transferCommand); | 3151 error = handleTransfer(transferCommand); |
3152 // Then prepare for the next iteration | 3152 // Then prepare for the next iteration |
3153 if (error != null) { | 3153 if (error != null) { |
3154 out.writeLine("!HY000!" + error + "\n"); | 3154 out.writeLine("!HY000!" + error + "\n"); |
3155 out.flush(); | |
3156 error = in.waitForPrompt(); | 3155 error = in.waitForPrompt(); |
3157 } else { | 3156 } else { |
3158 tmpLine = in.readLine(); | 3157 tmpLine = in.readLine(); |
3159 } | 3158 } |
3160 linetype = in.getLineType(); | 3159 linetype = in.getLineType(); |