fix #111
test #111 also for from-sql-time