collection dml:truncate function missing
Bug #938934 reported by
Matthias Brantner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
High
|
Matthias Brantner |
Bug Description
The Collection's dml module should provide a new function called truncate. This function should be backed by a new update primitive that can be efficiently implemented in a particular store.
Related branches
lp:~zorba-coders/zorba/bug-938934
- Till Westmann: Approve
- Markos Zaharioudakis: Approve
- Matthias Brantner: Approve
-
Diff: 1266 lines (+646/-9)41 files modifiedChangeLog (+1/-0)
include/zorba/pregenerated/diagnostic_list.h (+2/-0)
modules/com/zorba-xquery/www/modules/pregenerated/errors.xq (+4/-0)
modules/com/zorba-xquery/www/modules/store/dynamic/collections/dml.xq (+16/-3)
modules/com/zorba-xquery/www/modules/store/static/collections/dml.xq (+15/-0)
src/diagnostics/diagnostic_en.xml (+4/-0)
src/diagnostics/pregenerated/diagnostic_list.cpp (+3/-0)
src/diagnostics/pregenerated/dict_en.cpp (+1/-0)
src/functions/func_collections_impl.cpp (+15/-0)
src/functions/pregenerated/func_collections.cpp (+25/-0)
src/functions/pregenerated/func_collections.h (+19/-0)
src/functions/pregenerated/function_enum.h (+2/-0)
src/runtime/collections/collections_impl.cpp (+87/-0)
src/runtime/collections/pregenerated/collections.cpp (+28/-0)
src/runtime/collections/pregenerated/collections.h (+44/-0)
src/runtime/core/apply_updates.cpp (+13/-1)
src/runtime/spec/collections/collections.xml (+46/-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/store/api/pul.h (+11/-1)
src/store/api/update_consts.h (+3/-0)
src/store/naive/collection.h (+2/-0)
src/store/naive/pul_primitive_factory.cpp (+12/-0)
src/store/naive/pul_primitive_factory.h (+10/-0)
src/store/naive/pul_primitives.cpp (+25/-0)
src/store/naive/pul_primitives.h (+29/-0)
src/store/naive/simple_collection.cpp (+11/-0)
src/store/naive/simple_collection.h (+3/-0)
src/store/naive/simple_index.h (+2/-0)
src/store/naive/simple_index_general.cpp (+40/-0)
src/store/naive/simple_index_general.h (+4/-0)
src/store/naive/simple_pul.cpp (+65/-2)
src/store/naive/simple_pul.h (+14/-1)
test/rbkt/ExpQueryResults/zorba/collections/delete_nodes/truncate_001.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/collections/dynamic6.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/index/auctions2.xml.res (+1/-0)
test/rbkt/Queries/zorba/collections/collection_002.xqdata (+3/-1)
test/rbkt/Queries/zorba/collections/delete_nodes/truncate_001.xq (+27/-0)
test/rbkt/Queries/zorba/collections/dynamic6.xq (+10/-0)
test/rbkt/Queries/zorba/index/auctions2.xq (+25/-0)
Changed in zorba: | |
status: | New → In Progress |
Changed in zorba: | |
status: | In Progress → Fix Committed |
Changed in zorba: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.