diff --git a/mysql-test/suite/versioning/r/cte.result b/mysql-test/suite/versioning/r/cte.result index e3b6ba0876e..161255aeaa7 100644 --- a/mysql-test/suite/versioning/r/cte.result +++ b/mysql-test/suite/versioning/r/cte.result @@ -24,7 +24,7 @@ insert into emp (emp_id, name, salary, dept_id, mgr) values (1, "bill", 1000, 10, null), (20, "john", 500, 10, 1), (30, "jane", 750, 10,1 ); -select vtq_commit_ts(max(sys_trx_start + 0)) into @ts_1 from emp; +select vtq_commit_ts(max(sys_trx_start)) into @ts_1 from emp; update emp set mgr=30 where name ="john"; select vtq_commit_ts(sys_trx_start) into @ts_2 from emp where name="john"; /* All report to 'Bill' */ diff --git a/mysql-test/suite/versioning/t/cte.test b/mysql-test/suite/versioning/t/cte.test index 50680f2f375..7a35352f7c8 100644 --- a/mysql-test/suite/versioning/t/cte.test +++ b/mysql-test/suite/versioning/t/cte.test @@ -28,7 +28,7 @@ insert into emp (emp_id, name, salary, dept_id, mgr) values (20, "john", 500, 10, 1), (30, "jane", 750, 10,1 ); -select vtq_commit_ts(max(sys_trx_start + 0)) into @ts_1 from emp; +select vtq_commit_ts(max(sys_trx_start)) into @ts_1 from emp; update emp set mgr=30 where name ="john"; select vtq_commit_ts(sys_trx_start) into @ts_2 from emp where name="john";