summaryrefslogtreecommitdiff
path: root/isam
diff options
context:
space:
mode:
authorserg@serg.mysql.com <>2001-07-02 21:52:22 +0200
committerserg@serg.mysql.com <>2001-07-02 21:52:22 +0200
commit004313688277d2f079750c191eda748874a3cc31 (patch)
treeb02cd20fcbc632447cd4b10782204969c9e6af34 /isam
parent15b6738474fd9df56c4aff8f984278cd374bd3f3 (diff)
parent9e9f21a5c9832e783eccd76499ba1472a4feed3d (diff)
downloadmariadb-git-004313688277d2f079750c191eda748874a3cc31.tar.gz
merged
Diffstat (limited to 'isam')
-rw-r--r--isam/_dynrec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isam/_dynrec.c b/isam/_dynrec.c
index 42a596fa623..2a908f5b42c 100644
--- a/isam/_dynrec.c
+++ b/isam/_dynrec.c
@@ -954,7 +954,7 @@ static int _nisam_cmp_buffer(File file, const byte *buff, ulong filepos, uint le
{
if (my_read(file,temp_buff,next_length,MYF(MY_NABP)))
goto err;
- if (memcmp((byte*) buff,temp_buff,IO_SIZE))
+ if (memcmp((byte*) buff,temp_buff,next_length))
DBUG_RETURN(1);
buff+=next_length;
length-= next_length;