original_string: protected function attempt_oci_package_install() {
          $sqls = file_get_contents(__DIR__.'/oci_native_moodle_package.sql');
          $sqls = preg_split('/^\/$/sm', $sqls);
          foreach ($sqls as $sql) {
              $sql = trim($sql);
              if ($sql === '' or $sql === 'SHOW ERRORS') {
                  continue;
              }
              $this->change_database_structure($sql);
          }
      }
code: protected function attempt_oci_package_install() {
          $sqls = file_get_contents(__DIR__.'/oci_native_moodle_package.sql');
          $sqls = preg_split('/^\/$/sm', $sqls);
          foreach ($sqls as $sql) {
              $sql = trim($sql);
              if ($sql === '' or $sql === 'SHOW ERRORS') {
                  continue;
              }
              $this->change_database_structure($sql);
          }
      }
code_tokens: protected function attempt_oci_package_install ( ) { $ sqls = file_get_contents ( __DIR__ . '/oci_native_moodle_package.sql' ) ; $ sqls = preg_split ( '/^\/$/sm' , $ sqls ) ; foreach ( $ sqls as $ sql ) { $ sql = trim ( $ sql ) ; if ( $ sql === '' or $ sql === 'SHOW ERRORS' ) { continue ; } $ this -> change_database_structure ( $ sql ) ; } }
docstring: Try to add required moodle package into oracle server.
docstring_tokens: Try to add required moodle package into oracle server .