Hello.
If database exported with "Add DROP TABLE / VIEW / PROCEDURE / FUNCTION" switch checked, then code generated in 'Procedures' section is:
DROP PROCEDURE `myproc`$$
CREATE DEFINER=`root`@`localhost` PROCEDURE `myproc`(...)
BEGIN
...
END$$
This causing a problem with importing this sql in databases where procedure 'myproc' is not defined.
I think you should change 'DROP PROCEDURE `myproc`$$' to 'DROP PROCEDURE IF EXISTS `myproc`$$'. As with tables and views.
Best regards,
Anton.
Logged In: YES
user_id=210714
Originator: NO
Fixed. Tables and views were already OK, unless you can provide me with a test case.
Logged In: YES
user_id=1649776
Originator: YES
Tables and views were OK. I just wanted stored procs to be OK like tables and views. That's what I mean.