1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +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

@ -23,19 +23,19 @@ 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;
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;
select * from emp for system_time as of timestamp @ts_2;