summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjakefeasel <jfeasel@gmail.com>2015-03-06 18:16:31 -0800
committerjakefeasel <jfeasel@gmail.com>2015-03-06 18:16:31 -0800
commit064b1de892c9ce47282418e28bde16abacb3f6cd (patch)
treed47ea572d4fc912bf9593f3b826692fac13f496e
parent8a11d51925de7a08f203b4448cfb72a7816a5192 (diff)
downloadsqlfiddle2-064b1de892c9ce47282418e28bde16abacb3f6cd.zip
sqlfiddle2-064b1de892c9ce47282418e28bde16abacb3f6cd.tar.gz
sqlfiddle2-064b1de892c9ce47282418e28bde16abacb3f6cd.tar.bz2
Typo with read call on db_types
-rw-r--r--src/main/resources/script/executeQuery.groovy2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/resources/script/executeQuery.groovy b/src/main/resources/script/executeQuery.groovy
index 5b42376..60b9d9f 100644
--- a/src/main/resources/script/executeQuery.groovy
+++ b/src/main/resources/script/executeQuery.groovy
@@ -102,7 +102,7 @@ def execQueryStatement(connection, statement, rethrow) {
def schema_def = openidm.read("system/fiddles/schema_defs/" + content.db_type_id + "_" + content.schema_short_code)
assert schema_def != null
-def db_type = openidm.read("system/fiddles/db_type/" + content.db_type_id)
+def db_type = openidm.read("system/fiddles/db_types/" + content.db_type_id)
// Update the timestamp for the schema_def each time this instance is used, so we know if it should stay running longer
schema_def.last_used = (new Date().format("yyyy-MM-dd HH:mm:ss.S"))