Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-258

The 1.0 and 1.1 versions of the C# driver write a different value to the database for DateTime.MaxValue

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.2
    • Affects Version/s: 1.0, 1.1
    • Component/s: None
    • None
    • Fully Compatible

      Version 1.0 wrote a value of 253402300800000 for DateTime.MaxValue. Version 1.1 writes the correct value of 253402300799999.

      The problem is that existing DateTime.MaxValue values written with the 1.0 version can now not be read by the 1.1 version.

      There needs to be some kind of backward compatibility mode with existing data in the 1.1 version. It is probably OK if the 1.0 version doesn't correctly handle data written by the 1.1 version (comments?).

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: