bug #15429 (Test 'func_math' not prepared for 'classic' build)
mysql-test/t/func_math.test: warnings disabled on CREATE TABLE INNODB
This commit is contained in:
parent
5da2f8439e
commit
2c29ced928
@ -91,7 +91,9 @@ drop table t1;
|
|||||||
#
|
#
|
||||||
# InnoDB is required to reproduce the fault, but it is okay if we default to
|
# InnoDB is required to reproduce the fault, but it is okay if we default to
|
||||||
# MyISAM when testing.
|
# MyISAM when testing.
|
||||||
|
--disable_warnings
|
||||||
create table t1 (a varchar(90), ts datetime not null, index (a)) engine=innodb default charset=utf8;
|
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());
|
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));
|
select a from t1 where a='http://www.foo.com/' order by abs(timediff(ts, 0));
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user