diff options
author | Timothy Warren <tim@timshomepage.net> | 2012-03-20 00:05:46 +0100 |
---|---|---|
committer | Timothy Warren <tim@timshomepage.net> | 2012-03-20 00:05:46 +0100 |
commit | 0e20da17ff71bbe4a7082940b38f6161d7b6e7f8 (patch) | |
tree | c0b109548be6c21e7b4df3977e275941a41a4797 /system/database/drivers/sqlsrv/sqlsrv_utility.php | |
parent | 5137ebcafe525752bfc79abc0628e45f55eb196e (diff) |
Revert "Sqlsrv driver visibility declarations"
This reverts commit b4172695910bf8c0c07933e9baf536d22c9e097a.
Diffstat (limited to 'system/database/drivers/sqlsrv/sqlsrv_utility.php')
-rw-r--r-- | system/database/drivers/sqlsrv/sqlsrv_utility.php | 12 |
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'); |