1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-22 06:02:57 +02:00

Delete unused functions

This commit is contained in:
Jakub Vrana
2025-02-26 16:31:20 +01:00
parent cf835515b1
commit 45f24a8f62
9 changed files with 4 additions and 73 deletions

View File

@@ -611,14 +611,6 @@ WHERE sys1.xtype = 'TR' AND sys2.name = " . q($table)
return $return;
}
function show_variables() {
return array();
}
function show_status() {
return array();
}
function convert_field($field) {
}

View File

@@ -999,23 +999,21 @@ if (!defined("DRIVER")) {
return ($where || $table_status["Engine"] != "InnoDB" ? null : $table_status["Rows"]);
}
/* Not used is MySQL but checked in compile.php:
/** Get user defined types
* @return array
*/
function types() {
return array();
}
/** Get existing schemas
* @return array
*/
function schemas() {
return array();
}
/** Get current schema
* @return string
*/
function get_schema() {
return "";
}
@@ -1024,10 +1022,10 @@ if (!defined("DRIVER")) {
* @param string
* @param Min_DB
* @return bool
*/
function set_schema($schema, $connection2 = null) {
return true;
}
*/
/** Get SQL command to create table
* @param string

View File

@@ -882,9 +882,6 @@ AND typelem = 0"
return get_rows("SELECT * FROM pg_stat_activity ORDER BY " . (min_version(9.2) ? "pid" : "procpid"));
}
function show_status() {
}
function convert_field($field) {
}

View File

@@ -656,18 +656,6 @@ if (isset($_GET["sqlite"])) {
return array();
}
function schemas() {
return array();
}
function get_schema() {
return "";
}
function set_schema($scheme) {
return true;
}
function create_sql($table, $auto_increment, $style) {
global $connection;
$return = $connection->result("SELECT sql FROM sqlite_master WHERE type IN ('table', 'view') AND name = " . q($table));