mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 07:36:44 +02:00
Add forgotten move_col
This commit is contained in:
@@ -1052,11 +1052,12 @@ if (!defined('Adminer\DRIVER')) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Check whether a feature is supported
|
/** Check whether a feature is supported
|
||||||
* @param literal-string $feature "check|comment|columns|copy|database|descidx|drop_col|dump|event|indexes|kill|materializedview|privileges|procedure|processlist|routine|scheme|sequence|sql|status|table|trigger|type|variables|view|view_trigger"
|
* @param literal-string $feature check|comment|columns|copy|database|descidx|drop_col|dump|event|indexes|kill|materializedview
|
||||||
|
* |move_col|privileges|procedure|processlist|routine|scheme|sequence|sql|status|table|trigger|type|variables|view|view_trigger
|
||||||
*/
|
*/
|
||||||
function support(string $feature): bool {
|
function support(string $feature): bool {
|
||||||
return preg_match(
|
return preg_match(
|
||||||
'~^(comment|columns|copy|database|drop_col|dump|indexes|kill|privileges|procedure|processlist|routine|sql|status|table|trigger|variables|view'
|
'~^(comment|columns|copy|database|drop_col|dump|indexes|kill|privileges|move_col|procedure|processlist|routine|sql|status|table|trigger|variables|view'
|
||||||
. (min_version(5.1) ? '|event' : '')
|
. (min_version(5.1) ? '|event' : '')
|
||||||
. (min_version(8) ? '|descidx' : '')
|
. (min_version(8) ? '|descidx' : '')
|
||||||
. (min_version('8.0.16', '10.2.1') ? '|check' : '')
|
. (min_version('8.0.16', '10.2.1') ? '|check' : '')
|
||||||
|
2
externals/jush
vendored
2
externals/jush
vendored
Submodule externals/jush updated: 35cea6c0e8...c6ae413ff0
Reference in New Issue
Block a user