diff options
author | Taufan Aditya <toopay@taufanaditya.com> | 2012-04-05 13:26:09 +0200 |
---|---|---|
committer | Taufan Aditya <toopay@taufanaditya.com> | 2012-04-05 13:26:09 +0200 |
commit | 62ca89126f4dbab0ed480c2f9399d1746d420870 (patch) | |
tree | 3aed175761bf01bbe9d1f6c8842131a09f060b40 /system/database/drivers/oci8 | |
parent | 8b0aca770ad6089e759c22a6b69b97ba2623a195 (diff) | |
parent | 65d537ce35cc01c2f31144d695725255322cb792 (diff) |
Merge remote-tracking branch 'upstream/develop' into db-tests
Diffstat (limited to 'system/database/drivers/oci8')
-rw-r--r-- | system/database/drivers/oci8/oci8_driver.php | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/system/database/drivers/oci8/oci8_driver.php b/system/database/drivers/oci8/oci8_driver.php index 0a96f3f6d..c9f3e55df 100644 --- a/system/database/drivers/oci8/oci8_driver.php +++ b/system/database/drivers/oci8/oci8_driver.php @@ -620,23 +620,6 @@ class CI_DB_oci8_driver extends CI_DB { // -------------------------------------------------------------------- /** - * Insert statement - * - * Generates a platform-specific insert string from the supplied data - * - * @param string the table name - * @param array the insert keys - * @param array the insert values - * @return string - */ - protected function _insert($table, $keys, $values) - { - return 'INSERT INTO '.$table.' ('.implode(', ', $keys).') VALUES ('.implode(', ', $values).')'; - } - - // -------------------------------------------------------------------- - - /** * Insert_batch statement * * Generates a platform-specific insert string from the supplied data @@ -653,7 +636,7 @@ class CI_DB_oci8_driver extends CI_DB { for ($i = 0, $c = count($values); $i < $c; $i++) { - $sql .= ' INTO '.$table.' ('.$keys.') VALUES '.$values[$i].'\n'; + $sql .= ' INTO '.$table.' ('.$keys.') VALUES '.$values[$i]."\n"; } return $sql.'SELECT * FROM dual'; |