summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortim@threads.polyesthetic.msg <>2001-04-05 15:25:39 -0400
committertim@threads.polyesthetic.msg <>2001-04-05 15:25:39 -0400
commit6d1ebdd656e855c2ba5f0275001f9ebc1fe6d64f (patch)
tree65a20165f805af845527125d8ca46059a5a9eed7
parent3dec2b5c98982d99b01979ee5969af4017bc5b39 (diff)
parent252ab34892dcf59a5befa4708e393680cd7063c9 (diff)
downloadmariadb-git-6d1ebdd656e855c2ba5f0275001f9ebc1fe6d64f.tar.gz
Merge
-rw-r--r--BitKeeper/etc/logging_ok3
-rw-r--r--Docs/manual.texi7
2 files changed, 9 insertions, 1 deletions
diff --git a/BitKeeper/etc/logging_ok b/BitKeeper/etc/logging_ok
index e51284aa7a8..4367078ef80 100644
--- a/BitKeeper/etc/logging_ok
+++ b/BitKeeper/etc/logging_ok
@@ -1,3 +1,4 @@
heikki@donna.mysql.fi
-sasha@mysql.sashanet.com
jcole@abel.spaceapes.com
+sasha@mysql.sashanet.com
+tim@threads.polyesthetic.msg
diff --git a/Docs/manual.texi b/Docs/manual.texi
index 9d6330c2342..03795f3e2ca 100644
--- a/Docs/manual.texi
+++ b/Docs/manual.texi
@@ -16529,6 +16529,13 @@ mysql> select ROUND(1.58);
-> 2
@end example
+Note that the behavior of @code{ROUND()} when the argument
+is half way between two integers depends on the C library
+implementation. Some round to the nearest even number,
+always up, always down, or always towards zero. If you need
+one kind of rounding, you should use a well-defined function
+like @code{TRUNCATE()} or @code{FLOOR()} instead.
+
@findex ROUND()
@item ROUND(X,D)
Returns the argument @code{X}, rounded to a number with @code{D} decimals.