8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 04:03:04 +01:00

Complete fix for bug CORE-6233 : Wrong dependencies of stored function on view after backup and restore.

This commit is contained in:
hvlad 2020-02-16 13:55:50 +02:00
parent 85cc2d9bb6
commit 7e881881b3

View File

@ -5157,12 +5157,12 @@ bool get_function(BurpGlobals* tdgbl)
case att_function_description:
X.RDB$DESCRIPTION.NULL = FALSE;
get_misc_blob (tdgbl, X.RDB$DESCRIPTION, false);
get_misc_blob (tdgbl, X.RDB$DESCRIPTION, true);
break;
case att_function_description2:
X.RDB$DESCRIPTION.NULL = FALSE;
get_source_blob (tdgbl, X.RDB$DESCRIPTION, false);
get_source_blob (tdgbl, X.RDB$DESCRIPTION, true);
break;
case att_function_module_name:
@ -5513,7 +5513,7 @@ void get_function_arg(BurpGlobals* tdgbl, bool skip_arguments)
case att_functionarg_default_source:
if (tdgbl->RESTORE_format >= 10)
{
get_source_blob(tdgbl, X.RDB$DEFAULT_SOURCE, false);
get_source_blob(tdgbl, X.RDB$DEFAULT_SOURCE, true);
X.RDB$DEFAULT_SOURCE.NULL = FALSE;
}
else
@ -5573,7 +5573,7 @@ void get_function_arg(BurpGlobals* tdgbl, bool skip_arguments)
case att_functionarg_description:
if (tdgbl->RESTORE_format >= 10)
{
get_source_blob(tdgbl, X.RDB$DESCRIPTION, false);
get_source_blob(tdgbl, X.RDB$DESCRIPTION, true);
X.RDB$DESCRIPTION.NULL = FALSE;
}
else