It should be noted that the $ids and $conditions array arguments to the DrupalDefaultEntityController::buildQuery() function should be limited to avoid a PDO error like #1210092: PDOException: SQLSTATE[HY000]: General error: 1 too many SQL variables: SELECT t.* FROM {field_data_body} t WHERE (entity_type =

CommentFileSizeAuthor
buildquery-limits.patch1.06 KBpillarsdotnet

Comments

jhodgdon’s picture

Status: Active » Closed (duplicate)

Will you please stop splitting relatively simple doc issues into multiple pieces. It is very annoying, and causes MUCH more work for me and committers. And this is not the right way to document this. See #1210606: Document that operations that delete in bulk can hit limits for the number of arguments