For #1055: fix Oracle, DB2 and MySQL retrieval of last_modified_time