summaryrefslogtreecommitdiff
path: root/it_dbi.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_dbi.class')
-rw-r--r--it_dbi.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_dbi.class b/it_dbi.class
index ef193c9..262836a 100644
--- a/it_dbi.class
+++ b/it_dbi.class
@@ -569,7 +569,7 @@ function select(/* $query = array|string, ... */)
$this->clear(false);
if ($this->_result = $this->query($sql = "SELECT $what FROM $join " . $this->_where($query, $this->_link)))
{
- $result = mysqli_num_rows($this->_result);
+ $result = $this->_p['unbuffered'] ? true : mysqli_num_rows($this->_result);
if ($calc_found_rows)
{