Fix 14528: Fix SQL import.

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

Fix 14528: Fix SQL import.