lp:~zorba-coders/zorba/substring-intopt
Created by
Carlos Manuel Lopez
and last modified
- Get this branch:
- bzr branch lp:~zorba-coders/zorba/substring-intopt
Members of
Zorba Coders
can upload to this branch. Log in for directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Matthias Brantner: Approve
- Markos Zaharioudakis: Approve
-
Diff: 1687 lines (+562/-197)18 files modifiedsrc/compiler/rewriter/rules/type_rules.cpp (+51/-40)
src/compiler/translator/translator.cpp (+19/-11)
src/functions/func_sequences_impl.cpp (+49/-49)
src/functions/func_strings_impl.cpp (+16/-3)
src/functions/pregenerated/func_strings.cpp (+37/-0)
src/functions/pregenerated/func_strings.h (+18/-0)
src/functions/pregenerated/function_enum.h (+2/-0)
src/runtime/spec/strings/strings.xml (+28/-6)
src/runtime/strings/pregenerated/strings.cpp (+28/-0)
src/runtime/strings/pregenerated/strings.h (+36/-0)
src/runtime/strings/strings_impl.cpp (+230/-88)
src/runtime/visitors/planiter_visitor_impl_code.h (+1/-0)
src/runtime/visitors/pregenerated/planiter_visitor.h (+5/-0)
src/runtime/visitors/pregenerated/printer_visitor.cpp (+14/-0)
src/runtime/visitors/pregenerated/printer_visitor.h (+3/-0)
src/runtime/visitors/printer_visitor_impl.h (+1/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/string/SubstringFunc/SubstringFunc2.iter (+10/-0)
test/rbkt/ExpCompilerResults/IterPlan/zorba/string/SubstringFunc/SubstringFunc3.iter (+14/-0)
Branch information
Recent revisions
- 10558. By Carlos Manuel Lopez
-
Changed the handling of conversion errors within substring arguments, now an xquery exception XQD0004 is thrown.
- 10556. By Carlos Manuel Lopez
-
Implemented try-catching to throw zorba error when over/under-flow happens.
- 10555. By Carlos Manuel Lopez
-
Added safeguards against overflows when the flag ZORBA_WITH_
BIG_INTEGER is used. - 10552. By Carlos Manuel Lopez
-
Added tests to verify the optimization of fn:substring when given integer arguments.
- 10551. By Carlos Manuel Lopez
-
Fixed an error where xs:integers are not able to be implicitly converted into xs_int variables.
- 10550. By Carlos Manuel Lopez
-
Made the translator apply the transformation as to allow for the substring optimization.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:zorba