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

@@ -43,6 +43,18 @@ begin
return NULL;
end~~
create function if not exists current_row(sys_trx_end varbinary(255))
returns int
deterministic
begin
if default_engine() = 'innodb' then
return sys_trx_end = 18446744073709551615;
elseif default_engine() = 'myisam' then
return sys_trx_end = timestamp'2038-01-19 03:14:07.999999';
end if;
return NULL;
end~~
create function if not exists sys_commit_ts(sys_field varchar(255))
returns varchar(255)
deterministic