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

Save bytes

This commit is contained in:
Jakub Vrana
2019-08-21 14:13:08 +02:00
parent 3d32470b87
commit 021e3f900d
2 changed files with 2 additions and 2 deletions

View File

@@ -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) {