We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6384fa2 commit f34264cCopy full SHA for f34264c
collectors/db_queries.php
@@ -117,6 +117,8 @@ public function process_db_object() {
117
return;
118
}
119
120
+ $this->data->rows = array();
121
+
122
$types = array();
123
$total_time = 0;
124
$has_result = false;
@@ -236,7 +238,7 @@ public function process_db_object() {
236
238
'is_main_query' => true,
237
239
) );
240
- $this->data->total_qs = count( (array) $this->data->rows );
241
+ $this->data->total_qs = count( $this->data->rows );
242
$this->data->total_time = $total_time;
243
$this->data->has_result = $has_result;
244
$this->data->has_trace = $has_trace;
0 commit comments