summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/mssql/mssql_utility.php
diff options
context:
space:
mode:
authorTimothy Warren <tim@timshomepage.net>2012-03-19 22:48:46 +0100
committerTimothy Warren <tim@timshomepage.net>2012-03-19 22:48:46 +0100
commitba1ebbefa9c5d225fa28c76dac276e6120263a25 (patch)
tree6c56bc0cefa0b4c999dd7b9d4c4433f43a52ba66 /system/database/drivers/mssql/mssql_utility.php
parentf83f0d5448aadcf76fbdac363d0fe7ea811ca9bf (diff)
Added access modifiers for MSSQL driver
Diffstat (limited to 'system/database/drivers/mssql/mssql_utility.php')
-rw-r--r--system/database/drivers/mssql/mssql_utility.php12
1 files changed, 4 insertions, 8 deletions
diff --git a/system/database/drivers/mssql/mssql_utility.php b/system/database/drivers/mssql/mssql_utility.php
index 28f34b999..e64874132 100644
--- a/system/database/drivers/mssql/mssql_utility.php
+++ b/system/database/drivers/mssql/mssql_utility.php
@@ -39,10 +39,9 @@ class CI_DB_mssql_utility extends CI_DB_utility {
/**
* List databases
*
- * @access private
* @return bool
*/
- function _list_databases()
+ protected function _list_databases()
{
return "EXEC sp_helpdb"; // Can also be: EXEC sp_databases
}
@@ -54,11 +53,10 @@ class CI_DB_mssql_utility extends CI_DB_utility {
*
* Generates a platform-specific query so that a table can be optimized
*
- * @access private
* @param string the table name
* @return object
*/
- function _optimize_table($table)
+ protected function _optimize_table($table)
{
return FALSE; // Is this supported in MS SQL?
}
@@ -70,11 +68,10 @@ class CI_DB_mssql_utility extends CI_DB_utility {
*
* Generates a platform-specific query so that a table can be repaired
*
- * @access private
* @param string the table name
* @return object
*/
- function _repair_table($table)
+ protected function _repair_table($table)
{
return FALSE; // Is this supported in MS SQL?
}
@@ -84,11 +81,10 @@ class CI_DB_mssql_utility extends CI_DB_utility {
/**
* MSSQL Export
*
- * @access private
* @param array Preferences
* @return mixed
*/
- function _backup($params = array())
+ protected function _backup($params = array())
{
// Currently unsupported
return $this->db->display_error('db_unsuported_feature');