1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

SQL,IB: REPLACE semantics [#365 bug 8]

This commit is contained in:
Aleksey Midenkov
2017-12-04 12:36:07 +03:00
parent f489865558
commit 56adced376
14 changed files with 135 additions and 34 deletions

View File

@@ -0,0 +1,10 @@
call create_table('t', 'x int');
insert t values (1, 2);
replace t values (1, 3);
select *, current_row(sys_trx_end) as current from t for system_time all
order by x;
id x current
1 2 0
1 3 1
drop database test;
create database test;