key uniqueness of value equality index not enforced
Bug #966706 reported by
Till Westmann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
High
|
Markos Zaharioudakis |
Bug Description
Updates inserting entries into a collection that result in duplicate keys in the index are not rejected.
An example can be found in test/rbkt/
Related branches
lp:~zorba-coders/zorba/bug-966706
- Markos Zaharioudakis: Approve
- Till Westmann: Approve
- Matthias Brantner: Approve
-
Diff: 2245 lines (+925/-429)23 files modifiedChangeLog (+1/-0)
src/runtime/core/apply_updates.cpp (+11/-5)
src/runtime/indexing/doc_indexer.cpp (+4/-6)
src/store/naive/node_items.cpp (+23/-23)
src/store/naive/node_items.h (+0/-22)
src/store/naive/pul_primitives.cpp (+33/-43)
src/store/naive/simple_index_value.cpp (+14/-13)
src/store/naive/simple_index_value.h (+9/-3)
src/store/naive/simple_pul.cpp (+476/-285)
src/store/naive/simple_pul.h (+24/-10)
src/store/naive/store.cpp (+18/-19)
src/store/naive/store_defs.h (+22/-0)
test/rbkt/ExpQueryResults/zorba/index/delete_from_collection_01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/index/undo2.xml.res (+2/-0)
test/rbkt/ExpQueryResults/zorba/index/undo3.xml.res (+6/-0)
test/rbkt/ExpQueryResults/zorba/index/unique.xml.res (+1/-0)
test/rbkt/Queries/zorba/index/delete_from_collection_01.xq (+13/-0)
test/rbkt/Queries/zorba/index/delete_from_collection_01.xqlib (+42/-0)
test/rbkt/Queries/zorba/index/undo2.xq (+43/-0)
test/rbkt/Queries/zorba/index/undo2.xqlib (+36/-0)
test/rbkt/Queries/zorba/index/undo3.xq (+59/-0)
test/rbkt/Queries/zorba/index/unique.xq (+50/-0)
test/rbkt/Queries/zorba/index/unique.xqlib (+37/-0)
Changed in zorba: | |
milestone: | none → 2.5 |
assignee: | nobody → Matthias Brantner (matthias-brantner) |
importance: | Undecided → High |
Changed in zorba: | |
status: | New → In Progress |
Changed in zorba: | |
assignee: | Matthias Brantner (matthias-brantner) → Markos Zaharioudakis (markos-za) |
Changed in zorba: | |
status: | In Progress → Fix Committed |
Changed in zorba: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.