summaryrefslogtreecommitdiff
path: root/mysql-test/r
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-10-31 18:27:49 +0200
committermonty@hundin.mysql.fi <>2001-10-31 18:27:49 +0200
commitd89690e606d38e5b0f1d82117cd26a5264325088 (patch)
tree603547f133fd6eaa7de511aeb171eb8224e0d208 /mysql-test/r
parentc9e4b2aab32a5d27336a4a2595ee20b3c4ff019d (diff)
downloadmariadb-git-d89690e606d38e5b0f1d82117cd26a5264325088.tar.gz
Portability fixes
Fix for consistent 0000-00-00 date handling Close + open binary logs on flush tables Fix for AVG() in HAVING.
Diffstat (limited to 'mysql-test/r')
-rw-r--r--mysql-test/r/func_time.result18
-rw-r--r--mysql-test/r/having.result2
2 files changed, 20 insertions, 0 deletions
diff --git a/mysql-test/r/func_time.result b/mysql-test/r/func_time.result
index 790cce9f1c1..e2e86723e31 100644
--- a/mysql-test/r/func_time.result
+++ b/mysql-test/r/func_time.result
@@ -200,3 +200,21 @@ month(updated)
NULL
year(updated)
NULL
+dayofyear("0000-00-00") dayofyear(d) dayofyear(dt) dayofyear(t) dayofyear(c)
+NULL NULL NULL NULL NULL
+dayofmonth("0000-00-00") dayofmonth(d) dayofmonth(dt) dayofmonth(t) dayofmonth(c)
+0 0 0 0 0
+month("0000-00-00") month(d) month(dt) month(t) month(c)
+0 0 0 0 0
+quarter("0000-00-00") quarter(d) quarter(dt) quarter(t) quarter(c)
+0 0 0 0 0
+week("0000-00-00") week(d) week(dt) week(t) week(c)
+NULL NULL NULL NULL NULL
+year("0000-00-00") year(d) year(dt) year(t) year(c)
+0 0 0 0 0
+yearweek("0000-00-00") yearweek(d) yearweek(dt) yearweek(t) yearweek(c)
+NULL NULL NULL NULL NULL
+to_days("0000-00-00") to_days(d) to_days(dt) to_days(t) to_days(c)
+NULL NULL NULL NULL NULL
+extract(MONTH FROM "0000-00-00") extract(MONTH FROM d) extract(MONTH FROM dt) extract(MONTH FROM t) extract(MONTH FROM c)
+0 0 0 0 0
diff --git a/mysql-test/r/having.result b/mysql-test/r/having.result
index cbd3fbfff4e..69943c505f0 100644
--- a/mysql-test/r/having.result
+++ b/mysql-test/r/having.result
@@ -2,3 +2,5 @@ b
b
b
0
+id start end chr_strand
+133197 813898 813898 -1.0000