summaryrefslogtreecommitdiff
path: root/sql/sql_class.cc
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2000-12-07 14:08:48 +0200
committermonty@donna.mysql.com <>2000-12-07 14:08:48 +0200
commit87d9388e52a128427481064e21373f8460d6b24f (patch)
tree8a5c9d678d477bb2c3fa95057c9299dcf9560aab /sql/sql_class.cc
parenta5c75df390e9b67454bd0a04e75583057e9579f7 (diff)
downloadmariadb-git-87d9388e52a128427481064e21373f8460d6b24f.tar.gz
Only write full transactions to binary log
A lot of new functions for BDB tables Fix for DROP DATABASE on windows Default server_id variables
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r--sql/sql_class.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc
index b93b0a5b909..b310d0f44bb 100644
--- a/sql/sql_class.cc
+++ b/sql/sql_class.cc
@@ -121,8 +121,10 @@ THD::THD():user_time(0),fatal_error(0),last_insert_id_used(0),
#ifdef USING_TRANSACTIONS
bzero((char*) &transaction,sizeof(transaction));
if (open_cached_file(&transaction.trans_log,
- mysql_tmpdir,LOG_PREFIX,0,MYF(MY_WME)))
+ mysql_tmpdir, LOG_PREFIX, binlog_cache_size,
+ MYF(MY_WME)))
killed=1;
+ transaction.trans_log.end_of_file= max_binlog_cache_size;
#endif
#ifdef __WIN__