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

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

    XMLWordPrintableJSON

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: