Merge lp:~zorba-coders/zorba/skiplimit into lp:zorba
Proposed by
William Candillon
Status: | Superseded |
---|---|
Proposed branch: | lp:~zorba-coders/zorba/skiplimit |
Merge into: | lp:zorba |
Diff against target: |
417 lines (+222/-3) 19 files modified
src/compiler/parser/parser.y (+22/-3) src/compiler/parser/scanner.l (+2/-0) src/compiler/parsetree/parsenode_print_xml_visitor.cpp (+2/-0) src/compiler/parsetree/parsenode_print_xqdoc_visitor.cpp (+2/-0) src/compiler/parsetree/parsenode_print_xquery_visitor.cpp (+18/-0) src/compiler/parsetree/parsenode_visitor.h (+2/-0) src/compiler/parsetree/parsenodes.cpp (+31/-0) src/compiler/parsetree/parsenodes.h (+27/-0) src/compiler/translator/translator.cpp (+87/-0) test/rbkt/ExpQueryResults/zorba/offset-limit/offset-limit-1.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/offset-limit/offset-limit-2.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/offset-limit/offset-limit-3.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/offset-limit/offset-limit-4.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/offset-limit/offset-limit-5.xml.res (+1/-0) test/rbkt/Queries/zorba/offset-limit/offset-limit-1.xq (+4/-0) test/rbkt/Queries/zorba/offset-limit/offset-limit-2.xq (+3/-0) test/rbkt/Queries/zorba/offset-limit/offset-limit-3.xq (+3/-0) test/rbkt/Queries/zorba/offset-limit/offset-limit-4.xq (+7/-0) test/rbkt/Queries/zorba/offset-limit/offset-limit-5.xq (+7/-0) |
To merge this branch: | bzr merge lp:~zorba-coders/zorba/skiplimit |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ghislain Fourny | Needs Fixing | ||
Markos Zaharioudakis | Needs Information | ||
William Candillon | Approve | ||
Review via email: mp+173126@code.launchpad.net |
This proposal has been superseded by a proposal from 2013-07-19.
Commit message
Add offset limit clauses to the FLWOR.
Description of the change
Add offset limit clauses to the FLWOR.
These clauses are similar to limit and offset from SQL.
For example:
for $i in (1 to 10)
offset 5
limit 2
return $i
To post a comment you must log in.
Unmerged revisions
- 11577. By Paul J. Lucas
-
Comment fix.
- 11576. By Paul J. Lucas
-
Removed useless theOffsetExpr.
- 11575. By Paul J. Lucas
-
Removed erroneous use of theOffsetExpr.
- 11574. By Paul J. Lucas
-
Fixed test results.
- 11573. By Paul J. Lucas
-
Merge from trunk.
- 11572. By Paul J. Lucas
-
Comment fix to match reality.
- 11571. By Paul J. Lucas
-
Now using getNameAsString().
- 11570. By Paul J. Lucas
-
Merge from trunk.
- 11569. By Paul J. Lucas
-
Merge from trunk.
- 11568. By Paul J. Lucas
-
Removed unnecessary destructors.
1. I think Dana will have to approve the adding of proprietary syntax to do what is essentially syntactic sugar for fn:subsequence().
2. Why allow multiple offset/limit clauses when, as far as I can understand, only the last offset/limit clause takes effect?