Projet

Général

Profil

Révision b08fce64

Ajouté par Assos Assos il y a plus de 7 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/views_data_export/views_data_export.install
185 185
      switch ($db_type) {
186 186
        case 'mysql':
187 187
          // Check the max allowed packet size.
188
          $max_allowed_packet = db_query('SHOW VARIABLES WHERE variable_name = :name', array(':name' => 'max_allowed_packet'))->fetchField(1);
188
          try {
189
            $max_allowed_packet = db_query('SHOW VARIABLES WHERE variable_name = :name', array(':name' => 'max_allowed_packet'))->fetchField(1);
190
          }
191
          catch (Exception $e) {
192
            $max_allowed_packet = NULL;
193
          }
189 194
          if (is_numeric($max_allowed_packet)) {
190 195
            if ($max_allowed_packet < (16 * 1024 * 1024)) {
191 196
              $requirements['views_data_export'] = array(

Formats disponibles : Unified diff