commit | 93c7d4ef3ecf2945359ff740e920a14853c4bc17 | [log] [tgz] |
---|---|---|
author | Zoltan Ujhelyi <ujhelyiz@incquerylabs.com> | Fri Oct 20 15:03:34 2017 +0200 |
committer | Zoltan Ujhelyi <ujhelyiz@incquerylabs.com> | Tue Oct 31 05:41:57 2017 -0400 |
tree | 1cccc531ad0f379d7208c31b4b8281a16b2eaeae | |
parent | 8dfe52d1c4f58b1d4b39566b4fed8f3051ae9aea [diff] |
[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>
All code in this repository is available under the Eclipse Public License v1.0: http://www.eclipse.org/legal/epl-v10.html