diff options
author | unknown <aelkin/elkin@koti.dsl.inet.fi> | 2007-10-04 13:13:04 +0300 |
---|---|---|
committer | unknown <aelkin/elkin@koti.dsl.inet.fi> | 2007-10-04 13:13:04 +0300 |
commit | 0f0e0e1aafcc2d0d467ce5de560d7d6f7151d384 (patch) | |
tree | d6273efd92ab0a0a85943fc6e567346d000b7f90 /sql/log.h | |
parent | 7258005cd40396a7803612f95eb7092574d99023 (diff) | |
download | mariadb-git-0f0e0e1aafcc2d0d467ce5de560d7d6f7151d384.tar.gz |
manual merge
sql/log.h:
manual merge: moving 5.0 hunk into the correct file.
Diffstat (limited to 'sql/log.h')
-rw-r--r-- | sql/log.h | 8 |
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; |