mariadb/include
unknown 10802c4d90 MDEV-381: fdatasync() does not correctly flush growing binlog file.
When we append data to the binlog file, we use fdatasync() to ensure
the data gets to disk so that crash recovery can work.

Unfortunately there seems to be a bug in ext3/ext4 on linux, so that
fdatasync() does not correctly sync all data when the size of a file
is increased. This causes crash recovery to not work correctly (it
loses transactions from the binlog).

As a work-around, use fsync() for the binlog, not fdatasync(). Since
we are increasing the file size, (correct) fdatasync() will most
likely not be faster than fsync() on any file system, and fsync()
does work correctly on ext3/ext4. This avoids the need to try to
detect if we are running on buggy ext3/ext4.
2012-08-30 10:53:49 +02:00
..
atomic Bug#22320: my_atomic-t unit test fails 2010-07-05 09:00:39 -03:00
mysql 5.2->5.3 merge 2011-12-12 13:00:33 +01:00
.cvsignore
base64.h
CMakeLists.txt MWL#55 : cherrypick MySQL 5.5 CMake/build improvements in order 2011-01-29 18:51:12 +01:00
config-netware.h Merge with 5.2. 2011-12-11 11:34:44 +02:00
config-win.h Merge 5.2->5.3 in preparation for the release of mariadb-5.3.4-rc. 2012-02-01 15:48:02 -08:00
decimal.h merge 2012-04-05 23:07:18 +02:00
errmsg.h pluggable auth with plugin examples 2010-03-29 17:13:53 +02:00
ft_global.h Merge with MySQL 5.1.57/58 2011-05-02 20:58:45 +03:00
hash.h Initail merge with MySQL 5.1 (XtraDB still needs to be merged) 2011-11-21 19:13:14 +02:00
heap.h Updated/added copyright headers 2012-02-15 17:13:47 +01:00
help_end.h
help_start.h
keycache.h Fixed LP bug #1008293. 2012-06-11 22:12:47 -07:00
lf.h post-review fixes 2009-01-15 22:27:36 +01:00
m_ctype.h merge 2012-04-05 23:07:18 +02:00
m_string.h Merge from 5.2. 2012-08-24 15:39:34 +02:00
ma_dyncol.h portability fix: avoid anonymous structs and unions in C 2011-09-22 11:04:00 +02:00
Makefile.am MDEV-207 Install headers required to build external storage plugins 2012-04-23 09:45:27 +02:00
maria.h MDEV-207 Install headers required to build external storage plugins 2012-04-23 09:45:27 +02:00
my_aes.h
my_alarm.h Initail merge with MySQL 5.1 (XtraDB still needs to be merged) 2011-11-21 19:13:14 +02:00
my_alloc.h Merged 5.1 with maria 5.1 2008-10-10 18:28:41 +03:00
my_atomic.h Bug#22320: my_atomic-t unit test fails 2010-07-05 09:00:39 -03:00
my_attribute.h merge with 5.1 2010-11-30 23:11:03 +02:00
my_base.h 5.2 merge 2012-05-20 14:57:29 +02:00
my_bit.h Updated/added copyright headers 2011-07-03 17:47:37 +02:00
my_bitmap.h Merge with 5.2. 2011-12-11 11:34:44 +02:00
my_compare.h Merge. 2011-06-01 20:49:37 -07:00
my_compiler.h Merge with MySQL 5.1.55 2011-02-20 18:51:43 +02:00
my_dbug.h Initail merge with MySQL 5.1 (XtraDB still needs to be merged) 2011-11-21 19:13:14 +02:00
my_decimal_limits.h Merge with 5.2. 2011-12-11 11:34:44 +02:00
my_dir.h Backport Fix for Bug#24509 - 2048 file descriptor limit on windows needs increasing. 2011-06-12 15:52:07 +02:00
my_getopt.h merge with MySQL 5.1.65 2012-08-22 11:40:39 +02:00
my_global.h merge 2012-03-21 19:15:29 +01:00
my_handler.h Downported InnoDB support of Index Condition Pushdown from MySQL-5.6 code line. 2011-05-25 16:01:56 -07:00
my_libwrap.h
my_list.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
my_md5.h Bug #42434: license of mysys MD5 implementation is not GPL-compatible 2009-03-09 20:57:03 +02:00
my_net.h
my_no_pthread.h Merge with MariaDB 5.1 2011-11-24 18:48:58 +02:00
my_nosys.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
my_pthread.h merge Windows performance patches into 5.3 2011-07-05 21:46:53 +02:00
my_stacktrace.h restore my_safe_printf_stderr for "crash-safe sigsegv handler" 2012-03-14 21:16:24 +01:00
my_sys.h MDEV-381: fdatasync() does not correctly flush growing binlog file. 2012-08-30 10:53:49 +02:00
my_time.h Merge with 5.2. 2011-12-11 11:34:44 +02:00
my_tree.h Addressed the feedback from the review of Monty on the cumulative patch for 2010-12-19 00:44:39 -08:00
my_trie.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
my_uctype.h
my_user.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
my_valgrind.h Merge with MySQL 5.1.49 2010-08-02 12:01:24 +03:00
my_vle.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
my_xml.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
myisam.h Merge with 5.2. 2011-12-11 11:34:44 +02:00
myisamchk.h Merge with 5.2 2011-09-10 18:01:27 +03:00
myisammrg.h Updated/added copyright headers 2011-06-30 17:37:13 +02:00
myisampack.h Injecting more "const" declarations into code which does not change 2008-04-03 15:40:25 +02:00
mysql.h Merge with 5.2. 2011-12-11 11:34:44 +02:00
mysql.h.pp 5.2->5.3 merge 2011-12-12 13:00:33 +01:00
mysql_com.h 5.2->5.3 merge 2011-12-12 13:00:33 +01:00
mysql_embed.h Initail merge with MySQL 5.1 (XtraDB still needs to be merged) 2011-11-21 19:13:14 +02:00
mysql_time.h
mysql_version.h.in Added mariadb and mariadb-version as my.conf option tags 2009-03-18 04:14:22 +02:00
mysys_err.h Initail merge with MySQL 5.1 (XtraDB still needs to be merged) 2011-11-21 19:13:14 +02:00
queues.h Fixed wrong queue_replace(), which caused timeout failure in pbxt.flush_read_lock_kill 2010-11-02 11:03:33 +02:00
rijndael.h
service_versions.h Added progress reporting for alter table, LOAD DATA INFILE and for aria tables: check table, repair table, analyze table. 2011-07-01 15:08:30 +03:00
sha1.h Bug #56428: Replace copyright notice removed from SHA1 code (.h) 2010-10-05 17:05:37 +03:00
sql_common.h 5.2 merge. 2012-08-22 16:45:25 +02:00
sslopt-case.h
sslopt-longopts.h Initail merge with MySQL 5.1 (XtraDB still needs to be merged) 2011-11-21 19:13:14 +02:00
sslopt-vars.h
t_ctype.h
thr_alarm.h Implementation of MWL#172: Add support for prepared statements to HANDLER READ 2011-01-04 00:55:41 +02:00
thr_lock.h Merge with 5.2. 2011-12-11 11:34:44 +02:00
typelib.h Fix LPBUG#808233 - undefined uint in typelib.h 2011-07-10 12:48:13 +02:00
violite.h merge with mysql-5.1.63 2012-05-17 12:12:33 +02:00
waiting_threads.h compilation fixes 2009-01-19 16:27:49 +01:00
welcome_copyright_notice.h Initail merge with MySQL 5.1 (XtraDB still needs to be merged) 2011-11-21 19:13:14 +02:00
wqueue.h Locking for read and write made waiting for each other (with loose 2008-02-22 22:32:34 +02:00