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

MySQL: Skip editing generated columns

This commit is contained in:
Malte Riesch
2019-08-16 12:07:19 +01:00
committed by Jakub Vrana
parent 92d443dac0
commit 00d36efcf1
3 changed files with 5 additions and 1 deletions

View File

@@ -555,6 +555,7 @@ if (!defined("DRIVER")) {
"privileges" => array_flip(preg_split('~, *~', $row["Privileges"])),
"comment" => $row["Comment"],
"primary" => ($row["Key"] == "PRI"),
"generated" => preg_match('~ GENERATED$~', $row["Extra"]),
);
}
return $return;