Skip to content

Commit 0eacebf

Browse files
committed
Merge branch 'ob-10.0' into 10.0
2 parents 8ab46a5 + 5f53303 commit 0eacebf

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

storage/connect/reldef.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,8 @@ class DllExport COLDEF : public COLCRT { /* Column description block
193193
friend class COLBLK;
194194
friend class DBFFAM;
195195
friend class TDBASE;
196-
public:
196+
friend class TDBDOS;
197+
public:
197198
COLDEF(void); // Constructor
198199

199200
// Implementation

storage/connect/tabdos.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2018,7 +2018,8 @@ int TDBDOS::EstimatedLength(void)
20182018
// result if we set dep to 1
20192019
dep = 1 + cdp->GetLong() / 20; // Why 20 ?????
20202020
} else for (; cdp; cdp = cdp->GetNext())
2021-
dep = MY_MAX(dep, cdp->GetOffset());
2021+
if (!(cdp->Flags & (U_VIRTUAL|U_SPECIAL)))
2022+
dep = MY_MAX(dep, cdp->GetOffset());
20222023

20232024
return (int)dep;
20242025
} // end of Estimated Length

0 commit comments

Comments
 (0)