summaryrefslogtreecommitdiff
path: root/mysys/mf_iocache.c
diff options
context:
space:
mode:
authorunknown <monty@mysql.com/narttu.mysql.fi>2007-11-29 11:37:05 +0200
committerunknown <monty@mysql.com/narttu.mysql.fi>2007-11-29 11:37:05 +0200
commit143f35e611ab9fdf51300d0bf458bdbf1f8b7625 (patch)
tree404032178ede59cdc2b842ef519bcb8e785062d1 /mysys/mf_iocache.c
parent4e0964cb040d833351ddd66c00b146b2e93e9fa7 (diff)
downloadmariadb-git-143f35e611ab9fdf51300d0bf458bdbf1f8b7625.tar.gz
Added missing #ifdef
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 8d74894305a..1124ebceb2c 100644
--- a/mysys/mf_iocache.c
+++ b/mysys/mf_iocache.c
@@ -1834,7 +1834,9 @@ int end_io_cache(IO_CACHE *info)
pthread_mutex_destroy(&info->append_buffer_lock);
#endif
}
+#ifdef THREAD
info->share= 0;
+#endif
DBUG_RETURN(error);
} /* end_io_cache */