New test case for block-sorting.
Fix the OFFSET clause so that it works correctly on queries that lack
a FROM clause.  Ticket [07d6a0453d4ed8].
Merge the OFFSET-on-query-without-FROM fix from trunk.