mariadb/include
Alexey Kopytov 0e62c9aa63 Fix for bug #15936: "round" differs on Windows to Unix
Both of our own implementations of rint(3) were inconsistent with the
most common behavior of rint() on those platforms that have it: round
to nearest, break ties by rounding to nearest even.

Fixed by leaving just one implementation of rint() in our source tree,
and changing its behavior to match the most common native
implementations on other platforms.

configure.in:
  Added checks for fenv.h and fesetround().
include/config-win.h:
  Removed the incorrect implementation of rint() for Windows.
include/my_global.h:
  Added an rint() implementation for platforms that do not have it.
mysql-test/r/func_math.result:
  Added a test case for bug #15936.
mysql-test/t/func_math.test:
  Added a test case for bug #15936.
sql/mysqld.cc:
  Explicitly set the FPU rounding mode with fesetround().
2009-02-23 14:28:26 +02:00
..
.cvsignore
base64.h
config-netware.h
config-os2.h
config-win.h Fix for bug #15936: "round" differs on Windows to Unix 2009-02-23 14:28:26 +02:00
decimal.h Bug #27957 cast as decimal does not check overflow, also inconsistent with group, subselect 2007-05-09 17:27:14 +05:00
errmsg.h
ft_global.h
hash.h
heap.h
help_end.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
help_start.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
keycache.h Backport of the keycache changes from http://lists.mysql.com/commits/31517 to make keycache 64-bit safe in 5.0. This is for bug #5731. 2007-08-29 20:45:04 +04:00
m_ctype.h Bug#37575 UCASE fails on monthname 2008-12-23 18:08:04 +04:00
m_string.h Bug#31177: Server variables can't be set to their current values 2007-11-30 06:32:04 +01:00
Makefile.am Generate "config.h" directly into the "include" directory, later copied 2007-07-30 21:09:45 +02:00
my_aes.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
my_alarm.h
my_alloc.h
my_attribute.h Bug#25118 ATTRIBUTE_FORMAT_FPTR undeclared in m_ctype.h 2007-04-12 00:43:25 +02:00
my_base.h Fix for bug #31137: Assertion failed: primary_key_no == -1 || primary_key_no == 0, 2007-10-26 15:37:38 +05:00
my_bitmap.h
my_dbug.h Bug#26243 mysql command line crash after control-c 2008-03-28 14:02:27 -04:00
my_dir.h
my_getopt.h Bug#31177: Server variables can't be set to their current values 2007-11-30 06:32:04 +01:00
my_global.h Fix for bug #15936: "round" differs on Windows to Unix 2009-02-23 14:28:26 +02:00
my_handler.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
my_libwrap.h
my_list.h
my_md5.h Avoid the name conflict between the system-provided "md5.h" and the MySQL one 2007-07-19 14:14:03 +02:00
my_net.h
my_no_pthread.h
my_nosys.h
my_pthread.h Bug#30960 processlist state '*** DEAD ***' on recent 5.0.48 windows builds 2008-03-19 15:01:03 -03:00
my_sys.h Bug#32167 another privilege bypass with DATA/INDEX DIRECTORY. 2008-08-22 17:31:53 +05:00
my_time.h Bug#26294: library name conflict between MySQL 4.x, 5.0 and Qt 3.3 2008-04-03 11:32:00 -04:00
my_tree.h
my_user.h
my_xml.h
myisam.h Bug#32167 another privilege bypass with DATA/INDEX DIRECTORY. 2008-08-22 17:31:53 +05:00
myisammrg.h
myisampack.h
mysql.h Bug#29592 SQL Injection issue 2007-11-26 14:09:37 -02:00
mysql_com.h Merge mysql.com:/home/hf/work/mrg/my41-mrg 2007-11-30 22:29:34 +04:00
mysql_embed.h
mysql_h.ic Bug#29592 SQL Injection issue 2007-11-26 14:09:37 -02:00
mysql_time.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mysql_version.h.in Bug #15327: configure: --with-tcp-port option being partially ignored 2007-09-13 16:19:46 +02:00
mysys_err.h
queues.h
raid.h Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1-main 2007-03-28 20:46:42 +03:00
rijndael.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
sha1.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
sql_common.h Bug #25097 mysql_server_init fails silently if no errmsg.sys is present. 2008-02-27 12:42:43 +04:00
sslopt-case.h
sslopt-longopts.h
sslopt-vars.h
t_ctype.h
thr_alarm.h Merge chilla.local:/home/mydev/mysql-4.1-axmrg 2007-02-02 10:03:22 +01:00
thr_lock.h Bug #26162: Trigger DML ignores low_priority_updates setting 2007-06-03 09:40:00 +03:00
typelib.h Merge siva.hindu.god:/usr/home/tim/m/bk/g50 2006-12-26 22:28:28 -07:00
violite.h follow-up fix 2007-06-15 11:28:15 +02:00