1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-20 05:11:25 +02:00

PostgreSQL, MS SQL, Oracle: Hide table actions for information_schema

This commit is contained in:
Jakub Vrana
2025-03-03 15:50:08 +01:00
parent af87336116
commit 116827060f
5 changed files with 8 additions and 4 deletions

View File

@@ -392,7 +392,7 @@ WHERE OBJECT_NAME(i.object_id) = " . q($table)
}
function information_schema($db) {
return false;
return get_schema() == "INFORMATION_SCHEMA";
}
function error() {

View File

@@ -346,7 +346,7 @@ ORDER BY ac.constraint_type, aic.column_position", $connection2) as $row) {
}
function information_schema($db) {
return false;
return get_schema() == "INFORMATION_SCHEMA";
}
function error() {

View File

@@ -471,7 +471,7 @@ ORDER BY conkey, conname") as $row) {
}
function information_schema($db) {
return ($db == "information_schema");
return get_schema() == "information_schema";
}
function error() {