mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #2063 from g4b0/mysqldatabase-extensible
Enhancement: replaced private with protected
This commit is contained in:
commit
92135acc14
@ -12,19 +12,19 @@ class MySQLDatabase extends SS_Database {
|
||||
* Connection to the DBMS.
|
||||
* @var resource
|
||||
*/
|
||||
private $dbConn;
|
||||
protected $dbConn;
|
||||
|
||||
/**
|
||||
* True if we are connected to a database.
|
||||
* @var boolean
|
||||
*/
|
||||
private $active;
|
||||
protected $active;
|
||||
|
||||
/**
|
||||
* The name of the database.
|
||||
* @var string
|
||||
*/
|
||||
private $database;
|
||||
protected $database;
|
||||
|
||||
/**
|
||||
* @config
|
||||
@ -32,7 +32,7 @@ class MySQLDatabase extends SS_Database {
|
||||
*/
|
||||
private static $connection_charset = null;
|
||||
|
||||
private $supportsTransactions = true;
|
||||
protected $supportsTransactions = true;
|
||||
|
||||
/**
|
||||
* Sets the character set for the MySQL database connection.
|
||||
@ -1221,13 +1221,13 @@ class MySQLQuery extends SS_Query {
|
||||
* The MySQLDatabase object that created this result set.
|
||||
* @var MySQLDatabase
|
||||
*/
|
||||
private $database;
|
||||
protected $database;
|
||||
|
||||
/**
|
||||
* The internal MySQL handle that points to the result set.
|
||||
* @var resource
|
||||
*/
|
||||
private $handle;
|
||||
protected $handle;
|
||||
|
||||
/**
|
||||
* Hook the result-set given into a Query class, suitable for use by SilverStripe.
|
||||
|
Loading…
Reference in New Issue
Block a user