summaryrefslogtreecommitdiff
path: root/myisam/mi_rkey.c
diff options
context:
space:
mode:
authormonty@mysql.com <>2005-10-07 03:12:15 +0300
committermonty@mysql.com <>2005-10-07 03:12:15 +0300
commit82855517a1bc71243384cc6c202095670fb3c9a4 (patch)
treef958b70fe8b350986e02f3c229c7f0b5c766ad77 /myisam/mi_rkey.c
parentf846bc32c17b603ae04c322d86f31c05c56f63a0 (diff)
downloadmariadb-git-82855517a1bc71243384cc6c202095670fb3c9a4.tar.gz
Review of new code since last pull
- Use %lx instead of %p as %p is not portable - Don't replace ROW item with Item_null
Diffstat (limited to 'myisam/mi_rkey.c')
-rw-r--r--myisam/mi_rkey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/myisam/mi_rkey.c b/myisam/mi_rkey.c
index 9aa2be3c706..de4cefb19b6 100644
--- a/myisam/mi_rkey.c
+++ b/myisam/mi_rkey.c
@@ -31,8 +31,8 @@ int mi_rkey(MI_INFO *info, byte *buf, int inx, const byte *key, uint key_len,
HA_KEYSEG *last_used_keyseg;
uint pack_key_length, use_key_length, nextflag;
DBUG_ENTER("mi_rkey");
- DBUG_PRINT("enter", ("base: %p buf: %p inx: %d search_flag: %d",
- info, buf, inx, search_flag));
+ DBUG_PRINT("enter", ("base: %lx buf: %lx inx: %d search_flag: %d",
+ (long) info, (long) buf, inx, search_flag));
if ((inx = _mi_check_index(info,inx)) < 0)
DBUG_RETURN(my_errno);