mirror of
https://github.com/vrana/adminer.git
synced 2025-08-22 14:12:51 +02:00
Save bytes
This commit is contained in:
@@ -585,7 +585,7 @@ if (!defined("DRIVER")) {
|
||||
*/
|
||||
function foreign_keys($table) {
|
||||
global $connection, $on_actions;
|
||||
static $pattern = '(?:`(?:[^`]|``)+`|(?:"(?:[^"]|"")+"))';
|
||||
static $pattern = '(?:`(?:[^`]|``)+`|"(?:[^"]|"")+")';
|
||||
$return = array();
|
||||
$create_table = $connection->result("SHOW CREATE TABLE " . table($table), 1);
|
||||
if ($create_table) {
|
||||
|
Reference in New Issue
Block a user