mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 17:14:07 +02:00
Oracle variables and status (thanks to Tomas Geci)
This commit is contained in:
@@ -332,8 +332,22 @@ UNION SELECT view_name, 'view' FROM user_views" . ($name != "" ? " WHERE view_na
|
||||
return true;
|
||||
}
|
||||
|
||||
function show_variables() {
|
||||
return get_key_vals('SELECT name, display_value FROM v$parameter');
|
||||
}
|
||||
|
||||
function show_status() {
|
||||
global $connection;
|
||||
$return = array();
|
||||
$result = $connection->query('SELECT * FROM v$instance');
|
||||
foreach ($result->fetch_assoc() as $key => $val) {
|
||||
$return[$key] = $val;
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
||||
function support($feature) {
|
||||
return ereg("view|drop_col", $feature); //!
|
||||
return ereg("view|drop_col|variables|status", $feature); //!
|
||||
}
|
||||
|
||||
$jush = "oracle";
|
||||
|
Reference in New Issue
Block a user