Skip to content

Commit ff77fec

Browse files
committed
11.7.20 Release
1 parent c3b37d4 commit ff77fec

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

prodict/ora/_gendsql.p

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
/*********************************************************************
2-
* Copyright (C) 2005-2009 by Progress Software Corporation. All rights *
3-
* reserved. Prior versions of this work may contain portions *
4-
* contributed by participants of Possenet. *
5-
* *
6-
*********************************************************************/
1+
/***********************************************************************
2+
* Copyright (C) 2005-2024 by Progress Software Corporation. All rights *
3+
* reserved. Prior versions of this work may contain portions *
4+
* contributed by participants of Possenet. *
5+
* *
6+
***********************************************************************/
77
/* Procedure: prodict/ora/_gendsql.p
88
99
Created: Donna L. McMann
@@ -66,7 +66,8 @@
6666
05/12/08 Handle duplicate field names being added - OE00166402
6767
12/08/08 Handle case where index is re-added - OE00177558
6868
04/14/09 Handle update of new object
69-
09/25/11 Delta sql support for constraint feature by kmayur
69+
09/25/11 Delta sql support for constraint feature by kmayur
70+
03/04/24 Fixed issue for not considering width option in DSRVR-PRECISION value While generating DF using delta SQL utility (OCTA-57941).
7071
If the user wants to have a DEFAULT value of blank for VARCHAR2 fields,
7172
an environmental variable BLANKDEFAULT can be set to "YES" and the code will
7273
put the DEFAULT ' ' syntax on the definition for a new field. D. McMann 11/27/02
@@ -2446,6 +2447,12 @@ PROCEDURE process-fld-width:
24462447
AND df-info.df-fld = fieldname
24472448
AND df-info.df-line BEGINS " FOREIGN-MAXIMUM".
24482449
ASSIGN df-info.df-line = " FOREIGN-MAXIMUM " + fsize.
2450+
2451+
FIND df-info WHERE df-info.df-tbl = tablename
2452+
AND df-info.df-fld = fieldname
2453+
AND df-info.df-line BEGINS " DSRVR-PRECISION " NO-ERROR.
2454+
IF AVAILABLE df-info THEN
2455+
ASSIGN df-info.df-line = " DSRVR-PRECISION " + fsize.
24492456

24502457
END PROCEDURE.
24512458

@@ -3618,6 +3625,7 @@ DO ON STOP UNDO, LEAVE:
36183625
ASSIGN df-info.df-seq = dfseq
36193626
dfseq = dfseq + 1
36203627
df-info.df-tbl = tablename
3628+
df-info.df-fld = fieldname
36213629
df-line = " DSRVR-PRECISION " + STRING(all_digits).
36223630
CREATE df-info.
36233631
ASSIGN df-info.df-seq = dfseq

0 commit comments

Comments
 (0)