summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it_dbi.class4
1 files changed, 4 insertions, 0 deletions
diff --git a/it_dbi.class b/it_dbi.class
index 6a0f62f..c995d55 100644
--- a/it_dbi.class
+++ b/it_dbi.class
@@ -725,7 +725,11 @@ function iterate()
$this->_key = $this->_data[$this->_p['keyfield']];
}
else
+ {
$this->clear(false);
+ if ($this->_p['unbuffered'])
+ $this->_result->close();
+ }
$this->_read_post_process();
}