diff options
author | monty@donna.mysql.com <> | 2001-01-28 21:35:50 +0200 |
---|---|---|
committer | monty@donna.mysql.com <> | 2001-01-28 21:35:50 +0200 |
commit | ce2260586dc18bf2b46e5ede488db085da33edf9 (patch) | |
tree | fabb5447e17b9f0959cb83b6d88351367ca53645 /myisammrg | |
parent | 6b9a8a92c3d02f9fb66638843de16170e4a0c1a6 (diff) | |
download | mariadb-git-ce2260586dc18bf2b46e5ede488db085da33edf9.tar.gz |
Fixed ALTER TABLE on MERGE tables
Fixed bug in DISTINCT
Diffstat (limited to 'myisammrg')
-rw-r--r-- | myisammrg/myrg_info.c | 4 | ||||
-rw-r--r-- | myisammrg/myrg_rrnd.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/myisammrg/myrg_info.c b/myisammrg/myrg_info.c index 304216a8276..8ca830339b9 100644 --- a/myisammrg/myrg_info.c +++ b/myisammrg/myrg_info.c @@ -52,8 +52,8 @@ int myrg_status(MYRG_INFO *info,register MYMERGE_INFO *x,int flag) info->data_file_length+=file->table->s->state.state.data_file_length; info->records+=file->table->s->state.state.records; info->del+=file->table->s->state.state.del; - DBUG_PRINT("info2",("table: %s, offset: 0x%08lx", - file->table->filename,(ulong)file->file_offset)); + DBUG_PRINT("info2",("table: %s, offset: %lu", + file->table->filename,(ulong) file->file_offset)); } x->records = info->records; x->deleted = info->del; diff --git a/myisammrg/myrg_rrnd.c b/myisammrg/myrg_rrnd.c index 77fe00a1bb1..46bd3850bb5 100644 --- a/myisammrg/myrg_rrnd.c +++ b/myisammrg/myrg_rrnd.c @@ -36,7 +36,7 @@ int myrg_rrnd(MYRG_INFO *info,byte *buf,ulonglong filepos) int error; MI_INFO *isam_info; DBUG_ENTER("myrg_rrnd"); - DBUG_PRINT("info",("offset: 0x%016qx", (ulonglong)filepos)); + DBUG_PRINT("info",("offset: %lu", (ulong) filepos)); if (filepos == HA_OFFSET_ERROR) { @@ -109,7 +109,7 @@ static MYRG_TABLE *find_table(MYRG_TABLE *start, MYRG_TABLE *end, else start=mid; } - DBUG_PRINT("info",("offset: 0x%016qx, table: %s", - (ulonglong)pos, start->table->filename)); + DBUG_PRINT("info",("offset: %lu, table: %s", + (ulong) pos, start->table->filename)); DBUG_RETURN(start); } |