diff options
author | Nathan Gass | 2019-04-18 11:34:03 +0200 |
---|---|---|
committer | Nathan Gass | 2019-04-18 11:34:24 +0200 |
commit | bde0043efe2fefef8fa29e15e3315253c129d27c (patch) | |
tree | f02d9eb0d718851b8483332892408b0283916141 /it_dbi.class | |
parent | 9946d81f9f8132d78edad5a892c5217a3e01259c (diff) | |
download | itools-bde0043efe2fefef8fa29e15e3315253c129d27c.tar.gz itools-bde0043efe2fefef8fa29e15e3315253c129d27c.tar.bz2 itools-bde0043efe2fefef8fa29e15e3315253c129d27c.zip |
close result in unbuffered mode for multiple unbuffered queries
Diffstat (limited to 'it_dbi.class')
-rw-r--r-- | it_dbi.class | 4 |
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(); } |