mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 17:14:07 +02:00
Rename $driver to $jush
This commit is contained in:
@@ -493,7 +493,7 @@ WHERE sys1.xtype = 'TR' AND sys2.name = " . $connection->quote($table)
|
||||
return ereg('^(trigger|drop_col)$', $feature); //! view|routine|scheme|
|
||||
}
|
||||
|
||||
$driver = "mssql";
|
||||
$jush = "mssql";
|
||||
$types = array();
|
||||
$structured_types = array();
|
||||
foreach (array(
|
||||
|
@@ -849,7 +849,7 @@ if (!defined("DRIVER")) {
|
||||
return !ereg("scheme|sequence" . ($connection->server_info < 5.1 ? "|event|partitioning" . ($connection->server_info < 5 ? "|view|routine|trigger" : "") : ""), $feature);
|
||||
}
|
||||
|
||||
$driver = "sql"; ///< @var string JUSH identifier
|
||||
$jush = "sql"; ///< @var string JUSH identifier
|
||||
$types = array(); ///< @var array ($type => $maximum_unsigned_length, ...)
|
||||
$structured_types = array(); ///< @var array ($description => array($type, ...), ...)
|
||||
foreach (array(
|
||||
|
@@ -492,7 +492,7 @@ WHERE tc.constraint_type = 'FOREIGN KEY' AND tc.table_name = " . $connection->qu
|
||||
return ereg('^(comment|view|scheme|sequence|trigger|variables|drop_col)$', $feature); //! routine|
|
||||
}
|
||||
|
||||
$driver = "pgsql";
|
||||
$jush = "pgsql";
|
||||
$types = array();
|
||||
$structured_types = array();
|
||||
foreach (array( //! arrays
|
||||
|
@@ -549,7 +549,7 @@ if (isset($_GET["sqlite"]) || isset($_GET["sqlite2"])) {
|
||||
return ereg('^(view|trigger|variables|status)$', $feature);
|
||||
}
|
||||
|
||||
$driver = "sqlite";
|
||||
$jush = "sqlite";
|
||||
$types = array("integer" => 0, "real" => 0, "numeric" => 0, "text" => 0, "blob" => 0);
|
||||
$structured_types = array_keys($types);
|
||||
$unsigned = array();
|
||||
|
Reference in New Issue
Block a user