diff options
author | Mikael Ronstrom <mikael@mysql.com> | 2008-10-15 14:30:31 +0200 |
---|---|---|
committer | Mikael Ronstrom <mikael@mysql.com> | 2008-10-15 14:30:31 +0200 |
commit | 54abde5e06a02322e30e99c3399427573f4a8b5a (patch) | |
tree | f920cb02daa98ed090c74936a43037c5fd879476 /storage/innobase/include/log0log.h | |
parent | 9daa56fd5ce3ccd33c32b5a505ac1d2b2c437460 (diff) | |
download | mariadb-git-54abde5e06a02322e30e99c3399427573f4a8b5a.tar.gz |
Google IO rate patch with a portability fix
Diffstat (limited to 'storage/innobase/include/log0log.h')
-rw-r--r-- | storage/innobase/include/log0log.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/storage/innobase/include/log0log.h b/storage/innobase/include/log0log.h index 43662d02a34..337b9f1e783 100644 --- a/storage/innobase/include/log0log.h +++ b/storage/innobase/include/log0log.h @@ -169,6 +169,13 @@ void log_buffer_flush_to_disk(void); /*==========================*/ /******************************************************************** +Flushes the log buffer. Forces it to disk depending on the value of +the configuration parameter innodb_flush_log_at_trx_commit. */ + +void +log_buffer_flush_maybe_sync(void); +/*==========================*/ +/******************************************************************** Advances the smallest lsn for which there are unflushed dirty blocks in the buffer pool and also may make a new checkpoint. NOTE: this function may only be called if the calling thread owns no synchronization objects! */ |