{"action":"created","issue":{"url":"https://api.github.com/repos/serge-rider/dbeaver/issues/219","repository_url":"https://api.github.com/repos/serge-rider/dbeaver","labels_url":"https://api.github.com/repos/serge-rider/dbeaver/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/serge-rider/dbeaver/issues/219/comments","events_url":"https://api.github.com/repos/serge-rider/dbeaver/issues/219/events","html_url":"https://github.com/serge-rider/dbeaver/issues/219","id":135688559,"number":219,"title":"Drop function in MySQL fails","user":{"login":"raqua","id":1541886,"avatar_url":"https://avatars.githubusercontent.com/u/1541886?v=3","gravatar_id":"","url":"https://api.github.com/users/raqua","html_url":"https://github.com/raqua","followers_url":"https://api.github.com/users/raqua/followers","following_url":"https://api.github.com/users/raqua/following{/other_user}","gists_url":"https://api.github.com/users/raqua/gists{/gist_id}","starred_url":"https://api.github.com/users/raqua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raqua/subscriptions","organizations_url":"https://api.github.com/users/raqua/orgs","repos_url":"https://api.github.com/users/raqua/repos","events_url":"https://api.github.com/users/raqua/events{/privacy}","received_events_url":"https://api.github.com/users/raqua/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/serge-rider/dbeaver/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"serge-rider","id":6398845,"avatar_url":"https://avatars.githubusercontent.com/u/6398845?v=3","gravatar_id":"","url":"https://api.github.com/users/serge-rider","html_url":"https://github.com/serge-rider","followers_url":"https://api.github.com/users/serge-rider/followers","following_url":"https://api.github.com/users/serge-rider/following{/other_user}","gists_url":"https://api.github.com/users/serge-rider/gists{/gist_id}","starred_url":"https://api.github.com/users/serge-rider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serge-rider/subscriptions","organizations_url":"https://api.github.com/users/serge-rider/orgs","repos_url":"https://api.github.com/users/serge-rider/repos","events_url":"https://api.github.com/users/serge-rider/events{/privacy}","received_events_url":"https://api.github.com/users/serge-rider/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/serge-rider/dbeaver/milestones/9","html_url":"https://github.com/serge-rider/dbeaver/milestones/3.6.1","labels_url":"https://api.github.com/repos/serge-rider/dbeaver/milestones/9/labels","id":1478668,"number":9,"title":"3.6.1","description":"","creator":{"login":"serge-rider","id":6398845,"avatar_url":"https://avatars.githubusercontent.com/u/6398845?v=3","gravatar_id":"","url":"https://api.github.com/users/serge-rider","html_url":"https://github.com/serge-rider","followers_url":"https://api.github.com/users/serge-rider/followers","following_url":"https://api.github.com/users/serge-rider/following{/other_user}","gists_url":"https://api.github.com/users/serge-rider/gists{/gist_id}","starred_url":"https://api.github.com/users/serge-rider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serge-rider/subscriptions","organizations_url":"https://api.github.com/users/serge-rider/orgs","repos_url":"https://api.github.com/users/serge-rider/repos","events_url":"https://api.github.com/users/serge-rider/events{/privacy}","received_events_url":"https://api.github.com/users/serge-rider/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":2,"state":"open","created_at":"2015-12-30T23:27:30Z","updated_at":"2016-02-23T12:27:13Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-02-23T09:52:37Z","updated_at":"2016-02-23T12:27:21Z","closed_at":null,"body":"When I attempt to delete function in MySQL, the actual code generated says \"drop procedure\", which obviously fails. \r\nDbeaver 3.6.0"},"comment":{"url":"https://api.github.com/repos/serge-rider/dbeaver/issues/comments/187680258","html_url":"https://github.com/serge-rider/dbeaver/issues/219#issuecomment-187680258","issue_url":"https://api.github.com/repos/serge-rider/dbeaver/issues/219","id":187680258,"user":{"login":"carlosjrcabello","id":637767,"avatar_url":"https://avatars.githubusercontent.com/u/637767?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosjrcabello","html_url":"https://github.com/carlosjrcabello","followers_url":"https://api.github.com/users/carlosjrcabello/followers","following_url":"https://api.github.com/users/carlosjrcabello/following{/other_user}","gists_url":"https://api.github.com/users/carlosjrcabello/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosjrcabello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosjrcabello/subscriptions","organizations_url":"https://api.github.com/users/carlosjrcabello/orgs","repos_url":"https://api.github.com/users/carlosjrcabello/repos","events_url":"https://api.github.com/users/carlosjrcabello/events{/privacy}","received_events_url":"https://api.github.com/users/carlosjrcabello/received_events","type":"User","site_admin":false},"created_at":"2016-02-23T12:27:21Z","updated_at":"2016-02-23T12:27:21Z","body":"Hi there,\r\n\r\nHere at **3.6.0** version, using a directly command to drop it, it works as bellow:\r\n\r\n`drop function if exists `mask_phone`;`\r\n\r\nIf you're using statements delimiters, I believe that doesn't works, this one for instance:\r\n\r\n```\r\nDELIMITER $$\r\n\r\nDROP FUNCTION IF EXISTS `mask_fone` $$\r\n\r\nDELIMITER ;\r\n```\r\n\r\nRunning on Windows 10 64 bits and MySQL 5.6.25\r\n\r\n\r\n"}}