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

It is good idea to set NULL flag for nullable fields if backup have no value for its ;)

This commit is contained in:
hvlad 2008-07-25 08:43:09 +00:00
parent 94f8c6214a
commit 0991d326c7

View File

@ -5018,6 +5018,9 @@ bool get_procedure_prm (BurpGlobals* tdgbl, GDS_NAME procptr)
X.RDB$PARAMETER_MECHANISM = prm_mech_normal;
X.RDB$PARAMETER_MECHANISM.NULL = FALSE;
X.RDB$FIELD_NAME.NULL = TRUE;
X.RDB$RELATION_NAME.NULL = TRUE;
skip_init(&scan_next_attr);
while (skip_scan(&scan_next_attr), get_attribute(&attribute, tdgbl) != att_end)
{
@ -5098,11 +5101,13 @@ bool get_procedure_prm (BurpGlobals* tdgbl, GDS_NAME procptr)
// DB_VERSION_DDL11_2
case att_procedureprm_field_name:
X.RDB$FIELD_NAME.NULL = FALSE;
GET_TEXT(X.RDB$FIELD_NAME);
break;
// DB_VERSION_DDL11_2
case att_procedureprm_relation_name:
X.RDB$RELATION_NAME.NULL = FALSE;
GET_TEXT(X.RDB$RELATION_NAME);
break;