diff options
author | monty@tik.mysql.fi <> | 2001-06-11 15:01:28 +0300 |
---|---|---|
committer | monty@tik.mysql.fi <> | 2001-06-11 15:01:28 +0300 |
commit | 1f409baf4cb3bca2ee62b40363a2179f0a3b1f88 (patch) | |
tree | 22274a6ce372c9763e3a9527f8e8dc0cb5548381 /isam | |
parent | b79da88808a4e96cacb6e959f3d1410769035db7 (diff) | |
download | mariadb-git-1f409baf4cb3bca2ee62b40363a2179f0a3b1f88.tar.gz |
Changed compare in MyISAM to use my_pread()
Fixed that @VAR shows all decimals
Fixed problem with FLUSH TABLES and LOCK TABLE
CREATE ... SELECT now creates keys later
Reset AUTO_INCREMENT order if droping AUTO_INCREMENT key
Diffstat (limited to 'isam')
-rw-r--r-- | isam/_dynrec.c | 2 |
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; |