[development] Oracle porting & db_num_rows patches