Skip to content

A debugger to MySQL procedure and functions. RAISE NOTICE '???'

License

Notifications You must be signed in to change notification settings

willyrgf/mysql_pr_fn_debugger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mysql_pr_fn_debugger

A debugger to MySQL procedure and functions. RAISE NOTICE '???'

Installing

mysql -uroot -proot < mysql_pr_fn_debugger.sql

Example call log

create procedure run_parallel(
  in cores int
) 
begin
    call debug._log('run_parallel', concat('cores: ', cores));
    call debug._xlog(concat('without identified, cores: ', cores));
end;
call run_parallel(8);

Example show logs

call debug._show();

#	proc_id             debug_text                      created_at
1	run_parallel        "cores: 8"                      2020-05-21 16:42:19.0
2	proc_id_undefined   "without identified, cores: 8"  2020-05-21 16:42:19.0

Example cleanup logs

call debug._cleanup();
call debug._show();

#	proc_id	debug_text	created_at

Releases

No releases published

Packages

No packages published

Languages