Menu

#9 Index on NumFields not working - Testcase included

open-duplicate
None
5
2010-01-28
2010-01-28
Anonymous
No

Attached please find a simple JUnit Test. It creates a new DBF with a NumField and a CharField.
It then inserts some records and tries to find one of them using an index on the NumField. This will fail.
Changing NumField to CharField will work however.

Discussion

  • Anonymous

    Anonymous - 2010-01-28

    Just found this forum thread: https://sourceforge.net/projects/xbasej/forums/forum/766925/topic/3438184

    Removing the null check mentioned way down actually solves the problem. Would be good to know though, what else might be broken now. Unit tests run green.

     
  • Joe McVerry

    Joe McVerry - 2010-01-28

    this is a known bug.

     
  • Joe McVerry

    Joe McVerry - 2010-01-28
    • assigned_to: nobody --> usacoder
    • status: open --> open-duplicate
     

Log in to post a comment.

MongoDB Logo MongoDB