[BUG] Found an uninited varialble and it causes some errors in "BinaryDeserialization.cs"

Can you give more details? enumSerialization will be false unless the tree version is greater than 1.6.4.
 
The problem occurs when I Upgrade my old tree to new tree.

1583725934303.png

2 old version btree. upgrade first one from 1.59 to 1.64. now enumSerialization = true. then select second one or run second one. the static enumSerialization still be true, error occur.
 
What change did you make? enumSerialization should be set to false initially and only true if the version is at least 1.6.4.
 
If I first choose 1.6.4 btree, the enumSerialization would be set to true, then I chose 1.5.7 btree, then "shaHashSerialization" would be set to false and the follow code would not run and then "enumSerialization" would not be set to false, it will still be true and make line510 enter wrong flow

1583810642052.png
 
Top