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

View file

@ -1,4 +1,5 @@
Adminer 4.7.10-dev:
Allow SQL pseudo-function in insert
Skip date columns for non-date values in search anywhere
Add DB version to comment in export
Support PHP 8 in create table (regression from 4.7.9)