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 636ca74 commit 89f1dd1Copy full SHA for 89f1dd1
src/main/java/org/apache/ibatis/jdbc/ScriptRunner.java
@@ -186,6 +186,10 @@ private void checkForMissingLineTerminator(StringBuilder command) {
186
187
private StringBuilder handleLine(StringBuilder command, String line) throws SQLException, UnsupportedEncodingException {
188
String trimmedLine = line.trim();
189
+ if (trimmedLine.toUpperCase().startsWith("DELIMITER")) {
190
+ delimiter = trimmedLine.substring(10).trim();
191
+ return command;
192
+ }
193
if (lineIsComment(trimmedLine)) {
194
println(trimmedLine);
195
} else if (commandReadyToExecute(trimmedLine)) {
0 commit comments