orientechnologies/orientdb — pull request #2233 by kowalot (2014-04-15 22:38:07+00:00)
Title: Fixed execution of sql batch script when lines ending with \n 

Apart from script sql console command, sql batch with binary protocol does not execute commands.
Script sql uses ; as a delimiter.
Simple script below does nothing, due to not initialized linePart variable.
begin
let var1 = INSERT INTO Address CONTENT {Town:"Wroclaw",Zip:0}
let var2 = INSERT INTO University CONTENT {Name:"Pwr"}
commit
return 1