summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjakefeasel <jfeasel@gmail.com>2015-04-03 12:36:15 -0700
committerjakefeasel <jfeasel@gmail.com>2015-04-03 12:36:15 -0700
commit6f8ea0bc2680c7e68ca7e15d3442a53de16d9cf4 (patch)
tree311ee0f896e74d27c03bdd1aaa65f2dfcb03aadd
parent81cbdea1d235f49d5d3b5fdbd19860b77d29acf3 (diff)
downloadsqlfiddle2-6f8ea0bc2680c7e68ca7e15d3442a53de16d9cf4.zip
sqlfiddle2-6f8ea0bc2680c7e68ca7e15d3442a53de16d9cf4.tar.gz
sqlfiddle2-6f8ea0bc2680c7e68ca7e15d3442a53de16d9cf4.tar.bz2
Removing unnecessary printlns
-rw-r--r--src/main/resources/tools/hosts/CreateScript.groovy2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/resources/tools/hosts/CreateScript.groovy b/src/main/resources/tools/hosts/CreateScript.groovy
index 5d2b867..42c7885 100644
--- a/src/main/resources/tools/hosts/CreateScript.groovy
+++ b/src/main/resources/tools/hosts/CreateScript.groovy
@@ -138,12 +138,10 @@ switch ( objectClass.objectClassValue ) {
// 3) The end of the statement, as indicated by a terminator at the end of the line or the end of the whole DDL
(Pattern.compile("(?<=(" + statement_separator + ")|^)([\\s\\S]*?)(?=(" + statement_separator + "\\s*\\n+)|(" + statement_separator + "\\s*\$)|\$)").matcher(ddl)).each {
if (it[0].size() && ((Boolean) it[0] =~ /\S/) ) {
- println "Attempting to execute " + it[0]
hostConnection.execute(it[0])
}
}
} catch (e) {
- println "ERROR CAUGHT!"
if (hostConnection != null) {
hostConnection.close()
}