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
15d4217c
Commit
15d4217c
authored
Jun 30, 2005
by
jani@ua141d10.elisa.omakaista.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't allow 8bytes for data file pointers for now.
parent
b60175f9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
myisam/mi_create.c
myisam/mi_create.c
+3
-0
No files found.
myisam/mi_create.c
View file @
15d4217c
...
@@ -723,10 +723,13 @@ err:
...
@@ -723,10 +723,13 @@ err:
uint
mi_get_pointer_length
(
ulonglong
file_length
,
uint
def
)
uint
mi_get_pointer_length
(
ulonglong
file_length
,
uint
def
)
{
{
DBUG_ASSERT
(
def
>=
2
&&
def
<=
7
);
if
(
file_length
)
/* If not default */
if
(
file_length
)
/* If not default */
{
{
#ifdef NOT_YET_READY_FOR_8_BYTE_POINTERS
if
(
file_length
>=
(
longlong
)
1
<<
56
)
if
(
file_length
>=
(
longlong
)
1
<<
56
)
def
=
8
;
def
=
8
;
#endif
if
(
file_length
>=
(
longlong
)
1
<<
48
)
if
(
file_length
>=
(
longlong
)
1
<<
48
)
def
=
7
;
def
=
7
;
if
(
file_length
>=
(
longlong
)
1
<<
40
)
if
(
file_length
>=
(
longlong
)
1
<<
40
)
...
...
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