ok, here is a really small patch that wants to get into core.
Don't laugh.

CommentFileSizeAuthor
db-query-range.patch1.3 KBkilles@www.drop.org
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dries’s picture

What is this about? Why is this necessary? Please provide helpful descriptions. It saves time.

killes@www.drop.org’s picture

Sorry, I though the patch would speak for itself, but it doesn't provide enough lines: func_get_args gets called twice in db_get_range. Don't know if the function is expensive, but I still think it is better code this way.

Dries’s picture

Committed to HEAD. Thanks.

Anonymous’s picture