maria-developers team mailing list archive
-
maria-developers team
-
Mailing list archive
-
Message #02903
[Branch ~maria-captains/maria/5.1] Rev 2843: Fixed syntax error and some timeing issues in test suite
------------------------------------------------------------
revno: 2843
committer: Michael Widenius <monty@xxxxxxxxxxxx>
branch nick: maria-5.1
timestamp: Thu 2010-04-08 12:47:31 +0300
message:
Fixed syntax error and some timeing issues in test suite
modified:
mysql-test/r/func_time.result
mysql-test/t/func_time.test
storage/maria/ma_loghandler.c
--
lp:maria
https://code.launchpad.net/~maria-captains/maria/5.1
Your team Maria developers is subscribed to branch lp:maria.
To unsubscribe from this branch go to https://code.launchpad.net/~maria-captains/maria/5.1/+edit-subscription
=== modified file 'mysql-test/r/func_time.result'
--- mysql-test/r/func_time.result 2010-01-21 08:10:05 +0000
+++ mysql-test/r/func_time.result 2010-04-08 09:47:31 +0000
@@ -1120,7 +1120,7 @@
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
=== modified file 'mysql-test/t/func_time.test'
--- mysql-test/t/func_time.test 2009-01-23 12:22:05 +0000
+++ mysql-test/t/func_time.test 2010-04-08 09:47:31 +0000
@@ -650,7 +650,7 @@
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;
drop table t1;
=== modified file 'storage/maria/ma_loghandler.c'
--- storage/maria/ma_loghandler.c 2010-03-30 12:36:49 +0000
+++ storage/maria/ma_loghandler.c 2010-04-08 09:47:31 +0000
@@ -1211,9 +1211,10 @@
for (file= from_file; file <= to_file; file++)
{
LOGHANDLER_FILE_INFO info;
+ File fd;
LINT_INIT(info.max_lsn);
- File fd= open_logfile_by_number_no_cache(file);
+ fd= open_logfile_by_number_no_cache(file);
if ((fd < 0) ||
((translog_read_file_header(&info, fd) ||
(cmp_translog_addr(lsn, info.max_lsn) > 0 &&