diff options
author | monty@mashka.mysql.fi <> | 2002-11-29 16:40:18 +0200 |
---|---|---|
committer | monty@mashka.mysql.fi <> | 2002-11-29 16:40:18 +0200 |
commit | 6603d75213d45c9b75f7c5ab9e612663da943f61 (patch) | |
tree | 9914e2306a30c63d173b56a8ac8f100ee49823d7 /isam | |
parent | fa7798596d409251d542c938b89e1b2e428c5ca7 (diff) | |
download | mariadb-git-6603d75213d45c9b75f7c5ab9e612663da943f61.tar.gz |
New multi-table-update code
New (simpler) internal timestamp handling.
More debuging to heap tables.
Small cleanups to multi-table-delete
false -> 0 and true -> 1 (We should use TRUE and FALSE)
Diffstat (limited to 'isam')
-rw-r--r-- | isam/extra.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/isam/extra.c b/isam/extra.c index 570c396955f..e2f13532ddf 100644 --- a/isam/extra.c +++ b/isam/extra.c @@ -123,6 +123,7 @@ int nisam_extra(N_INFO *info, enum ha_extra_function function) } #endif if (!(info->opt_flag & (READ_CACHE_USED | WRITE_CACHE_USED))) + { if (!(init_io_cache(&info->rec_cache,info->dfile,0, WRITE_CACHE,info->s->state.data_file_length, (pbool) (info->lock_type != F_UNLCK), @@ -131,7 +132,12 @@ int nisam_extra(N_INFO *info, enum ha_extra_function function) info->opt_flag|=WRITE_CACHE_USED; info->update&= ~HA_STATE_ROW_CHANGED; } + } break; + case HA_EXTRA_PREPARE_FOR_UPDATE: + if (info->s->data_file_type != DYNAMIC_RECORD) + break; + /* Remove read/write cache if dynamic rows */ case HA_EXTRA_NO_CACHE: if (info->opt_flag & (READ_CACHE_USED | WRITE_CACHE_USED)) { |