Allow import SQL without delimiter till EOF.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
Merge pull request #1392 from Tithugues/SQLWithoutDelimiter_master

Allow import SQL without delimiter till EOF.