ksRewind problem analysis WIP: temporarily commented out the (only) 3 usages of ksRewind in NativePlugin to isolate problem (problem cannot be reproduced locally on my machine)
@@ -95,7 +95,7 @@ public class NativePlugin implements Plugin
{
// TODO #3171 since internal cursor is not yet removed, we have to rewind it, even if we already removed it from {@code
// KeySet} API
- Elektra.INSTANCE.ksRewind (keySet.get ());
+ // Elektra.INSTANCE.ksRewind (keySet.get ());
int returnValue = elektraPlugin.kdbSet.invoke (elektraPlugin, keySet.get (), errorKey.get ());
if (returnValue == -1)
{
@@ -116,7 +116,7 @@ public class NativePlugin implements Plugin
{
// TODO #3171 since internal cursor is not yet removed, we have to rewind it, even if we already removed it from {@code
// KeySet} API
- Elektra.INSTANCE.ksRewind (keySet.get ());
+ // Elektra.INSTANCE.ksRewind (keySet.get ());
int returnValue = elektraPlugin.kdbGet.invoke (elektraPlugin, keySet.get (), errorKey.get ());
if (returnValue == -1)
{
@@ -136,7 +136,7 @@ public class NativePlugin implements Plugin
{
// TODO #3171 since internal cursor is not yet removed, we have to rewind it, even if we already removed it from {@code
// KeySet} API
- Elektra.INSTANCE.ksRewind (keySet.get ());
+ // Elektra.INSTANCE.ksRewind (keySet.get ());
return elektraPlugin.kdbError.invoke (elektraPlugin, keySet.get (), errorKey.get ());
}
