Tasks::checkStandardConformingStrings

public Tasks::checkStandardConformingStrings() Ensures standard_conforming_strings setting is 'on'. When standard_conforming_strings setting is 'on' string literals ('...') treat backslashes literally, as specified in the SQL standard. This allows Drupal to convert between bytea, text and varchar columns. File core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php, line 192 Class Tasks Specifies installation tasks for PostgreSQL databases. Namespace Drupal\Core\Database\Driver\pgs

Tasks::checkEngineVersion

protected Tasks::checkEngineVersion() Check the engine version. Overrides Tasks::checkEngineVersion File core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php, line 153 Class Tasks Specifies installation tasks for MySQL and equivalent databases. Namespace Drupal\Core\Database\Driver\mysql\Install Code protected function checkEngineVersion() { parent::checkEngineVersion(); // Ensure that the MySQL driver supports utf8mb4 encoding. $version = Database::getConnection()->c

Tasks::checkEngineVersion

protected Tasks::checkEngineVersion() Check the engine version. File core/lib/Drupal/Core/Database/Install/Tasks.php, line 188 Class Tasks Database installer structure. Namespace Drupal\Core\Database\Install Code protected function checkEngineVersion() { // Ensure that the database server has the right version. if ($this->minimumVersion() && version_compare(Database::getConnection()->version(), $this->minimumVersion(), '<')) { $this->fail(t("The database

Tasks::checkEncoding

protected Tasks::checkEncoding() Check encoding is UTF8. File core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php, line 114 Class Tasks Specifies installation tasks for PostgreSQL databases. Namespace Drupal\Core\Database\Driver\pgsql\Install Code protected function checkEncoding() { try { if (db_query('SHOW server_encoding')->fetchField() == 'UTF8') { $this->pass(t('Database is encoded in UTF-8')); } else { $this->fail(t('The %driver databas

Tasks::checkBinaryOutputSuccess

protected Tasks::checkBinaryOutputSuccess() Verify that a binary data roundtrip returns the original string. File core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php, line 180 Class Tasks Specifies installation tasks for PostgreSQL databases. Namespace Drupal\Core\Database\Driver\pgsql\Install Code protected function checkBinaryOutputSuccess() { $bytea_output = db_query("SHOW bytea_output")->fetchField(); return ($bytea_output == 'escape'); }

Tasks::checkBinaryOutput

Tasks::checkBinaryOutput() Check Binary Output. Unserializing does not work on Postgresql 9 when bytea_output is 'hex'. File core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php, line 136 Class Tasks Specifies installation tasks for PostgreSQL databases. Namespace Drupal\Core\Database\Driver\pgsql\Install Code function checkBinaryOutput() { // PostgreSQL < 9 doesn't support bytea_output, so verify we are running // at least PostgreSQL 9. $database_connection = Database

Tasks::$tasks

Structure that describes each task to run. Each value of the tasks array is an associative array defining the function to call (optional) and any arguments to be passed to the function. Type: array File core/lib/Drupal/Core/Database/Install/Tasks.php, line 29 Class Tasks Database installer structure. Namespace Drupal\Core\Database\Install Code protected $tasks = array( array( 'function' => 'checkEngineVersion', 'arguments' => array(), ), array( 'arguments' =>

Tasks::$results

Results from tasks. Type: array File core/lib/Drupal/Core/Database/Install/Tasks.php, line 77 Class Tasks Database installer structure. Namespace Drupal\Core\Database\Install Code protected $results = array( 'fail' => array(), 'pass' => array(), );

Tasks::$pdoDriver

The name of the PDO driver this database type requires. Type: string Overrides Tasks::$pdoDriver File core/lib/Drupal/Core/Database/Driver/sqlite/Install/Tasks.php, line 18 Class Tasks Specifies installation tasks for SQLite databases. Namespace Drupal\Core\Database\Driver\sqlite\Install Code protected $pdoDriver = 'sqlite';

Tasks::$pdoDriver

The PDO driver name for MySQL and equivalent databases. Type: string Overrides Tasks::$pdoDriver File core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php, line 30 Class Tasks Specifies installation tasks for MySQL and equivalent databases. Namespace Drupal\Core\Database\Driver\mysql\Install Code protected $pdoDriver = 'mysql';