summaryrefslogtreecommitdiff
path: root/sql/log.h
diff options
context:
space:
mode:
authoraelkin/elkin@koti.dsl.inet.fi <>2007-10-04 13:13:04 +0300
committeraelkin/elkin@koti.dsl.inet.fi <>2007-10-04 13:13:04 +0300
commit2c12ddc1d4cd9b0a665150041b7296b220d968fe (patch)
treed6273efd92ab0a0a85943fc6e567346d000b7f90 /sql/log.h
parent4c6e14ce8d9930c17203ec85ca770ca9fa359e51 (diff)
downloadmariadb-git-2c12ddc1d4cd9b0a665150041b7296b220d968fe.tar.gz
manual merge
Diffstat (limited to 'sql/log.h')
-rw-r--r--sql/log.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sql/log.h b/sql/log.h
index e597c986794..afcb1d1adf4 100644
--- a/sql/log.h
+++ b/sql/log.h
@@ -130,7 +130,13 @@ typedef struct st_log_info
my_off_t pos;
bool fatal; // if the purge happens to give us a negative offset
pthread_mutex_t lock;
- st_log_info():fatal(0) { pthread_mutex_init(&lock, MY_MUTEX_INIT_FAST);}
+ st_log_info()
+ : index_file_offset(0), index_file_start_offset(0),
+ pos(0), fatal(0)
+ {
+ log_file_name[0] = '\0';
+ pthread_mutex_init(&lock, MY_MUTEX_INIT_FAST);
+ }
~st_log_info() { pthread_mutex_destroy(&lock);}
} LOG_INFO;