Update to Drupal 8.1.2. For more information, see https://www.drupal.org/project/drupal/releases/8.1.2

This commit is contained in:
Pantheon Automation 2016-06-02 15:56:09 -07:00 committed by Greg Anderson
parent 9eae24d844
commit 28556d630e
1322 changed files with 6699 additions and 2064 deletions

View file

@ -79,7 +79,8 @@ class Connection extends DatabaseConnection {
public function query($query, array $args = array(), $options = array()) {
try {
return parent::query($query, $args, $options);
} catch (DatabaseException $e) {
}
catch (DatabaseException $e) {
if ($e->getPrevious()->errorInfo[1] == 1153) {
// If a max_allowed_packet error occurs the message length is truncated.
// This should prevent the error from recurring if the exception is

View file

@ -58,4 +58,5 @@ class Insert extends QueryInsert {
return $query;
}
}

View file

@ -374,7 +374,7 @@ class Connection extends DatabaseConnection {
* A string representing the savepoint name. By default,
* "mimic_implicit_commit" is used.
*
* @see Drupal\Core\Database\Connection::pushTransaction().
* @see Drupal\Core\Database\Connection::pushTransaction()
*/
public function addSavepoint($savepoint_name = 'mimic_implicit_commit') {
if ($this->inTransaction()) {
@ -389,7 +389,7 @@ class Connection extends DatabaseConnection {
* A string representing the savepoint name. By default,
* "mimic_implicit_commit" is used.
*
* @see Drupal\Core\Database\Connection::popTransaction().
* @see Drupal\Core\Database\Connection::popTransaction()
*/
public function releaseSavepoint($savepoint_name = 'mimic_implicit_commit') {
if (isset($this->transactionLayers[$savepoint_name])) {

View file

@ -282,4 +282,5 @@ class Tasks extends InstallTasks {
}
return $form;
}
}

View file

@ -844,6 +844,7 @@ class Schema extends DatabaseSchema {
// Modify the hash so it's safe to use in PostgreSQL identifiers.
return strtr($hash, array('+' => '_', '/' => '_', '=' => ''));
}
}
/**

View file

@ -152,6 +152,7 @@ class Select extends QuerySelect {
return $result;
}
}
/**

View file

@ -25,4 +25,5 @@ class Truncate extends QueryTruncate {
return $result;
}
}

View file

@ -41,7 +41,7 @@ class Connection extends DatabaseConnection {
*
* @var bool
*/
var $tableDropped = FALSE;
public $tableDropped = FALSE;
/**
* Constructs a \Drupal\Core\Database\Driver\sqlite\Connection object.

View file

@ -103,4 +103,5 @@ class Tasks extends InstallTasks {
}
return TRUE;
}
}

View file

@ -12,4 +12,5 @@ class Select extends QuerySelect {
// SQLite does not support FOR UPDATE so nothing to do.
return $this;
}
}

View file

@ -141,4 +141,5 @@ class Statement extends StatementPrefetch implements StatementInterface {
return $return;
}
}

View file

@ -17,4 +17,5 @@ class Truncate extends QueryTruncate {
return $comments . 'DELETE FROM {' . $this->connection->escapeTable($this->table) . '} ';
}
}

View file

@ -163,4 +163,5 @@ class Log {
}
}
}
}

View file

@ -87,4 +87,5 @@ interface AlterableInterface {
* The previously attached metadata object, or NULL if one doesn't exist.
*/
public function getMetaData($key);
}

View file

@ -351,4 +351,5 @@ class Condition implements ConditionInterface, \Countable {
public function orConditionGroup() {
return $this->conditionGroupFactory('OR');
}
}

View file

@ -191,4 +191,5 @@ interface ConditionInterface {
* @return \Drupal\Core\Database\Query\ConditionInterface
*/
public function orConditionGroup();
}

View file

@ -75,4 +75,5 @@ class Delete extends Query implements ConditionInterface {
return $query;
}
}

View file

@ -25,4 +25,5 @@ interface ExtendableInterface {
* The extender object, which now contains a reference to this object.
*/
public function extend($extender_name);
}

View file

@ -170,4 +170,5 @@ class Insert extends Query implements \Countable {
}
return TRUE;
}
}

View file

@ -403,4 +403,5 @@ class Merge extends Query implements ConditionInterface {
}
}
}
}

View file

@ -21,7 +21,7 @@ class PagerSelectExtender extends SelectExtender {
*
* @var int
*/
static $maxElement = 0;
public static $maxElement = 0;
/**
* The number of elements per page to allow.
@ -166,4 +166,5 @@ class PagerSelectExtender extends SelectExtender {
}
return $this;
}
}

View file

@ -19,4 +19,5 @@ interface PlaceholderInterface {
* The next available placeholder ID as an integer.
*/
public function nextPlaceholder();
}

View file

@ -532,4 +532,5 @@ class SelectExtender implements SelectInterface {
public function orConditionGroup() {
return $this->conditionGroupFactory('OR');
}
}

View file

@ -96,4 +96,5 @@ class TableSortExtender extends SelectExtender {
protected function order() {
return tablesort_get_order($this->header);
}
}

View file

@ -80,4 +80,5 @@ class Truncate extends Query {
return $comments . 'TRUNCATE {' . $this->connection->escapeTable($this->table) . '} ';
}
}
}

View file

@ -655,4 +655,5 @@ abstract class Schema implements PlaceholderInterface {
}
return is_string($value) ? $this->connection->quote($value) : $value;
}
}

View file

@ -208,4 +208,5 @@ interface StatementInterface extends \Traversable {
* An associative array, or an empty array if there is no result set.
*/
public function fetchAllAssoc($key, $fetch = NULL);
}

View file

@ -93,4 +93,5 @@ class Transaction {
$this->rolledBack = TRUE;
$this->connection->rollback($this->name);
}
}