1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fixed syntax error and some timeing issues in test suite

mysql-test/r/func_time.result:
  Updated result
mysql-test/t/func_time.test:
  sysdate() could be same even with one sleep(1) in between.
storage/maria/ma_loghandler.c:
  Fixed syntax error
This commit is contained in:
Michael Widenius
2010-04-08 12:47:31 +03:00
parent b34262264a
commit 04ff96f789
3 changed files with 4 additions and 3 deletions

View File

@ -1120,7 +1120,7 @@ drop function t_slow_sysdate;
drop table t1;
SET GLOBAL log_bin_trust_function_creators = 0;
create table t1 (a datetime, i int, b datetime);
insert into t1 select sysdate(), sleep(1), sysdate() from dual;
insert into t1 select sysdate(), sleep(2), sysdate() from dual;
select a != b from t1;
a != b
1