/** * Internal function to perform the query call * * @since 3.9.0 * * @access private * @see wpdb::query() * * @param string $query The query to run. */ private function _do_query($query) { if (defined('SAVEQUERIES') && SAVEQUERIES) { $this->timer_start(); } $this->result = $this->dbh->query($query); $this->num_queries++; if (defined('SAVEQUERIES') && SAVEQUERIES) { $this->queries[] = array($query, $this->timer_stop(), $this->get_caller()); } }