summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/postgre
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-03-20 21:40:51 +0100
committerAndrey Andreev <narf@bofh.bg>2012-03-20 21:40:51 +0100
commit12ddc49cf0592cde87407739c5dd12a537dfcf0f (patch)
tree26bc3dd9f9f71e8fffb24f4deb179e17bfb6271e /system/database/drivers/postgre
parent135efb258559114bccd43a5f486efc3d14797fda (diff)
parent2f56fba915e35bcc7a36fbc047503d777decccd5 (diff)
Merge upstream branch
Diffstat (limited to 'system/database/drivers/postgre')
-rw-r--r--system/database/drivers/postgre/postgre_driver.php17
1 files changed, 1 insertions, 16 deletions
diff --git a/system/database/drivers/postgre/postgre_driver.php b/system/database/drivers/postgre/postgre_driver.php
index 9680b3d96..20066c9db 100644
--- a/system/database/drivers/postgre/postgre_driver.php
+++ b/system/database/drivers/postgre/postgre_driver.php
@@ -224,22 +224,7 @@ class CI_DB_postgre_driver extends CI_DB {
*/
protected function _execute($sql)
{
- return @pg_query($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 @pg_query($this->conn_id, $sql);
}
// --------------------------------------------------------------------