summaryrefslogtreecommitdiff
path: root/sql/log.cc
diff options
context:
space:
mode:
authorunknown <lars/lthalmann@mysql.com/dl145j.mysql.com>2007-02-25 00:10:51 +0100
committerunknown <lars/lthalmann@mysql.com/dl145j.mysql.com>2007-02-25 00:10:51 +0100
commit33dbda5eae195c8151293ecf6d3459e15ba8a7dd (patch)
tree6815c42dd93f2316e6b17d51739fa05c6ed55e92 /sql/log.cc
parent9a8f8497f0a71acaba055e49dec99bc0a91caff9 (diff)
parent849b95ce6279d7ced68b34bf47ea4f658ca80bd9 (diff)
downloadmariadb-git-33dbda5eae195c8151293ecf6d3459e15ba8a7dd.tar.gz
Merge mysql.com:/nfsdisk1/lars/bkroot/mysql-5.0-rpl
into mysql.com:/nfsdisk1/lars/MERGE/mysql-5.0-merge sql/field.cc: Auto merged sql/item_func.cc: Auto merged sql/log.cc: Auto merged sql/log_event.cc: Auto merged sql/log_event.h: Auto merged sql/mysql_priv.h: Auto merged sql/mysqld.cc: Auto merged sql/slave.cc: Auto merged sql/sql_insert.cc: Auto merged
Diffstat (limited to 'sql/log.cc')
-rw-r--r--sql/log.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/log.cc b/sql/log.cc
index 05c6a548e28..cf30e4ea882 100644
--- a/sql/log.cc
+++ b/sql/log.cc
@@ -2524,7 +2524,7 @@ int TC_LOG_MMAP::open(const char *opt_name)
goto err;
if (using_heuristic_recover())
return 1;
- if ((fd= my_create(logname, O_RDWR, 0, MYF(MY_WME))) < 0)
+ if ((fd= my_create(logname, CREATE_MODE, O_RDWR, MYF(MY_WME))) < 0)
goto err;
inited=1;
file_length= opt_tc_log_size;