def has_table(self, name, schema=None):
        # TODO(wesm): unused?
        # escape = _SQL_GET_IDENTIFIER[self.flavor]
        # esc_name = escape(name)

        wld = _SQL_WILDCARD[self.flavor]
        flavor_map = {
            'sqlite': ("SELECT name FROM sqlite_master "
                       "WHERE type='table' AND name=%s;") % wld,
            'mysql': wld % "SHOW TABLES LIKE %s"}
        query = flavor_map.get(self.flavor)

        return len(self.execute(query, [name, ]).fetchall()) > 0
dataset/ETHPy150Open pydata/pandas/pandas/io/sql.py/SQLiteDatabase.has_table/swapped operands of `%`