[526225] Fix a regression related to statistics indexing

The fix for bug 518356
(http://git.eclipse.org/c/viatra/org.eclipse.viatra.git/commit/?id=aee1e492e61a238edd804dba7becd53af5a6f664
) erased the statistics indexes before executing a full indexing.
However, when moving model elements outside of the model scope, this
might have resulted in clearing the statistics when it is not
recalculated.

This change (backported from master) fixes the issue by only clearing
the stats store if the old indexing level had statistics indexing but
did not have instance indexing.

Conflicts:
	query/plugins/org.eclipse.viatra.query.runtime.base/src/org/eclipse/viatra/query/runtime/base/core/NavigationHelperImpl.java

Change-Id: I2d7fe18ccbc4c0f43199a42f753b50edf96ff114
Signed-off-by: Zoltan Ujhelyi <ujhelyiz@incquerylabs.com>
1 file changed
tree: 1cccc531ad0f379d7208c31b4b8281a16b2eaeae
  1. addon/
  2. artwork/
  3. cep/
  4. documentation/
  5. dse/
  6. integration/
  7. maven/
  8. query/
  9. releng/
  10. transformation/
  11. .gitattributes
  12. .gitignore
  13. .mailmap
  14. README.md
README.md

VIATRA

Most important links

License

All code in this repository is available under the Eclipse Public License v1.0: http://www.eclipse.org/legal/epl-v10.html