Fix select_row on mysql adapter