commit | b83c4088829207af39e862d6252eff393bc71642 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@bofh.bg> | Fri Sep 23 03:32:45 2011 +0300 |
committer | Andrey Andreev <narf@bofh.bg> | Fri Sep 23 03:32:45 2011 +0300 |
tree | c5a03a45f95734ccc2a30a6aef097be7b65517ee | |
parent | 99c6dd49e61c463499d1e50945ac29a3f383ec48 [diff] [blame] |
Add brackets to the for() loop
diff --git a/system/database/drivers/oci8/oci8_driver.php b/system/database/drivers/oci8/oci8_driver.php index 33991ab..1cf063e 100644 --- a/system/database/drivers/oci8/oci8_driver.php +++ b/system/database/drivers/oci8/oci8_driver.php
@@ -659,7 +659,9 @@ $sql = "INSERT ALL\n"; for ($i = 0, $c = count($values); $i < $c; $i++) + { $sql .= ' INTO ' . $table . ' (' . $keys . ') VALUES ' . $values[$i] . "\n"; + } $sql .= 'SELECT * FROM dual';