From 3954f3d296ba4a4473d9ecf557c6e98eb500cc4f Mon Sep 17 00:00:00 2001 From: Shish Date: Sun, 7 Jul 2019 11:11:27 +0100 Subject: [PATCH] merge iterable queries with new count_time --- core/database.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/database.php b/core/database.php index 31735a9d..8527f08a 100644 --- a/core/database.php +++ b/core/database.php @@ -256,7 +256,7 @@ class Database { $_start = microtime(true); $data = $this->execute($query, $args); - $this->count_time("get_all_iterable", $_start); + $this->count_time("get_all_iterable", $_start, $query, $args); return $data; } @@ -293,7 +293,7 @@ class Database { $_start = microtime(true); $stmt = $this->execute($query, $args); - $this->count_time("get_col_iterable", $_start); + $this->count_time("get_col_iterable", $_start, $query, $args); foreach ($stmt as $row) { yield $row[0]; }