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.