We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b4c94c commit 1bac47fCopy full SHA for 1bac47f
src/main/java/org/apache/ibatis/jdbc/ScriptRunner.java
@@ -203,7 +203,8 @@ private boolean lineIsComment(String trimmedLine) {
203
}
204
205
private boolean commandReadyToExecute(String trimmedLine) {
206
- return !fullLineDelimiter && trimmedLine.endsWith(delimiter) || fullLineDelimiter && trimmedLine.equals(delimiter);
+ // issue #561 remove anything after the delimiter
207
+ return !fullLineDelimiter && trimmedLine.contains(delimiter) || fullLineDelimiter && trimmedLine.equals(delimiter);
208
209
210
private void executeStatement(String command) throws SQLException, UnsupportedEncodingException {
0 commit comments