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
45066745
Commit
45066745
authored
Oct 25, 2005
by
jani@ua141d10.elisa.omakaista.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed some dbug print options.
parent
c7174f18
Changes
2
Show 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 @
45066745
...
...
@@ -1731,8 +1731,9 @@ 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
),
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 @
45066745
...
...
@@ -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