summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/sqlsrv/sqlsrv_utility.php
diff options
context:
space:
mode:
authorTimothy Warren <tim@timshomepage.net>2012-03-19 23:34:11 +0100
committerTimothy Warren <tim@timshomepage.net>2012-03-19 23:34:11 +0100
commitb4172695910bf8c0c07933e9baf536d22c9e097a (patch)
treecd156950dffe64bb4848ebc622cef8ab51941a08 /system/database/drivers/sqlsrv/sqlsrv_utility.php
parent1ed5995be34f499aec8cd7b6d4d525a33017fd94 (diff)
Sqlsrv driver visibility declarations
Diffstat (limited to 'system/database/drivers/sqlsrv/sqlsrv_utility.php')
-rw-r--r--system/database/drivers/sqlsrv/sqlsrv_utility.php12
1 files changed, 4 insertions, 8 deletions
diff --git a/system/database/drivers/sqlsrv/sqlsrv_utility.php b/system/database/drivers/sqlsrv/sqlsrv_utility.php
index 44e6fafeb..9e9dde32e 100644
--- a/system/database/drivers/sqlsrv/sqlsrv_utility.php
+++ b/system/database/drivers/sqlsrv/sqlsrv_utility.php
@@ -39,10 +39,9 @@ class CI_DB_sqlsrv_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_sqlsrv_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_sqlsrv_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_sqlsrv_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');