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

Incorrect usage of execFile function in multiple locations

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.5.1
    • 2.5.0
    • Shell, Storage
    • None
    • ALL

    Description

      The execFile function is declared as taking bool, bool and int params:

      Scope::execFile(const string& filename, bool printResult, bool reportError,
      int timeoutMs)

      but in the following places called with three boolean arguments:
      shell/dbshell.cpp:932: scope->execFile( files[i] , false , true, false)
      scripting/engine_spidermonkey.cpp:1805: s->execFile( filename, false, true, false)
      scripting/engine_v8.cpp:607: scope->execFile(filename, false, true, false)

      Attachments

        Activity

          People

            andreas.nilsson Andreas Nilsson
            andreas.nilsson Andreas Nilsson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: