// Use _drupal_trigger_error_with_delayed_logging() here since these are
// triggered during low-level operations that cannot necessarily be
// interrupted by a watchdog() call.
if($error_type=='missing'){
_drupal_trigger_error_with_delayed_logging(format_string('The following @type is missing from the file system: %name. For information about how to fix this, see <a href="@documentation">the documentation page</a>.',array('@type'=>$type,'%name'=>$name,'@documentation'=>'https://www.drupal.org/node/2487215')),E_USER_WARNING);
}
elseif($error_type=='moved'){
_drupal_trigger_error_with_delayed_logging(format_string('The following @type has moved within the file system: %name. In order to fix this, clear caches or put the @type back in its original location. For more information, see <a href="@documentation">the documentation page</a>.',array('@type'=>$type,'%name'=>$name,'@documentation'=>'https://www.drupal.org/node/2487215')),E_USER_WARNING);
// The libmysqlclient driver supports utf8mb4 starting at version 5.5.3.
if(version_compare($version,'5.5.3','<')){
returnFALSE;
}
}
// Ensure that the MySQL server supports large prefixes and utf8mb4.
try{
$this->query("CREATE TABLE {drupal_utf8mb4_test} (id VARCHAR(255), PRIMARY KEY(id(255))) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci ROW_FORMAT=DYNAMIC ENGINE=INNODB");