Skip to content

Commit

Permalink
Fix LET = rid on a SQL batch script
Browse files Browse the repository at this point in the history
Resolves: #7633
  • Loading branch information
luigidellaquila committed Oct 6, 2017
1 parent da08a7b commit c37e0c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ private Object executeLet(final String lastCommand, final ODatabaseDocument db)

if (cmd.equalsIgnoreCase("NULL") || cmd.startsWith("$") || (cmd.startsWith("[") && cmd.endsWith("]")) || (cmd.startsWith("{")
&& cmd.endsWith("}")) || (cmd.startsWith("\"") && cmd.endsWith("\"") || cmd.startsWith("'") && cmd.endsWith("'")) || (
cmd.startsWith("(") && cmd.endsWith(")")))
cmd.startsWith("(") && cmd.endsWith(")")) || cmd.startsWith("#"))
lastResult = getValue(cmd, db);
else
lastResult = executeCommand(cmd, db);
Expand Down

0 comments on commit c37e0c5

Please sign in to comment.