hi,
The attached patch include all the comment given by Tomas and i check sql
standard about LIMIT and this feature
it did not say anything about it but I think its good idea to include it to
LIMIT too and I will add it if we have consensus on it.
regards
surafel