fix error due to mismatching function names

fix error due to mismatching function names of DatabaseRow and its
derived classes