summaryrefslogtreecommitdiff
path: root/mysys/mf_iocache.c
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2002-11-29 16:40:18 +0200
committermonty@mashka.mysql.fi <>2002-11-29 16:40:18 +0200
commit6603d75213d45c9b75f7c5ab9e612663da943f61 (patch)
tree9914e2306a30c63d173b56a8ac8f100ee49823d7 /mysys/mf_iocache.c
parentfa7798596d409251d542c938b89e1b2e428c5ca7 (diff)
downloadmariadb-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 'mysys/mf_iocache.c')
-rw-r--r--mysys/mf_iocache.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysys/mf_iocache.c b/mysys/mf_iocache.c
index 43b3d30915f..e9c35175bf9 100644
--- a/mysys/mf_iocache.c
+++ b/mysys/mf_iocache.c
@@ -445,6 +445,8 @@ void init_io_cache_share(IO_CACHE *info, IO_CACHE_SHARE *s, uint num_threads)
s->active=0; /* to catch errors */
info->share=s;
info->read_function=_my_b_read_r;
+ /* Ensure that the code doesn't use pointer to the IO_CACHE object */
+ info->current_pos= info->current_end= 0;
}
/*