summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <holyfoot@deer.(none)>2005-12-19 14:21:42 +0400
committerunknown <holyfoot@deer.(none)>2005-12-19 14:21:42 +0400
commit2c29ced92859413585cb4cebc85b69bba408940d (patch)
treea70fe9942417794cf7a0ab26bf765ca231aa9eda
parent5da2f8439ef5b0788d01805f7d9c0cda48d9855d (diff)
downloadmariadb-git-2c29ced92859413585cb4cebc85b69bba408940d.tar.gz
bug #15429 (Test 'func_math' not prepared for 'classic' build)
mysql-test/t/func_math.test: warnings disabled on CREATE TABLE INNODB
-rw-r--r--mysql-test/t/func_math.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/t/func_math.test b/mysql-test/t/func_math.test
index a8f62e38e86..c22c09ab62b 100644
--- a/mysql-test/t/func_math.test
+++ b/mysql-test/t/func_math.test
@@ -91,7 +91,9 @@ drop table t1;
#
# InnoDB is required to reproduce the fault, but it is okay if we default to
# MyISAM when testing.
+--disable_warnings
create table t1 (a varchar(90), ts datetime not null, index (a)) engine=innodb default charset=utf8;
+--enable_warnings
insert into t1 values ('http://www.foo.com/', now());
select a from t1 where a='http://www.foo.com/' order by abs(timediff(ts, 0));
drop table t1;