liuis / leveldb

Automatically exported from code.google.com/p/leveldb
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Bug on Iterator.Prev() #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The testcase is attached.

Here's the output:
***** Running db_test
==== Test DBTest.Empty
==== Test DBTest.ReadWrite
==== Test DBTest.PutDeleteGet
==== Test DBTest.GetFromImmutableLayer
==== Test DBTest.GetFromVersions
==== Test DBTest.GetSnapshot
==== Test DBTest.GetLevel0Ordering
==== Test DBTest.GetOrderedByLevels
==== Test DBTest.GetPicksCorrectFile
==== Test DBTest.IterEmpty
==== Test DBTest.IterSingle
==== Test DBTest.IterMulti
==== Test DBTest.IterMultiWithDelete
db/db_test.cc:497: failed: b->va == a->va
make: *** [check] Error 1

Original issue reported on code.google.com by david.yu...@gmail.com on 12 Aug 2011 at 6:15

Attachments:

GoogleCodeExporter commented 9 years ago
Attaching the fix.
All tests seem to pass.
Please verify.

Original comment by david.yu...@gmail.com on 12 Aug 2011 at 7:01

Attachments:

GoogleCodeExporter commented 9 years ago
Hi David, thanks for the bug report and the fix!

We'd like to patch this into the LevelDB code - do you mind filling out this 
CLA so we can patch it in?
http://code.google.com/legal/individual-cla-v1.0.html
Let me know when you've completed this.

Thanks for your help,

Gabor

Original comment by ga...@google.com on 15 Aug 2011 at 12:18

GoogleCodeExporter commented 9 years ago
I've just completed the online form.
Thanks

Original comment by david.yu...@gmail.com on 15 Aug 2011 at 5:40

GoogleCodeExporter commented 9 years ago
Thanks.

This is fixed in r42.

Original comment by ga...@google.com on 16 Aug 2011 at 1:45