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

Tests: typo fix in cte.test

Related to c2c8808a16
This commit is contained in:
Aleksey Midenkov
2017-09-20 13:14:16 +03:00
parent 6c9b71d734
commit 11a9d8f7e3
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ insert into emp (emp_id, name, salary, dept_id, mgr) values
(1, "bill", 1000, 10, null), (1, "bill", 1000, 10, null),
(20, "john", 500, 10, 1), (20, "john", 500, 10, 1),
(30, "jane", 750, 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"; update emp set mgr=30 where name ="john";
select vtq_commit_ts(sys_trx_start) into @ts_2 from emp where name="john"; select vtq_commit_ts(sys_trx_start) into @ts_2 from emp where name="john";
/* All report to 'Bill' */ /* All report to 'Bill' */

View File

@ -28,7 +28,7 @@ insert into emp (emp_id, name, salary, dept_id, mgr) values
(20, "john", 500, 10, 1), (20, "john", 500, 10, 1),
(30, "jane", 750, 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"; update emp set mgr=30 where name ="john";
select vtq_commit_ts(sys_trx_start) into @ts_2 from emp where name="john"; select vtq_commit_ts(sys_trx_start) into @ts_2 from emp where name="john";