oracle.to_date should be stable, not immutable

some other minor fixes

by Fujii Masao