Skip to content
  • Neill Magill's avatar
    MDL-60041 dml: MOODLELIB sql file must have Unix line endings · 61fad215
    Neill Magill authored
    If the file does not have Unix line endings then the regular expression
    in oci_native_moodle_database::attempt_oci_package_install() does
    not split it correctly.
    
    This leads to an invalid package being created in Oracle.
    
    The .gitattribute file changes for oci_native_moodle_package.sql
    force it to have Unix style line endings when the branch is checked
    out and the file does not already exist.
    
    The file has been modified so that the Unix style line endings are
    applied even if the file already exists, for example when pulling in
    this change to an existing branch.
    61fad215