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
c672a771
Commit
c672a771
authored
Sep 29, 2006
by
istruewing@chilla.local
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.0-engines
into chilla.local:/home/mydev/mysql-5.0-bug20627
parents
fe7de5b9
a2c42739
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
sql/ha_archive.cc
sql/ha_archive.cc
+11
-1
No files found.
sql/ha_archive.cc
View file @
c672a771
...
...
@@ -206,7 +206,17 @@ bool archive_db_init()
else
{
zoffset_size
=
2
<<
((
zlibCompileFlags
()
>>
6
)
&
3
);
max_zfile_size
=
(
z_off_t
)
(
~
(
1
<<
(
zoffset_size
*
8
-
1
)));
switch
(
sizeof
(
z_off_t
))
{
case
2
:
max_zfile_size
=
INT_MAX16
;
break
;
case
8
:
max_zfile_size
=
LONGLONG_MAX
;
break
;
case
4
:
default:
max_zfile_size
=
INT_MAX32
;
}
archive_inited
=
TRUE
;
DBUG_RETURN
(
FALSE
);
}
...
...
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