diff options
author | Timothy Warren <tim@timshomepage.net> | 2012-03-19 21:52:10 +0100 |
---|---|---|
committer | Timothy Warren <tim@timshomepage.net> | 2012-03-19 21:52:10 +0100 |
commit | d2ff0bc1336e106e4b45abe7ee176bf6b9496b6e (patch) | |
tree | f91d60212cc104f445005e7a4242439ed9ee9de8 /system/database/drivers/sqlsrv | |
parent | 833d504a91f7c85fa2985bcff5016a052972bd7a (diff) |
Removed pointless _prep_sql methods
Diffstat (limited to 'system/database/drivers/sqlsrv')
-rw-r--r-- | system/database/drivers/sqlsrv/sqlsrv_driver.php | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/system/database/drivers/sqlsrv/sqlsrv_driver.php b/system/database/drivers/sqlsrv/sqlsrv_driver.php index 5e920cbe8..ea9f9483b 100644 --- a/system/database/drivers/sqlsrv/sqlsrv_driver.php +++ b/system/database/drivers/sqlsrv/sqlsrv_driver.php @@ -152,7 +152,6 @@ class CI_DB_sqlsrv_driver extends CI_DB { */ function _execute($sql) { - $sql = $this->_prep_query($sql); return sqlsrv_query($this->conn_id, $sql, null, array( 'Scrollable' => SQLSRV_CURSOR_STATIC, 'SendStreamParamsAtExec' => true @@ -162,22 +161,6 @@ class CI_DB_sqlsrv_driver extends CI_DB { // -------------------------------------------------------------------- /** - * Prep the query - * - * If needed, each database adapter can prep the query string - * - * @access private called by execute() - * @param string an SQL query - * @return string - */ - function _prep_query($sql) - { - return $sql; - } - - // -------------------------------------------------------------------- - - /** * Begin Transaction * * @access public |