projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
515cb65
)
MDL-17491 Better fetching this way :-)
author
stronk7
<stronk7>
Mon, 21 Sep 2009 11:38:04 +0000
(11:38 +0000)
committer
stronk7
<stronk7>
Mon, 21 Sep 2009 11:38:04 +0000
(11:38 +0000)
lib/dml/oci_native_moodle_recordset.php
patch
|
blob
|
history
diff --git
a/lib/dml/oci_native_moodle_recordset.php
b/lib/dml/oci_native_moodle_recordset.php
index cfdc70fa4567143f13fd6de241cee83aebca106c..44533fb1dfdf2c01d59415c8a810b02209f5a314 100644
(file)
--- a/
lib/dml/oci_native_moodle_recordset.php
+++ b/
lib/dml/oci_native_moodle_recordset.php
@@
-42,7
+42,7
@@
class oci_native_moodle_recordset extends moodle_recordset {
}
private function fetch_next() {
- if ($row = oci_fetch_a
ssoc($this->stmt
)) {
+ if ($row = oci_fetch_a
rray($this->stmt, OCI_ASSOC + OCI_RETURN_NULLS + OCI_RETURN_LOBS
)) {
$row = array_change_key_case($row, CASE_LOWER);
unset($row['oracle_rownum']);
array_walk($row, array('oci_native_moodle_database', 'onespace2empty'));