You are here

public function DatabaseSchema_sqlsrv::__construct in Drupal driver for SQL Server and SQL Azure 7.2

Same name and namespace in other branches
  1. 7.3 sqlsrv/schema.inc \DatabaseSchema_sqlsrv::__construct()

Overrides DatabaseSchema::__construct

File

sqlsrv/schema.inc, line 19
Database schema code for Microsoft SQL Server database servers.

Class

DatabaseSchema_sqlsrv

Code

public function __construct($connection) {
  global $conf;
  if (isset($conf['MSSQL_USE_LEGACY_COLLATIONS']) && $conf['MSSQL_USE_LEGACY_COLLATIONS'] === TRUE) {
    $this->use_legacy_collations = TRUE;
  }
  $this
    ->LoadDefaultSchema($connection);
  parent::__construct($connection);
}