mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
fixed printing of stored procedure functions names (BUG#5149)
This commit is contained in:
@@ -1166,3 +1166,13 @@ Table Create Table
|
||||
v3 CREATE VIEW `test`.`v3` AS select `v1`.`col1` AS `a`,`v2`.`col1` AS `b` from `test`.`v1` join `test`.`v2` where (`v1`.`col1` = `v2`.`col1`)
|
||||
drop view v3, v2, v1;
|
||||
drop table t2, t1;
|
||||
create function `f``1` () returns int return 5;
|
||||
create view v1 as select test.`f``1` ();
|
||||
show create view v1;
|
||||
Table Create Table
|
||||
v1 CREATE VIEW `test`.`v1` AS select `test`.`f``1`() AS `test.``f````1`` ()`
|
||||
select * from v1;
|
||||
test.`f``1` ()
|
||||
5
|
||||
drop view v1;
|
||||
drop function `f``1`;
|
||||
|
@@ -1106,3 +1106,13 @@ select * from v3;
|
||||
show create view v3;
|
||||
drop view v3, v2, v1;
|
||||
drop table t2, t1;
|
||||
|
||||
#
|
||||
# VIEW based on functions with complex names
|
||||
#
|
||||
create function `f``1` () returns int return 5;
|
||||
create view v1 as select test.`f``1` ();
|
||||
show create view v1;
|
||||
select * from v1;
|
||||
drop view v1;
|
||||
drop function `f``1`;
|
||||
|
Reference in New Issue
Block a user