summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_time.test
diff options
context:
space:
mode:
authormonty@mysql.com <>2005-01-04 13:46:53 +0200
committermonty@mysql.com <>2005-01-04 13:46:53 +0200
commit7cf8285b3f7ce0f6d85c3d747bd266697a576dbe (patch)
treed360ddc93c589f0b29af048f743def5cd7593d6c /mysql-test/t/func_time.test
parent3c6d5e43f9bf677fa131295b3e203708ce4861ce (diff)
downloadmariadb-git-7cf8285b3f7ce0f6d85c3d747bd266697a576dbe.tar.gz
After merge fixes
Add support for warnings for prepare of prepared statements Fixed test to work with --ps-protocol Fixed some test results
Diffstat (limited to 'mysql-test/t/func_time.test')
-rw-r--r--mysql-test/t/func_time.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/t/func_time.test b/mysql-test/t/func_time.test
index a3da2f5d21d..80ddb205110 100644
--- a/mysql-test/t/func_time.test
+++ b/mysql-test/t/func_time.test
@@ -271,7 +271,10 @@ select date_add(date,INTERVAL "1" QUARTER) from t1;
select timestampadd(MINUTE, 1, date) from t1;
select timestampadd(WEEK, 1, date) from t1;
select timestampadd(SQL_TSI_SECOND, 1, date) from t1;
+# Prepared statements doesn't support FRAC_SECOND yet
+--disable_ps_protocol
select timestampadd(SQL_TSI_FRAC_SECOND, 1, date) from t1;
+--enable_ps_protocol
select timestampdiff(MONTH, '2001-02-01', '2001-05-01') as a;
select timestampdiff(YEAR, '2002-05-01', '2001-01-01') as a;