diff options
author | unknown <dkatz@damien-katzs-computer.local> | 2007-12-14 18:27:40 -0500 |
---|---|---|
committer | unknown <dkatz@damien-katzs-computer.local> | 2007-12-14 18:27:40 -0500 |
commit | 667752797234b38388e05ab26a40466c56d272dd (patch) | |
tree | 61a4bfaa303447a12e9340e3046fda0db97e9bd7 /mysql-test/t/status.test | |
parent | b9b385014048c9bad563f1fbf952e716b3d1e6e0 (diff) | |
download | mariadb-git-667752797234b38388e05ab26a40466c56d272dd.tar.gz |
Bug #30252 Com_create_function is not incremented.
Added Com_create_spfunction and all other commands previously missing to the global status variables.
Diffstat (limited to 'mysql-test/t/status.test')
-rw-r--r-- | mysql-test/t/status.test | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/mysql-test/t/status.test b/mysql-test/t/status.test index 6a11791924a..25bf2a6ee61 100644 --- a/mysql-test/t/status.test +++ b/mysql-test/t/status.test @@ -242,4 +242,23 @@ let $tmp_table2 = `show global status like 'Created_tmp_tables'`; eval select substring_index('$rnd_next2',0x9,-1)-substring_index('$rnd_next',0x9,-1) as rnd_diff, substring_index('$tmp_table2',0x9,-1)-substring_index('$tmp_table',0x9,-1) as tmp_table_diff; --enable_query_log +# +# Bug#30252 Com_create_function is not incremented. +# +show global status like 'Com%function%'; + +DELIMITER //; +create function f1 (x INTEGER) returns integer + begin + declare ret integer; + set ret = x * 10; + return ret; + end // +DELIMITER ;// + +drop function f1; + +show global status like 'Com%function%'; + + # End of 5.1 tests |