summaryrefslogtreecommitdiff
path: root/myisam/mi_dbug.c
diff options
context:
space:
mode:
Diffstat (limited to 'myisam/mi_dbug.c')
-rw-r--r--myisam/mi_dbug.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/myisam/mi_dbug.c b/myisam/mi_dbug.c
index 531d0b9ddba..e782d21afe7 100644
--- a/myisam/mi_dbug.c
+++ b/myisam/mi_dbug.c
@@ -131,6 +131,16 @@ void _mi_print_key(FILE *stream, register HA_KEYSEG *keyseg,
key=end;
break;
}
+ case HA_KEYTYPE_BIT:
+ {
+ uint i;
+ fputs("0x",stream);
+ for (i=0 ; i < keyseg->length ; i++)
+ fprintf(stream, "%02x", (uint) *key++);
+ key= end;
+ break;
+ }
+
#endif
case HA_KEYTYPE_VARTEXT1: /* VARCHAR and TEXT */
case HA_KEYTYPE_VARTEXT2: /* VARCHAR and TEXT */