diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-04-05 11:44:36 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-04-05 11:44:36 +0200 |
commit | 97f3697b6c1c220a32d8e63c5da636e9d725dd8a (patch) | |
tree | 21f1e6229f5af4f906a114517344c30421786201 /system/database/drivers/oci8/oci8_driver.php | |
parent | 13e749db5c3cbf2f951347829265c51f8f8ecc34 (diff) |
Added a default _insert_batch() method instead of requiring each driver to define it and fixed 2 issues related to it
Diffstat (limited to 'system/database/drivers/oci8/oci8_driver.php')
-rw-r--r-- | system/database/drivers/oci8/oci8_driver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/oci8/oci8_driver.php b/system/database/drivers/oci8/oci8_driver.php index 0a96f3f6d..307524fb3 100644 --- a/system/database/drivers/oci8/oci8_driver.php +++ b/system/database/drivers/oci8/oci8_driver.php @@ -653,7 +653,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'; |