Enabled caching
This commit is contained in:
@@ -44,6 +44,17 @@ class Database_TSM extends Database {
|
||||
public function rollback() {}
|
||||
public function set_charset($charset) {}
|
||||
|
||||
/**
|
||||
* Return the caching defined in the current configuration.
|
||||
*
|
||||
* $cache_time = $db->caching("table");
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function caching($table) {
|
||||
return ($this->_config['caching'] AND isset($this->_config['cache'][$table])) ? $this->_config['cache'][$table] : FALSE;
|
||||
}
|
||||
|
||||
public function connect() {
|
||||
if ($this->_connection)
|
||||
return;
|
||||
@@ -256,7 +267,7 @@ class Database_TSM extends Database {
|
||||
}
|
||||
|
||||
// TSM attributes
|
||||
$column['comment'] = $row['REMARKS'];
|
||||
$column['comment'] = $row['REMARKS'];
|
||||
$columns[$row['COLNAME']] = $column;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user