summaryrefslogtreecommitdiff
path: root/myisam/mi_delete.c
diff options
context:
space:
mode:
authorunknown <jani@ua141d10.elisa.omakaista.fi>2005-10-25 12:11:31 +0300
committerunknown <jani@ua141d10.elisa.omakaista.fi>2005-10-25 12:11:31 +0300
commitb31dd53c853179e5c4d84cd7f7eeb9b09ca3cbbf (patch)
treeec8e486d17b4aa3fa7fba7be969f633dbc2f393c /myisam/mi_delete.c
parent65ef7cc2f3d8473f09b49fbd521e07f7b29e970a (diff)
downloadmariadb-git-b31dd53c853179e5c4d84cd7f7eeb9b09ca3cbbf.tar.gz
Changed some dbug print options.
myisam/mi_check.c: Changed print style for keyoffset. myisam/mi_delete.c: Changed print style for keypos.
Diffstat (limited to 'myisam/mi_delete.c')
-rw-r--r--myisam/mi_delete.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/myisam/mi_delete.c b/myisam/mi_delete.c
index b964cb35dd8..833223221ec 100644
--- a/myisam/mi_delete.c
+++ b/myisam/mi_delete.c
@@ -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));