summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2001-01-16 06:02:05 +0200
committermonty@donna.mysql.com <>2001-01-16 06:02:05 +0200
commitc1b5a5b00fb0f72ab34211cc42cf6b567f19d0f7 (patch)
treed2fb03ef30e8182ca60cf1262a5a9db0e97a08a5 /myisam
parent3857c6a31c546f4a0bf016c51b8936b640267d72 (diff)
downloadmariadb-git-c1b5a5b00fb0f72ab34211cc42cf6b567f19d0f7.tar.gz
Removed not used variable 'last_ref'
Fixed problem with negative DECIMAL() keys Fixed some bugs with NULL keys in BDB More mysql-test tests
Diffstat (limited to 'myisam')
-rw-r--r--myisam/mi_check.c2
-rw-r--r--myisam/mi_extra.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/myisam/mi_check.c b/myisam/mi_check.c
index 67503bd4f6c..ee9e3387119 100644
--- a/myisam/mi_check.c
+++ b/myisam/mi_check.c
@@ -1182,7 +1182,7 @@ int mi_repair(MI_CHECK *param, register MI_INFO *info,
That is the next line for... (serg)
*/
- share->state.key_map= (((ulonglong) 1L << share->base.keys)-1 &
+ share->state.key_map= ((((ulonglong) 1L << share->base.keys)-1) &
param->keys_in_use);
info->state->key_file_length=share->base.keystart;
diff --git a/myisam/mi_extra.c b/myisam/mi_extra.c
index eaf9400babe..fe95c60931c 100644
--- a/myisam/mi_extra.c
+++ b/myisam/mi_extra.c
@@ -151,6 +151,7 @@ int mi_extra(MI_INFO *info, enum ha_extra_function function)
{
info->opt_flag&= ~(READ_CACHE_USED | WRITE_CACHE_USED);
error=end_io_cache(&info->rec_cache);
+ /* Sergei will insert full text index caching here */
}
#if defined(HAVE_MMAP) && defined(HAVE_MADVICE)
if (info->opt_flag & MEMMAP_USED)