diff options
author | monty@hundin.mysql.fi <> | 2002-11-10 09:39:00 +0200 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2002-11-10 09:39:00 +0200 |
commit | cda8c9041f0944ec7635133f6148b73f9d752189 (patch) | |
tree | 04d614d2be888fa080ebe00d455c18f7ce0cf924 /innobase | |
parent | d0ee72c8017ad232fdef63b95ed7dbd3e90dc23e (diff) | |
download | mariadb-git-cda8c9041f0944ec7635133f6148b73f9d752189.tar.gz |
Added 4.1 protocol description
Diffstat (limited to 'innobase')
-rw-r--r-- | innobase/log/log0log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/innobase/log/log0log.c b/innobase/log/log0log.c index c798a08e2de..f9b785ccbd5 100644 --- a/innobase/log/log0log.c +++ b/innobase/log/log0log.c @@ -1654,8 +1654,8 @@ log_reset_first_header_and_checkpoint( lsn = ut_dulint_add(start, LOG_BLOCK_HDR_SIZE); /* Write the label of ibbackup --restore */ - sprintf(hdr_buf + LOG_FILE_WAS_CREATED_BY_HOT_BACKUP, "ibbackup "); - ut_sprintf_timestamp(hdr_buf + LOG_FILE_WAS_CREATED_BY_HOT_BACKUP + sprintf((char*) hdr_buf + LOG_FILE_WAS_CREATED_BY_HOT_BACKUP, "ibbackup "); + ut_sprintf_timestamp((char*) hdr_buf + LOG_FILE_WAS_CREATED_BY_HOT_BACKUP + strlen("ibbackup ")); buf = hdr_buf + LOG_CHECKPOINT_1; |