1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Fixes for bugs in the usage of IO_CACHE

This commit is contained in:
monty@narttu.mysql.fi
2000-11-17 02:36:46 +02:00
parent ca2cca8dce
commit 22415489f2
21 changed files with 104 additions and 84 deletions

View File

@@ -116,8 +116,8 @@ THD::THD()
system_thread=0;
bzero((char*) &mem_root,sizeof(mem_root));
#if defined(HAVE_BERKELEY_DB) || defined(HAVE_INNOBASE_DB) || defined(HAVE_GEMENI_DB)
if (open_cached_file(&transactions.trans_log,
mysql_tempdir,LOG_PREFIX,0,MYF(MY_WME)))
if (open_cached_file(&transaction.trans_log,
mysql_tmpdir,LOG_PREFIX,0,MYF(MY_WME)))
killed=1;
transaction.bdb_lock_count=0;
#endif
@@ -145,7 +145,7 @@ THD::~THD()
}
close_temporary_tables(this);
#if defined(HAVE_BERKELEY_DB) || defined(HAVE_INNOBASE_DB) || defined(HAVE_GEMENI_DB)
close_cached_file(transactions.trans_log);
close_cached_file(&transaction.trans_log);
#endif
if (global_read_lock)
{