1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-17 03:53:59 +02:00

Allow SQL pseudo-function in insert

This commit is contained in:
Jakub Vrana
2021-02-08 17:41:59 +01:00
parent 5db1ea3301
commit f2063c92c5
2 changed files with 4 additions and 3 deletions

View File

@@ -684,9 +684,9 @@ class Adminer {
$return .= "/$val";
}
}
if ($key && !preg_match('~set|blob|bytea|raw|file|bool~', $field["type"])) {
$return .= "/SQL";
}
}
if ($key && !preg_match('~set|blob|bytea|raw|file|bool~', $field["type"])) {
$return .= "/SQL";
}
}
if ($field["auto_increment"] && !$update) {