This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When I edit a function listed under Services/Connection/Database/Procedures, the editor skips RETURN statement, so can't edit the stored function. E.g.: DELIMITER @@ DROP FUNCTION getUserHistoryName @@ CREATE FUNCTION buk_misi.getUserHistoryName (`id` INT(11),`datum` DATE, current_name VARCHAR(50)) BEGIN --- END @@ DELIMITER ; is displayed instead of DELIMITER @@ DROP FUNCTION getUserHistoryName @@ CREATE FUNCTION buk_misi.getUserHistoryName (`id` INT(11),`datum` DATE, current_name VARCHAR(50)) RETURNS VARCHAR(100) BEGIN --- END @@ DELIMITER ; It would be also nice, if the DROP FUNCTION were DROP FUNCTION IF EXISTS. Thanks, Mike
Fix: http://hg.netbeans.org/core-main/rev/4587f5174d93 This should solve your problems. Please verify. Thanks
Integrated into 'main-silver', will be available in build *201308212300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/4587f5174d93 User: Libor Fischmeistr <lfischmeistr@netbeans.org> Log: #234483: Mysql Function edit missing return
Thank you, compiling was too big bite for my home pc. I'm gonna test it as soon as I can.
(In reply to szigya from comment #3) > Thank you, compiling was too big bite for my home pc. I'm gonna test it as > soon as I can. It's available in daily build, so you don't need to compile it on your PC: http://bits.netbeans.org/download/trunk/nightly/latest/
I tested it, works well. Thank you! Mike
More specificly, I tried it last weekend :). Next time I will be wiser :). Thanks again.