Commit 7dcf1b50 authored by Sergei Golubchik's avatar Sergei Golubchik

dead code in versioning/common.inc

parent 35678c95
......@@ -22,18 +22,6 @@ begin
from mysql.transaction_registry;
end~~
create function if not exists sys_commit_ts(sys_field varchar(255))
returns varchar(255)
deterministic
begin
if @@default_storage_engine = 'InnoDB' then
return concat('vtq_commit_ts(', sys_field, ')');
elseif @@default_storage_engine = 'MyISAM' then
return sys_field;
end if;
return NULL;
end~~
create procedure if not exists verify_vtq_dummy(recs int)
begin
declare i int default 1;
......@@ -46,19 +34,6 @@ begin
drop table tmp;
end~~
create procedure concat_exec2(a varchar(255), b varchar(255))
begin
prepare stmt from concat(a, b);
execute stmt;
deallocate prepare stmt;
end~~
create procedure concat_exec3(a varchar(255), b varchar(255), c varchar(255))
begin
prepare stmt from concat(a, b, c);
execute stmt;
deallocate prepare stmt;
end~~
delimiter ;~~
let $default_engine= `select @@default_storage_engine`;
......
--disable_query_log
drop procedure verify_vtq;
drop procedure verify_vtq_dummy;
drop function sys_commit_ts;
drop procedure concat_exec2;
drop procedure concat_exec3;
drop function current_row;
drop function check_row;
--enable_query_log
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment