oracle
committed
on 08 Oct 01
fix db_foreach, hopefully will fix deadlock issue