MDL-60041 dml: MOODLELIB sql file must have Unix line endings
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.
Showing with 3 additions and 0 deletions