Rename pk_char36 to FUNC_UUID

This commit is contained in:
Piotr Przybylski 2011-07-06 19:06:51 +02:00
parent b1b4e6389d
commit ff0081bb7a
2 changed files with 2 additions and 2 deletions

View File

@ -2992,7 +2992,7 @@ function PMA_getFunctionsForField($field, $insert_mode)
&& $field['Key'] == 'PRI'
&& ($field['Type'] == 'char(36)' || $field['Type'] == 'varchar(36)')
) {
$default_function = $cfg['DefaultFunctions']['pk_char36'];
$default_function = $cfg['DefaultFunctions']['FUNC_UUID'];
}
// this is set only when appropriate and is always true
if (isset($field['display_binary_as_hex'])) {

View File

@ -2794,8 +2794,8 @@ if ($cfg['ShowFunctionFields']) {
'FUNC_CHAR' => '',
'FUNC_DATE' => '',
'FUNC_NUMBER' => '',
'FUNC_UUID' => 'UUID',
'first_timestamp' => 'NOW',
'pk_char36' => 'UUID',
);
}