/** * Perform queries will log execution time * All following functions run through this function * All data run through this function is automatically sanitized using the filter function * * @access private * @param string * @return string * @return array * @return bool * */ public function exec_query($query) { $test_micro = microtime(true); $results = $this->link->query($query); Trace::add_query_trace($query, microtime(true) - $test_micro, $this->link->info); return $results; }