added fetch_all. Problem: in SQL query 1=0 is added thus duplicates are produced. Before, it worked fine.