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
3042591a
Commit
3042591a
authored
Oct 25, 2005
by
jani@ua141d10.elisa.omakaista.fi
Browse files
Options
Browse Files
Download
Plain Diff
Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-4.1
into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1
parents
3e653fb9
45066745
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
myisam/mi_check.c
myisam/mi_check.c
+4
-3
myisam/mi_delete.c
myisam/mi_delete.c
+4
-2
No files found.
myisam/mi_check.c
View file @
3042591a
...
...
@@ -1838,9 +1838,10 @@ static int sort_one_index(MI_CHECK *param, MI_INFO *info, MI_KEYDEF *keyinfo,
_mi_kpointer
(
info
,
keypos
-
nod_flag
,
param
->
new_file_pos
);
/* Save new pos */
if
(
sort_one_index
(
param
,
info
,
keyinfo
,
next_page
,
new_file
))
{
DBUG_PRINT
(
"error"
,(
"From page: %ld, keyoffset: %d used_length: %d"
,
(
ulong
)
pagepos
,
(
int
)
(
keypos
-
buff
),
(
int
)
used_length
));
DBUG_PRINT
(
"error"
,
(
"From page: %ld, keyoffset: 0x%lx used_length: %d"
,
(
ulong
)
pagepos
,
(
ulong
)
(
keypos
-
buff
),
(
int
)
used_length
));
DBUG_DUMP
(
"buff"
,(
byte
*
)
buff
,
used_length
);
goto
err
;
}
...
...
myisam/mi_delete.c
View file @
3042591a
...
...
@@ -390,7 +390,8 @@ static int del(register MI_INFO *info, register MI_KEYDEF *keyinfo, uchar *key,
MYISAM_SHARE
*
share
=
info
->
s
;
MI_KEY_PARAM
s_temp
;
DBUG_ENTER
(
"del"
);
DBUG_PRINT
(
"enter"
,(
"leaf_page: %ld keypos: %lx"
,
leaf_page
,
keypos
));
DBUG_PRINT
(
"enter"
,(
"leaf_page: %ld keypos: 0x%lx"
,
leaf_page
,
(
ulong
)
keypos
));
DBUG_DUMP
(
"leaf_buff"
,(
byte
*
)
leaf_buff
,
mi_getint
(
leaf_buff
));
endpos
=
leaf_buff
+
mi_getint
(
leaf_buff
);
...
...
@@ -495,7 +496,8 @@ static int underflow(register MI_INFO *info, register MI_KEYDEF *keyinfo,
MI_KEY_PARAM
s_temp
;
MYISAM_SHARE
*
share
=
info
->
s
;
DBUG_ENTER
(
"underflow"
);
DBUG_PRINT
(
"enter"
,(
"leaf_page: %ld keypos: %lx"
,(
long
)
leaf_page
,
keypos
));
DBUG_PRINT
(
"enter"
,(
"leaf_page: %ld keypos: 0x%lx"
,(
long
)
leaf_page
,
(
ulong
)
keypos
));
DBUG_DUMP
(
"anc_buff"
,(
byte
*
)
anc_buff
,
mi_getint
(
anc_buff
));
DBUG_DUMP
(
"leaf_buff"
,(
byte
*
)
leaf_buff
,
mi_getint
(
leaf_buff
));
...
...
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