|
1 | | -/************************************************************************ |
2 | | -* Copyright (C) 2005-2014,2020,2022 by Progress Software Corporation. * |
3 | | -* All rights reserved. Prior versions of this work may contain portions * |
4 | | -* contributed by participants of Possenet. * |
5 | | -* * |
6 | | -*************************************************************************/ |
| 1 | +/***************************************************************************** |
| 2 | +* Copyright (C) 2005-2014,2020,2022,2023 by Progress Software Corporation. * |
| 3 | +* All rights reserved. Prior versions of this work may contain portions * |
| 4 | +* contributed by participants of Possenet. * |
| 5 | +* * |
| 6 | +******************************************************************************/ |
7 | 7 |
|
8 | 8 | /* _dmpincr.p - phase 2 of incremental .df maker |
9 | 9 |
|
@@ -93,6 +93,7 @@ History: |
93 | 93 | rkamboj 11/14/13 Added support to generate incremental for IS-PARTITIONED for _file and IS-LOCAL for _Index. For table partitioning feature. |
94 | 94 | tmasood 12/11/20 Merge changes from 12.1 |
95 | 95 | tmasood 05/10/22 Changed the code to dump index mode as per the DUMP_INC_INDEXMODE value in case of Unique index only |
| 96 | + tmasood 02/02/23 Added check for blank & space comparison for CATEGORY field |
96 | 97 |
|
97 | 98 | */ |
98 | 99 |
|
@@ -1095,7 +1096,7 @@ DO ON STOP UNDO, LEAVE |
1095 | 1096 | j = j + 1 |
1096 | 1097 | ddl[j] = " DUMP-NAME " + c. |
1097 | 1098 | RUN dctquot IN h_dmputil (DICTDB._File._category,'"',OUTPUT c). |
1098 | | - IF COMPARE(DICTDB._File._category,"NE",DICTDB2._File._category,"RAW") THEN ASSIGN |
| 1099 | + IF COMPARE(DICTDB._File._category,"NE",DICTDB2._File._category,"RAW") AND NOT(DICTDB._File._category EQ " " AND DICTDB2._File._category EQ "") THEN ASSIGN |
1099 | 1100 | j = j + 1 |
1100 | 1101 | ddl[j] = " CATEGORY " + c. |
1101 | 1102 | RUN dctquot IN h_dmputil (DICTDB._File._Fil-misc2[6],'"',OUTPUT c). |
|
0 commit comments