summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authormonty@mysql.com <>2005-11-01 13:00:02 +0200
committermonty@mysql.com <>2005-11-01 13:00:02 +0200
commit19502e8eb5a79f04611458ec3784373b756a7948 (patch)
tree48f465a2fa16bd4e275d38c29d8c85701e758f58 /myisam
parentfdcb437bdfd3b10cd6e9a220fa0d29970383ffe7 (diff)
downloadmariadb-git-19502e8eb5a79f04611458ec3784373b756a7948.tar.gz
Review of new pushed code
Removed wrong fix for bug #14009 (use of abs() on null value causes problems with filesort) Mark that add_time(), time_diff() and str_to_date() can return null values
Diffstat (limited to 'myisam')
-rw-r--r--myisam/mi_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_check.c b/myisam/mi_check.c
index 8783a5fef54..15d1cceebfe 100644
--- a/myisam/mi_check.c
+++ b/myisam/mi_check.c
@@ -1839,7 +1839,7 @@ static int sort_one_index(MI_CHECK *param, MI_INFO *info, MI_KEYDEF *keyinfo,
if (sort_one_index(param,info,keyinfo,next_page,new_file))
{
DBUG_PRINT("error",
- ("From page: %ld, keyoffset: 0x%lx used_length: %d",
+ ("From page: %ld, keyoffset: %lu used_length: %d",
(ulong) pagepos, (ulong) (keypos - buff),
(int) used_length));
DBUG_DUMP("buff",(byte*) buff,used_length);