mirror of
https://github.com/vrana/adminer.git
synced 2025-08-05 06:07:57 +02:00
Support to access tablespaces of granted tables
Signed-off-by: Takashi SHIRAI <shirai@nintendo.co.jp>
This commit is contained in:
committed by
Jakub Vrana
parent
8ff20622fb
commit
2da5683b99
@@ -188,7 +188,12 @@ if (isset($_GET["oracle"])) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function get_databases() {
|
function get_databases() {
|
||||||
return get_vals("SELECT tablespace_name FROM user_tablespaces ORDER BY 1");
|
return get_vals("SELECT DISTINCT tablespace_name FROM (
|
||||||
|
SELECT tablespace_name FROM user_tablespaces
|
||||||
|
UNION SELECT tablespace_name FROM all_tables WHERE tablespace_name IS NOT NULL
|
||||||
|
)
|
||||||
|
ORDER BY 1"
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function limit($query, $where, $limit, $offset = 0, $separator = " ") {
|
function limit($query, $where, $limit, $offset = 0, $separator = " ") {
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
Adminer 4.16.0-dev:
|
Adminer 4.16.0-dev:
|
||||||
|
Oracle: Include tables granted by other user
|
||||||
|
|
||||||
Adminer 4.15.0:
|
Adminer 4.15.0:
|
||||||
Escape unknown field in select
|
Escape unknown field in select
|
||||||
|
Reference in New Issue
Block a user