blob: 962d9242675603d8306f5d151479bae05e7c8549 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#### suite/funcs_1/storedproc/storedproc_08_show.inc
#
# used from .../storedproc_08.inc to show all created / altered routines
let $message= ... now check what is stored:;
--source include/show_msg.inc
--vertical_results
#--replace_column 16 "YYYY-MM-DD hh:mm:ss" 17 "YYYY-MM-DD hh:mm:ss"
--replace_column 16 <modified> 17 <created>
SELECT * FROM information_schema.routines;
SHOW CREATE FUNCTION fn_1;
SHOW CREATE FUNCTION fn_2;
#SHOW CREATE FUNCTION fn_2b;
SHOW CREATE PROCEDURE sp_1;
SHOW CREATE PROCEDURE sp_2;
--replace_column 5 <modified> 6 <created>
SHOW FUNCTION STATUS LIKE 'fn_%';
--replace_column 5 <modified> 6 <created>
SHOW PROCEDURE STATUS LIKE 'sp_%';
--horizontal_results
|