summaryrefslogtreecommitdiff
path: root/sql/item_buff.cc
diff options
context:
space:
mode:
authorguilhem@mysql.com <>2004-06-10 15:56:13 +0200
committerguilhem@mysql.com <>2004-06-10 15:56:13 +0200
commit73411a2ed52f2d4c7a7eca19c0f2b4795fae688b (patch)
tree9776f371549ba002dc5dde8ab3d942e3ec380a66 /sql/item_buff.cc
parentec5b55f8e198a6570e6b8afe75c374c7997eb8ad (diff)
downloadmariadb-git-73411a2ed52f2d4c7a7eca19c0f2b4795fae688b.tar.gz
WL#1595 "Optionally fsync() the binlog after every statement":
New option --sync-binlog=x (and global settable variable) which will fsync the binlog after every x-th disk write to it. That is, if in autocommit mode, after every x-th statement written to the binlog; if using transactions, after every x-th transaction written to the binlog. x==0 means no fsync. x==1 is the slowest. There is no test added for this, I have just checked that it works as --sync-binlog=1 dramatically slows down mysqld. Made sync-frm a global settable variable.
Diffstat (limited to 'sql/item_buff.cc')
0 files changed, 0 insertions, 0 deletions