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

MaxDocuments is Int64

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • 1.8
    • Affects Version/s: 1.7
    • Component/s: None
    • Labels:
      None
    • Environment:
      C#Dirver 1.71

      When the MaxDocument of Collection is huge,over Int32,there will be a Error
      /// <summary>
      /// Gets the index count.
      /// </summary>
      public long MaxDocuments
      {
      get

      { return Response.GetValue("max", 0).ToInt32(); }

      }

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

              Created:
              Updated:
              Resolved: