fix rowcount in executemany()
escape '%'