rewrite of sqimap_read_data_list() see this for more info: