Skip to content

Commit c730b63

Browse files
author
pscbld
committed
11.7.15
1 parent 0cc66e5 commit c730b63

File tree

2 files changed

+6
-16
lines changed

2 files changed

+6
-16
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
This contains the source files of the OpenEdge 11.7.14 AppBuilder, Data admin API, HTTP client, webhandlers products.
1+
This contains the source files of the OpenEdge 11.7.x AppBuilder, Data admin API, HTTP client, webhandlers products.
22
Progress will not accept modifications to this code.
33
However, if you want to share something you develop using this code, please submit it to OpenEdge Code Share.

prodict/dump/_dmpincr.p

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/***********************************************************************
2-
* Copyright (C) 2005-2018 by Progress Software Corporation. All rights *
2+
* Copyright (C) 2005-2018,2022 by Progress Software Corporation. All rights *
33
reserved. Prior versions of this work may contain portions *
44
* contributed by participants of Possenet. *
55
* *
@@ -91,6 +91,7 @@ History:
9191
Rkamboj 09/30/11 Added CATEGORY field support for incremental dump.
9292
rkamboj 03/30/2012 Added check for sql-92 tables with unsupported ABL prop - OE00208080
9393
rkamboj 11/14/13 Added support to generate incremental for IS-PARTITIONED for _file and IS-LOCAL for _Index. For table partitioning feature.
94+
tmasood 05/10/22 Changed the code to dump index mode as per the DUMP_INC_INDEXMODE value in case of Unique index only
9495
*/
9596

9697
using Progress.Lang.*.
@@ -2228,23 +2229,12 @@ DO ON STOP UNDO, LEAVE
22282229
IF DICTDB._Index._Unique THEN DO:
22292230
PUT STREAM ddl UNFORMATTED " UNIQUE" SKIP.
22302231

2231-
IF OS-GETENV ("DUMP_INC_INDEXMODE") NE ? AND OS-GETENV ("DUMP_INC_INDEXMODE") NE '""' THEN DO:
2232-
IF OS-GETENV ("DUMP_INC_INDEXMODE") EQ "inactive" THEN
2233-
PUT STREAM ddl UNFORMATTED " INACTIVE" SKIP.
2234-
END.
2235-
ELSE IF NOT (DICTDB._Index._Active AND (IF iact = ? THEN TRUE ELSE iact)) THEN DO:
2232+
IF NOT (DICTDB._Index._Active AND (IF iact = ? THEN TRUE ELSE iact)) THEN
22362233
PUT STREAM ddl UNFORMATTED " INACTIVE" SKIP.
2237-
END.
22382234
END.
2239-
ELSE IF OS-GETENV ("DUMP_INC_INDEXMODE") NE ? AND OS-GETENV ("DUMP_INC_INDEXMODE") NE '""' THEN DO:
2240-
IF OS-GETENV ("DUMP_INC_INDEXMODE") EQ "inactive" THEN
2241-
PUT STREAM ddl UNFORMATTED " INACTIVE" SKIP.
2242-
END.
2243-
ELSE IF NOT DICTDB._Index._Active AND NOT DICTDB._Index._Unique THEN DO:
2235+
ELSE IF NOT DICTDB._Index._Active AND NOT DICTDB._Index._Unique THEN
22442236
PUT STREAM ddl UNFORMATTED " INACTIVE" SKIP.
2245-
END.
2246-
2247-
2237+
22482238
IF DICTDB._Index._Wordidx = 1 THEN
22492239
PUT STREAM ddl UNFORMATTED " WORD" SKIP.
22502240
IF DICTDB._Index._Desc <> ? AND DICTDB._Index._Desc <> '' THEN DO:

0 commit comments

Comments
 (0)