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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
d19ba33f
Commit
d19ba33f
authored
Apr 23, 2003
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
warning when a 4.1 MYI file is opened in 4.0
parent
b534154b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
myisam/mi_open.c
myisam/mi_open.c
+3
-0
myisam/myisamdef.h
myisam/myisamdef.h
+2
-1
No files found.
myisam/mi_open.c
View file @
d19ba33f
...
...
@@ -182,6 +182,9 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags)
}
share
->
state_diff_length
=
len
-
MI_STATE_INFO_SIZE
;
if
(
share
->
state
.
header
.
fulltext_keys
)
fprintf
(
stderr
,
"Table file %s was created in MySQL 4.1+, use REPAIR TABLE ... USE_FRM to recreate it as a valid MySQL 4.0 table
\n
"
,
name_buff
);
mi_state_info_read
(
disk_cache
,
&
share
->
state
);
len
=
mi_uint2korr
(
share
->
state
.
header
.
base_info_length
);
if
(
len
!=
MI_BASE_INFO_SIZE
)
...
...
myisam/myisamdef.h
View file @
d19ba33f
...
...
@@ -55,7 +55,8 @@ typedef struct st_mi_state_info
uchar
uniques
;
/* number of UNIQUE definitions */
uchar
language
;
/* Language for indexes */
uchar
max_block_size
;
/* max keyblock size */
uchar
not_used
[
2
];
/* To align to 8 */
uchar
fulltext_keys
;
/* reserved for 4.1 */
uchar
not_used
;
/* To align to 8 */
}
header
;
MI_STATUS_INFO
state
;
...
...
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