Commit 274bdbda authored by Matt Tucker's avatar Matt Tucker Committed by matt

Better space handling (JM-854).

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@5514 b35dd754-fafc-0310-a699-88a17e54d16e
parent 3deffc68
...@@ -315,9 +315,9 @@ public class SchemaManager { ...@@ -315,9 +315,9 @@ public class SchemaManager {
} }
// Ignore comments and blank lines. // Ignore comments and blank lines.
if (isSQLCommandPart(line)) { if (isSQLCommandPart(line)) {
command.append(line); command.append(" ").append(line);
} }
if (line.endsWith(";")) { if (line.trim().endsWith(";")) {
break; break;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment