Skip to content

ViewsHandlerFilterStringTest fails. #8

@jlfranklin

Description

@jlfranklin

The ViewsHandlerFilterStringTest fails. The call to query->add_where_expression() sends an integer as the placeholder value. By the time it gets to PDO, it has been converted to a string and SQLite executes LENGTH(field) < '5' instead of LENGTH(field) < 5. SQLite doesn't coerce types. It treats '5' as zero.

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