def get_table_list(cursor):
    """Returns a list of table names in the current database."""
    # Skip the sqlite_sequence system table used for autoincrement key
    # generation.
    cursor.execute("SHOW TABLES")
    return [row[0] for row in cursor.fetchall()]