1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

rename system_time columns

sys_trx_start -> row_start
sys_trx_end -> row_end
This commit is contained in:
Sergei Golubchik
2018-01-08 18:03:55 +01:00
committed by Aleksey Midenkov
parent cf1e5bef59
commit b85efdc3af
32 changed files with 223 additions and 223 deletions

View File

@ -18,16 +18,16 @@ with system versioning;
select now() into @ts_0;
insert into dept (dept_id, name) values (10, "accounting");
commit;
select sys_trx_start into @ts_1 from dept where dept_id=10;
select row_start into @ts_1 from dept where dept_id=10;
insert into emp (emp_id, name, salary, dept_id) values (1, "bill", 1000, 10);
commit;
select sys_trx_start into @ts_2 from emp where name="bill";
select row_start into @ts_2 from emp where name="bill";
select * from emp;
emp_id dept_id name salary
1 10 bill 1000
update emp set salary=2000 where name="bill";
commit;
select sys_trx_start into @ts_3 from emp where name="bill";
select row_start into @ts_3 from emp where name="bill";
select * from emp;
emp_id dept_id name salary
1 10 bill 2000