Skip to content

Commit

Permalink
Revert "ElektraInitiative#3713 ksRewind problem analysis WIP: tempora…
Browse files Browse the repository at this point in the history
…rily commented out the (only) 3 usages of ksRewind in NativePlugin to isolate problem (problem cannot be reproduced locally on my machine)"

This reverts commit 6b91332.
  • Loading branch information
Michael Tucek authored and a-kraschitzer committed Apr 14, 2021
1 parent e347348 commit 0b2cda3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public int set (KeySet keySet, Key errorKey) throws KDBException
{
// 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)
{
Expand All @@ -116,7 +116,7 @@ public int get (KeySet keySet, Key errorKey) throws KDBException
{
// 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)
{
Expand All @@ -136,7 +136,7 @@ public int error (KeySet keySet, Key errorKey)
{
// 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 ());
}

Expand Down

0 comments on commit 0b2cda3

Please sign in to comment.