From: Claudio V. C. <ro...@us...> - 2008-03-26 02:08:00
|
Build Version : T2.5.0.19068 Firebird 2.5 Unstable (writeBuildNum.sh,v 1.19228 2008/03/26 02:07:54 robocop Exp ) Update of /cvsroot/firebird/firebird2/src/dudley In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv26976/src/dudley Modified Files: exe.epp Log Message: Write sysflag always. Index: exe.epp =================================================================== RCS file: /cvsroot/firebird/firebird2/src/dudley/exe.epp,v retrieving revision 1.65 retrieving revision 1.66 diff -b -U3 -r1.65 -r1.66 --- exe.epp 10 Mar 2008 08:43:47 -0000 1.65 +++ exe.epp 26 Mar 2008 02:07:56 -0000 1.66 @@ -981,6 +981,7 @@ X.RDB$QUERY_HEADER.NULL = FALSE; store_query_header(field->fld_query_header, &X.RDB$QUERY_HEADER); } + X.RDB$SYSTEM_FLAG.NULL = FALSE; if (field->fld_system) X.RDB$SYSTEM_FLAG = field->fld_system; else @@ -1256,6 +1257,7 @@ X.RDB$FIELD_TYPE = (int) field->fld_dtype; X.RDB$FIELD_LENGTH = field->fld_length; X.RDB$FIELD_SCALE = field->fld_scale; + X.RDB$SYSTEM_FLAG.NULL = FALSE; X.RDB$SYSTEM_FLAG = field->fld_system; X.RDB$FIELD_SUB_TYPE = field->fld_sub_type; @@ -1533,6 +1535,7 @@ X.RDB$DESCRIPTION.NULL = FALSE; } + X.RDB$SYSTEM_FLAG.NULL = FALSE; X.RDB$SYSTEM_FLAG = relation->rel_system; END_STORE; @@ -1803,6 +1806,7 @@ else X.RDB$DESCRIPTION.NULL = TRUE; + X.RDB$SYSTEM_FLAG.NULL = FALSE; X.RDB$SYSTEM_FLAG = relation->rel_system; END_STORE @@ -1890,6 +1894,7 @@ X.RDB$QUERY_HEADER.NULL = FALSE; store_query_header(field->fld_query_header, &X.RDB$QUERY_HEADER); } + X.RDB$SYSTEM_FLAG.NULL = FALSE; if (field->fld_system) X.RDB$SYSTEM_FLAG = field->fld_system; else @@ -3355,8 +3360,11 @@ if (field->fld_flags & fld_null_query_header) X.RDB$QUERY_HEADER.NULL = TRUE; + X.RDB$SYSTEM_FLAG.NULL = FALSE; if (field->fld_flags & fld_explicit_system) X.RDB$SYSTEM_FLAG = field->fld_system; + else + X.RDB$SYSTEM_FLAG = 0; if (field->fld_source) MOVE_SYMBOL(field->fld_source, X.RDB$FIELD_SOURCE); @@ -3425,8 +3433,11 @@ DDL_err(83, SafeArg() << name->sym_name); /* msg 83: Unauthorized attempt to change field %s to or from blob */ } + X.RDB$SYSTEM_FLAG.NULL = FALSE; if (field->fld_flags & fld_explicit_system) X.RDB$SYSTEM_FLAG = field->fld_system; + else + X.RDB$SYSTEM_FLAG = 0; if (field->fld_flags & fld_null_description) X.RDB$DESCRIPTION.NULL = TRUE; @@ -3573,8 +3584,12 @@ store_text(relation->rel_description, &X.RDB$DESCRIPTION); X.RDB$DESCRIPTION.NULL = FALSE; } + X.RDB$SYSTEM_FLAG.NULL = FALSE; if (relation->rel_flags & rel_explicit_system) X.RDB$SYSTEM_FLAG = relation->rel_system; + else + X.RDB$SYSTEM_FLAG = 0; + if (relation->rel_filename) { if (X.RDB$EXTERNAL_FILE.NULL) DDL_err(86, SafeArg() << name->sym_string); |