mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 05:23:03 +01:00
Fixed CORE-4940 - Add label about deterministic flag for stored function in SHOW and extract commands.
This commit is contained in:
parent
0ebb4a1891
commit
2b000c400b
@ -2833,6 +2833,10 @@ static void list_functions_ods12_headers()
|
||||
}
|
||||
|
||||
get_function_args_ods12(FUN.RDB$FUNCTION_NAME, FUN.RDB$RETURN_ARGUMENT);
|
||||
|
||||
if (!FUN.RDB$DETERMINISTIC_FLAG.NULL && FUN.RDB$DETERMINISTIC_FLAG)
|
||||
isqlGlob.printf("DETERMINISTIC %s", NEWLINE);
|
||||
|
||||
isqlGlob.printf("AS %s", NEWLINE);
|
||||
isqlGlob.printf(body_function, Procterm, NEWLINE);
|
||||
|
||||
@ -2879,6 +2883,9 @@ static void list_functions_ods12_bodies()
|
||||
|
||||
get_function_args_ods12(FUN.RDB$FUNCTION_NAME, FUN.RDB$RETURN_ARGUMENT);
|
||||
|
||||
if (!FUN.RDB$DETERMINISTIC_FLAG.NULL && FUN.RDB$DETERMINISTIC_FLAG)
|
||||
isqlGlob.printf("DETERMINISTIC %s", NEWLINE);
|
||||
|
||||
// Print the function body
|
||||
|
||||
if (!FUN.RDB$ENTRYPOINT.NULL)
|
||||
|
@ -4179,6 +4179,9 @@ static processing_state show_func(const SCHAR* funcname)
|
||||
|
||||
first = false;
|
||||
|
||||
if (!FUN.RDB$DETERMINISTIC_FLAG.NULL && FUN.RDB$DETERMINISTIC_FLAG)
|
||||
isqlGlob.printf("Deterministic function%s", NEWLINE);
|
||||
|
||||
if (!FUN.RDB$ENTRYPOINT.NULL)
|
||||
{
|
||||
fb_utils::exact_name(FUN.RDB$ENTRYPOINT);
|
||||
|
Loading…
Reference in New Issue
Block a user