/**
  * Extends the MySQLDatabase class for the option disabling shutdownqueries
  */
 public function __construct($host, $user, $password, $database, $charset = 'utf8', $usePConnect = false, $autoSelect = true)
 {
     if (defined('NO_SHUTDOWN_QUERIES')) {
         $this->useShutdownQueries = false;
     }
     parent::__construct($host, $user, $password, $database, $charset, $usePConnect, $autoSelect);
 }
 public function __construct($parameters)
 {
     if (static::$firstTime) {
         static::$firstTime = false;
         // deregister the Silverstripe exception and error handlers
         restore_exception_handler();
         restore_error_handler();
     }
     parent::__construct($parameters);
 }
 public function __construct($parameters)
 {
     parent::__construct($parameters);
 }
 public function __construct()
 {
     parent::__construct();
 }
 public function __construct($parameters)
 {
     parent::__construct($parameters);
     $this->query('SET AUTOCOMMIT=1;');
 }
 /**
  * Connect to a MySQL database.
  * @param array $parameters An map of parameters, which should include:
  *  - server: The server, eg, localhost
  *  - username: The username to log on with
  *  - password: The password to log on with
  *  - database: The database to connect to
  */
 public function __construct($parameters)
 {
     parent::__construct($parameters);
     $this->query("SET sql_mode = 'ANSI'");
 }