summaryrefslogtreecommitdiff
path: root/mysql-test/r/func_time.result
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2011-03-17 22:38:34 +0100
committerSergei Golubchik <sergii@pisem.net>2011-03-17 22:38:34 +0100
commit1a963822c80ada2ea82a8a07c09870070fb6a820 (patch)
tree1914659dc134031e8416702fc9ae6f83f2811e48 /mysql-test/r/func_time.result
parent684405e74126c81545f62338322d40b8f2975ca4 (diff)
downloadmariadb-git-1a963822c80ada2ea82a8a07c09870070fb6a820.tar.gz
lp:737104 Crash in DTCollation::set in 5.1-micro
and a different fix for lp:736370 cache temporal expression in Item_cache_int, not in Item_string. invoke get_datetime_value() to create a correct Item_cache_int. Implement Item_cache_int::clone, as it's a proper constant
Diffstat (limited to 'mysql-test/r/func_time.result')
-rw-r--r--mysql-test/r/func_time.result4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/r/func_time.result b/mysql-test/r/func_time.result
index 94bca821504..67d14ee1c07 100644
--- a/mysql-test/r/func_time.result
+++ b/mysql-test/r/func_time.result
@@ -1497,3 +1497,7 @@ drop table t1;
select now() > coalesce(time('21:43:24'), date('2010-05-03'));
now() > coalesce(time('21:43:24'), date('2010-05-03'))
1
+create table t1 (f1 timestamp);
+select * from t1 where f1 > f1 and f1 <=> timestampadd(hour, 9 , '2010-01-01 16:55:35');
+f1
+drop table t1;