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

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