mirror of
https://github.com/MariaDB/server.git
synced 2025-12-03 05:41:09 +03:00
Remove end . from error messages to get them consistent
Fixed a few failing tests
This commit is contained in:
@@ -122,19 +122,19 @@ begin
|
||||
alter table t1 add k int;
|
||||
return 1;
|
||||
end|
|
||||
ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger.
|
||||
ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger
|
||||
create function bug10015_7() returns int
|
||||
begin
|
||||
start transaction;
|
||||
return 1;
|
||||
end|
|
||||
ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger.
|
||||
ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger
|
||||
create function bug10015_7() returns int
|
||||
begin
|
||||
drop table t1;
|
||||
return 1;
|
||||
end|
|
||||
ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger.
|
||||
ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger
|
||||
create function bug10015_7() returns int
|
||||
begin
|
||||
drop temporary table t1;
|
||||
@@ -146,7 +146,7 @@ begin
|
||||
commit;
|
||||
return 1;
|
||||
end|
|
||||
ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger.
|
||||
ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger
|
||||
create function bug10015_7() returns int
|
||||
begin
|
||||
call bug10015_8();
|
||||
@@ -154,11 +154,11 @@ return 1;
|
||||
end|
|
||||
create procedure bug10015_8() alter table t1 add k int|
|
||||
select *, bug10015_7() from t1|
|
||||
ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger.
|
||||
ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger
|
||||
drop procedure bug10015_8|
|
||||
create procedure bug10015_8() start transaction|
|
||||
select *, bug10015_7() from t1|
|
||||
ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger.
|
||||
ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger
|
||||
drop procedure bug10015_8|
|
||||
create procedure bug10015_8() drop temporary table if exists t1_temp|
|
||||
select *, bug10015_7() from t1|
|
||||
@@ -171,7 +171,7 @@ id bug10015_7()
|
||||
drop procedure bug10015_8|
|
||||
create procedure bug10015_8() commit|
|
||||
select *, bug10015_7() from t1|
|
||||
ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger.
|
||||
ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger
|
||||
drop procedure bug10015_8|
|
||||
drop function bug10015_7|
|
||||
drop table t1, t2|
|
||||
|
||||
Reference in New Issue
Block a user