Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
0eacebf1
Commit
0eacebf1
authored
Aug 08, 2015
by
Olivier Bertrand
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ob-10.0' into 10.0
parents
8ab46a51
5f533035
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
storage/connect/reldef.h
storage/connect/reldef.h
+2
-1
storage/connect/tabdos.cpp
storage/connect/tabdos.cpp
+2
-1
No files found.
storage/connect/reldef.h
View file @
0eacebf1
...
...
@@ -193,7 +193,8 @@ class DllExport COLDEF : public COLCRT { /* Column description block
friend
class
COLBLK
;
friend
class
DBFFAM
;
friend
class
TDBASE
;
public:
friend
class
TDBDOS
;
public:
COLDEF
(
void
);
// Constructor
// Implementation
...
...
storage/connect/tabdos.cpp
View file @
0eacebf1
...
...
@@ -2018,7 +2018,8 @@ int TDBDOS::EstimatedLength(void)
// result if we set dep to 1
dep
=
1
+
cdp
->
GetLong
()
/
20
;
// Why 20 ?????
}
else
for
(;
cdp
;
cdp
=
cdp
->
GetNext
())
dep
=
MY_MAX
(
dep
,
cdp
->
GetOffset
());
if
(
!
(
cdp
->
Flags
&
(
U_VIRTUAL
|
U_SPECIAL
)))
dep
=
MY_MAX
(
dep
,
cdp
->
GetOffset
());
return
(
int
)
dep
;
}
// end of Estimated Length
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment