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:
committed by
Jakub Vrana
parent
92d443dac0
commit
00d36efcf1
@@ -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;
|
||||
|
Reference in New Issue
Block a user