On an MVStore that has been in use for a while and has multiple versions 
stored calling MVStore#getRetainVersion() always returns -1 even after 
MVStore#setRetainVersion() is called.

The following code will print -1:
store.setRetainVersion(store.getCommitedVersion();
System.out.println(store.getRetainVersion());

I was looking at the implementation of MVStore#getRetainVersion and I 
noticed that it checks that currentStoreVersion is greater than -1.  Is 
this the correct variable for this check or should it be checking 
currentVersion instead?

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to