Skip to content

Fetching a nil value with iterateIndexedValues(inColumn:) causes crash. #527

@MythicLionMan

Description

@MythicLionMan

Unlike objects, the values in a YapDatabaseSecondaryIndexTransaction may be nil. The nullability specifier on enumerateIndexedValues:inColumn:matchingQuery:using: and its Swift counterpart are incorrect however. This means that calling the method from swift when a column value results in nil will cause a crash.

I've pushed a fix for this issue in PR #525

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions