lp:~zorba-coders/zorba/fix-boost-typedef
- Get this branch:
- bzr branch lp:~zorba-coders/zorba/fix-boost-typedef
Branch merges
- Paul J. Lucas: Approve
- Matthias Brantner: Approve
- Federico Cavalieri: Approve
-
Diff: 336 lines (+57/-65)5 files modifiedsrc/functions/cacheable_function.cpp (+15/-17)
src/functions/cacheable_function.h (+10/-10)
src/functions/external_function.cpp (+4/-6)
src/functions/udf.cpp (+4/-4)
src/zorbautils/hashmap_itemh_cache.h (+24/-28)
Branch information
Recent revisions
- 11721. By Paul J. Lucas
-
Added make_iterator() that's more reasonable than ItemSequence (which should eventually be deprecated and removed since it's rather pointless).
Approved: Matthias Brantner, Paul J. Lucas - 11720. By Paul J. Lucas
-
1. setVariable() now supports casting elements of sequences.
2. Cleaned-up some headers.
3. zorba command now supports converting multiple values for the same variable into a sequence, e.g.:
zorba -e x:=1 -e x:=2 -q 'declare variable $x as xs:integer+ external; $x'
returns:
1 2
Approved: Matthias Brantner, Paul J. Lucas - 11719. By Federico Cavalieri
-
Greatly improved function caching.
* Changed function annotations:
- %an:deterministic: disables caching (previously %an:no-cache)
- %an:strictlydeterministic: enables caching for deterministic and non-deterministic functions. Cache is only within the same snapshot.
- %an:cache enables caching for deterministic, non-deterministic and sequential functions. Caches is across snapshots. (unchanged)
- %an:exclude-from-cache- key(n) specifies that a function argument has to be ignored when computing the cache key
- %an:compare-with-deep- equal(n) specifies that a function argument has to be compared with deep-equal semantics * Changed criteria for default annotations of internal and external functions:
- Functions which have no %an:deterministic, %an:nondeterministic or %an:strictlydet erministic annotations and all their parameter and the return types are atomics are now automatically annotated %an:strictlydet erministic
- All the other functions are annotated %an:deterministic
* Added snapshot id in global dynamic context
* Added dynamic context xquery module
* Added strict equality hashmap
* Reimplemented %an:cache
* Enabled caching for function that have non atomic arguments
* Whenever the eager evaluation of a function arguments raises an error, the evaluation is retried without cache. The function cache is then disabled if it was automatically detected.
Approved: Matthias Brantner, Federico Cavalieri - 11718. By Paul J. Lucas
-
1. Added the ability to do casting when setting the value of an external variable.
2. The zorba command now always requests casting.
Approved: Matthias Brantner, Paul J. Lucas - 11717. By Paul J. Lucas
-
Added missing #include <cassert> all over.
Approved: Matthias Brantner, Paul J. Lucas - 11716. By Matthias Brantner
-
initial version of sleep module
Approved: Federico Cavalieri, Matthias Brantner - 11715. By Federico Cavalieri
-
Updated http client with deterministic send-request functions, improved documentation, transparent retries and patch method support.
Approved: Matthias Brantner, Federico Cavalieri - 11714. By Federico Cavalieri
-
Fixed external functions skip iterator
Approved: Federico Cavalieri, Matthias Brantner
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:zorba