def do_sql(conn, stmt, dry_run, *vals):
    """
    run stmt on sqlite connection conn
    """
    print(stmt, vals)
    if dry_run == 0:
        return conn.execute(stmt, vals)
    else:
        return []