summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/odbc
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-03-20 21:42:04 +0100
committerAndrey Andreev <narf@bofh.bg>2012-03-20 21:42:04 +0100
commita1cb9902897ed717dba238daf4c84d539f47a474 (patch)
tree883caf67ca07ce972ec79c1bc7bae77032f4e5ab /system/database/drivers/odbc
parent19aee036c7b9ebc8919dd4d076dfd60fd50bd26f (diff)
parent2f56fba915e35bcc7a36fbc047503d777decccd5 (diff)
Merge upstream branch
Diffstat (limited to 'system/database/drivers/odbc')
-rw-r--r--system/database/drivers/odbc/odbc_driver.php17
1 files changed, 1 insertions, 16 deletions
diff --git a/system/database/drivers/odbc/odbc_driver.php b/system/database/drivers/odbc/odbc_driver.php
index a7da487b8..54e7aa606 100644
--- a/system/database/drivers/odbc/odbc_driver.php
+++ b/system/database/drivers/odbc/odbc_driver.php
@@ -130,22 +130,7 @@ class CI_DB_odbc_driver extends CI_DB {
*/
protected function _execute($sql)
{
- return @odbc_exec($this->conn_id, $this->_prep_query($sql));
- }
-
- // --------------------------------------------------------------------
-
- /**
- * Prep the query
- *
- * If needed, each database adapter can prep the query string
- *
- * @param string an SQL query
- * @return string
- */
- protected function _prep_query($sql)
- {
- return $sql;
+ return @odbc_exec($this->conn_id, $sql);
}
// --------------------------------------------------------------------