Commit 9bc5135f authored by unknown's avatar unknown
Browse files

Polishing: add comments.


sql/parse_file.cc:
  Add comments.
parent 1895cdb3
Loading
Loading
Loading
Loading
+13 −2
Original line number Diff line number Diff line
@@ -726,7 +726,11 @@ bool get_file_options_ulllist(char *&ptr, char *end, char *line,
                        TABLE)
    mem_root            MEM_ROOT for parameters allocation
    parameters          parameters description
    required            number of required parameters in above list
    required            number of parameters in the above list. If the file
                        contains more parameters than "required", they will
                        be ignored. If the file contains less parameters
                        then "required", non-existing parameters will
                        remain their values.
    hook                hook called for unknown keys
    hook_data           some data specific for the hook

@@ -909,6 +913,13 @@ File_parser::parse(gptr base, MEM_ROOT *mem_root,
      }
    }
  }

  /*
    NOTE: if we read less than "required" parameters, it is still Ok.
    Probably, we've just read the file of the previous version, which
    contains less parameters.
  */

  DBUG_RETURN(FALSE);
}