Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-75287

Make subtract behavior consistent with addition with regard to checking for overflow

    • Query Execution
    • Fully Compatible
    • v7.0, v6.0
    • 5

      In the classic engine, the behavior of subtraction for the Date type should be in line with addition, in that it should round double operands and check for overflow to report an error.

            Assignee:
            rushan.chen@mongodb.com Rushan Chen
            Reporter:
            kyle.suarez@mongodb.com Kyle Suarez
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: