Skip to content

Commit 3b2b374

Browse files
author
pscbld
committed
12.5.3 Update
1 parent 0d50bfd commit 3b2b374

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

prodict/dump/_dmpincr.p

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/***********************************************************************
2-
* Copyright (C) 2005-2014,2020,2021 by Progress Software Corporation. *
2+
* Copyright (C) 2005-2014,2020,2021,2022 by Progress Software Corporation. *
33
* All rights reserved. Prior versions of this work may contain *
44
* portions contributed by participants of Possenet. *
55
* *
@@ -99,8 +99,9 @@ History:
9999
tmasood 05/19/2021 Handle the blank value passed in DUMP_INC_INDEXMODE
100100
tmasood 08/03/2021 Generate incrdump.e in temp-dir if write access are not provided
101101
tmasood 10/18/2021 DROP FIELD opearation goes under PostDeploy section
102-
tmasood 11/24/2021 Index field should not be dumped under PostDeploy section
103-
tmasood 11/26/2021 Fixed error 138 while dumping LOB field
102+
tmasood 11/24/2021 Index field should not be dumped under PostDeploy section
103+
tmasood 11/26/2021 Fixed error 138 while dumping LOB field
104+
tmasood 08/08/2022 Added the availability check to fix the error 91
104105
*/
105106

106107
using Progress.Lang.*.
@@ -1570,7 +1571,9 @@ DO ON STOP UNDO, LEAVE
15701571
drop-list.f2-name = field-list.f2-name.
15711572
/* Cannot drop an LOB field online
15721573
In one transaction, only one field can be dropped as online. PostDeploy will have one DROP FIELD operation */
1573-
IF NOT (DICTDB2._Field._Data-type = "CLOB" OR DICTDB2._Field._Data-type = "BLOB") AND NOT lDrpFldOnline
1574+
IF AVAILABLE(DICTDB2._Field)
1575+
AND NOT (DICTDB2._Field._Data-type = "CLOB" OR DICTDB2._Field._Data-type = "BLOB")
1576+
AND NOT lDrpFldOnline
15741577
AND NOT inindex(INPUT RECID(DICTDB2._File), INPUT RECID(DICTDB2._Field)) THEN DO:
15751578
PUT STREAM-HANDLE hPostDeployStream UNFORMATTED
15761579
'DROP FIELD "' DICTDB._Field._Field-name
@@ -2553,7 +2556,9 @@ DO ON STOP UNDO, LEAVE
25532556
/* Cannot drop an LOB field online
25542557
In one transaction, only one field can be dropped as online. PostDeploy will have one DROP FIELD operation */
25552558
FIND FIRST DICTDB2._Field WHERE DICTDB2._Field._Field-Name = missing.name NO-LOCK NO-ERROR.
2556-
IF NOT (DICTDB2._Field._Data-type = "CLOB" OR DICTDB2._Field._Data-type = "BLOB") AND NOT lDrpFldOnline
2559+
IF AVAILABLE(DICTDB2._Field)
2560+
AND NOT (DICTDB2._Field._Data-type = "CLOB" OR DICTDB2._Field._Data-type = "BLOB")
2561+
AND NOT lDrpFldOnline
25572562
AND NOT inindex(INPUT RECID(DICTDB2._File), INPUT RECID(DICTDB2._Field)) THEN DO:
25582563
PUT STREAM-HANDLE hPostDeployStream UNFORMATTED
25592564
'DROP FIELD "' missing.name

0 commit comments

Comments
 (0)