From bde0043efe2fefef8fa29e15e3315253c129d27c Mon Sep 17 00:00:00 2001 From: Nathan Gass Date: Thu, 18 Apr 2019 11:34:03 +0200 Subject: close result in unbuffered mode for multiple unbuffered queries --- it_dbi.class | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'it_dbi.class') 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(); } -- cgit v1.2.3