summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/sqlsrv/sqlsrv_utility.php
diff options
context:
space:
mode:
authorTimothy Warren <tim@timshomepage.net>2012-03-20 00:05:46 +0100
committerTimothy Warren <tim@timshomepage.net>2012-03-20 00:05:46 +0100
commit0e20da17ff71bbe4a7082940b38f6161d7b6e7f8 (patch)
treec0b109548be6c21e7b4df3977e275941a41a4797 /system/database/drivers/sqlsrv/sqlsrv_utility.php
parent5137ebcafe525752bfc79abc0628e45f55eb196e (diff)
Revert "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, 8 insertions, 4 deletions
diff --git a/system/database/drivers/sqlsrv/sqlsrv_utility.php b/system/database/drivers/sqlsrv/sqlsrv_utility.php
index 9e9dde32e..44e6fafeb 100644
--- a/system/database/drivers/sqlsrv/sqlsrv_utility.php
+++ b/system/database/drivers/sqlsrv/sqlsrv_utility.php
@@ -39,9 +39,10 @@ class CI_DB_sqlsrv_utility extends CI_DB_utility {
/**
* List databases
*
+ * @access private
* @return bool
*/
- protected function _list_databases()
+ function _list_databases()
{
return "EXEC sp_helpdb"; // Can also be: EXEC sp_databases
}
@@ -53,10 +54,11 @@ 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
*/
- protected function _optimize_table($table)
+ function _optimize_table($table)
{
return FALSE; // Is this supported in MS SQL?
}
@@ -68,10 +70,11 @@ 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
*/
- protected function _repair_table($table)
+ function _repair_table($table)
{
return FALSE; // Is this supported in MS SQL?
}
@@ -81,10 +84,11 @@ class CI_DB_sqlsrv_utility extends CI_DB_utility {
/**
* MSSQL Export
*
+ * @access private
* @param array Preferences
* @return mixed
*/
- protected function _backup($params = array())
+ function _backup($params = array())
{
// Currently unsupported
return $this->db->display_error('db_unsuported_feature');