public function version()
{
if (isset($this->data_cache['version'])) {
return $this->data_cache['version'];
}
if (FALSE === ($sql = $this->_version())) {
return $this->db_debug ? $this->display_error('db_unsupported_function') : FALSE;
}
$query = $this->query($sql)->row();
return $this->data_cache['version'] = $query->ver;
}