Type:
Bug
Priority:
Major
Resolution:
Fixed
Affects Version/s:
10.1(EOL) , 10.2(EOL) , 10.3(EOL) , 10.4(EOL) , 10.5
When an installed UDF can't be loaded at startup as its .so file can't be found anymore,, the error log will contain warnings about not being able to load the function
[ERROR] Can't open shared library 'udf_test.so' (errno: 0, cannot open shared object file: No such file or directory)
but the function can't be removed with DROP FUNCTION:
MariaDB [(none)]> drop function foo;
ERROR 1305 (42000): FUNCTION (UDF) foo does not exist
It can only be removed by deleting the related row in the mysql.func table directly with
DELETE FROM mysql.func WHERE name='...'
It should be able to remove a function with DROP even if it couldn't initialize for whatever reason, including missing .so file
split from
MDEV-21258
Can't uninstall plugin if the library file doesn't exist
Closed
Oleksandr Byelkin
made changes -
2020-07-29 11:27
Assignee
Oleksandr Byelkin
[ sanja
]
Oleksandr Byelkin
made changes -
2020-07-29 19:56
Fix Version/s
10.2
[ 14601
]
Fix Version/s
10.3
[ 22126
]
Fix Version/s
10.4
[ 22408
]
Fix Version/s
10.5
[ 23123
]
Oleksandr Byelkin
made changes -
2020-07-29 19:56
Status
Open
[ 1
]
In Progress
[ 3
]
Oleksandr Byelkin
made changes -
2020-07-29 19:56
Status
In Progress
[ 3
]
Stalled
[ 10000
]
Oleksandr Byelkin
made changes -
2020-07-29 19:56
Assignee
Oleksandr Byelkin
[ sanja
]
Sergei Golubchik
[ serg
]
Status
Stalled
[ 10000
]
In Review
[ 10002
]
Sergei Golubchik
made changes -
2020-10-10 14:00
Description
When an installed UDF can't be loaded at startup as its .so file can't be found anymore,, the error log will contain warnings about not being able to load the function
{{[ERROR] Can't open shared library 'udf_test.so' (errno: 0, cannot open shared object file: No such file or directory)
}}
but the function can't be removed with DROP FUNCTION:
{noformat}
MariaDB [(none)]> drop function foo;
ERROR 1305 (42000): FUNCTION (UDF) foo does not exist
{noformat}
It can only be removed by deleting the related row in the mysql.func table directly with
{{DELETE FROM mysql.func WHERE name='...'}}
It should be able to remove a function with DROP even if it couldn't initialize for whatever reason, including missing .so file
When an installed UDF can't be loaded at startup as its .so file can't be found anymore,, the error log will contain warnings about not being able to load the function
[ERROR] Can't open shared library 'udf_test.so' (errno: 0, cannot open shared object file: No such file or directory)
but the function can't be removed with DROP FUNCTION:
{noformat}
MariaDB [(none)]> drop function foo;
ERROR 1305 (42000): FUNCTION (UDF) foo does not exist
{noformat}
It can only be removed by deleting the related row in the mysql.func table directly with
{{DELETE FROM mysql.func WHERE name='...'}}
It should be able to remove a function with DROP even if it couldn't initialize for whatever reason, including missing .so file
Sergei Golubchik
made changes -
2020-10-10 14:01
Description
When an installed UDF can't be loaded at startup as its .so file can't be found anymore,, the error log will contain warnings about not being able to load the function
[ERROR] Can't open shared library 'udf_test.so' (errno: 0, cannot open shared object file: No such file or directory)
but the function can't be removed with DROP FUNCTION:
{noformat}
MariaDB [(none)]> drop function foo;
ERROR 1305 (42000): FUNCTION (UDF) foo does not exist
{noformat}
It can only be removed by deleting the related row in the mysql.func table directly with
{{DELETE FROM mysql.func WHERE name='...'}}
It should be able to remove a function with DROP even if it couldn't initialize for whatever reason, including missing .so file
When an installed UDF can't be loaded at startup as its .so file can't be found anymore,, the error log will contain warnings about not being able to load the function
{noformat}[ERROR] Can't open shared library 'udf_test.so' (errno: 0, cannot open shared object file: No such file or directory){noformat}
but the function can't be removed with DROP FUNCTION:
{noformat}
MariaDB [(none)]> drop function foo;
ERROR 1305 (42000): FUNCTION (UDF) foo does not exist
{noformat}
It can only be removed by deleting the related row in the mysql.func table directly with
{{DELETE FROM mysql.func WHERE name='...'}}
It should be able to remove a function with DROP even if it couldn't initialize for whatever reason, including missing .so file
Sergei Golubchik
made changes -
2020-10-10 21:16
Assignee
Sergei Golubchik
[ serg
]
Oleksandr Byelkin
[ sanja
]
Status
In Review
[ 10002
]
Stalled
[ 10000
]
Oleksandr Byelkin
made changes -
2020-10-11 10:33
Assignee
Oleksandr Byelkin
[ sanja
]
Sergei Golubchik
[ serg
]
Status
Stalled
[ 10000
]
In Review
[ 10002
]
Sergei Golubchik
made changes -
2020-10-18 12:46
Assignee
Sergei Golubchik
[ serg
]
Oleksandr Byelkin
[ sanja
]
Status
In Review
[ 10002
]
Stalled
[ 10000
]
Oleksandr Byelkin
made changes -
2020-10-19 13:31
Component/s
OTHER
[ 10125
]
Fix Version/s
10.2.35
[ 25022
]
Fix Version/s
10.3.26
[ 25021
]
Fix Version/s
10.4.16
[ 25020
]
Fix Version/s
10.5.7
[ 25019
]
Fix Version/s
10.2
[ 14601
]
Fix Version/s
10.3
[ 22126
]
Fix Version/s
10.4
[ 22408
]
Fix Version/s
10.5
[ 23123
]
Resolution
Fixed
[ 1
]
Status
Stalled
[ 10000
]
Closed
[ 6
]
Sergei Golubchik
made changes -
2021-12-06 21:52
Workflow
MariaDB v3
[ 111781
]
MariaDB v4
[ 158160
]
{"report":{"fcp":1406.6000000238419,"ttfb":641.3000000715256,"pageVisibility":"visible","entityId":90065,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":32,"apdex":0.5,"journeyId":"e98affb3-8e82-4640-9519-9e262be34408","navigationType":0,"readyForUser":1480.5,"redirectCount":0,"resourceLoadedEnd":1504.8000000715256,"resourceLoadedStart":646.4000000953674,"resourceTiming":[{"duration":127.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":646.4000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":646.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":773.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":127.39999997615814,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":646.8000000715256,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":646.8000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":774.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":191.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":646.9000000953674,"connectEnd":646.9000000953674,"connectStart":646.9000000953674,"domainLookupEnd":646.9000000953674,"domainLookupStart":646.9000000953674,"fetchStart":646.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":646.9000000953674,"responseEnd":838.4000000953674,"responseStart":838.4000000953674,"secureConnectionStart":646.9000000953674},{"duration":333.10000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":647,"connectEnd":647,"connectStart":647,"domainLookupEnd":647,"domainLookupStart":647,"fetchStart":647,"redirectEnd":0,"redirectStart":0,"requestStart":647,"responseEnd":980.1000000238419,"responseStart":980.1000000238419,"secureConnectionStart":647},{"duration":336.60000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":647.3000000715256,"connectEnd":647.3000000715256,"connectStart":647.3000000715256,"domainLookupEnd":647.3000000715256,"domainLookupStart":647.3000000715256,"fetchStart":647.3000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":647.3000000715256,"responseEnd":983.9000000953674,"responseStart":983.9000000953674,"secureConnectionStart":647.3000000715256},{"duration":336.89999997615814,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":647.4000000953674,"connectEnd":647.4000000953674,"connectStart":647.4000000953674,"domainLookupEnd":647.4000000953674,"domainLookupStart":647.4000000953674,"fetchStart":647.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":647.4000000953674,"responseEnd":984.3000000715256,"responseStart":984.3000000715256,"secureConnectionStart":647.4000000953674},{"duration":337.10000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":647.6000000238419,"connectEnd":647.6000000238419,"connectStart":647.6000000238419,"domainLookupEnd":647.6000000238419,"domainLookupStart":647.6000000238419,"fetchStart":647.6000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":647.6000000238419,"responseEnd":984.7000000476837,"responseStart":984.7000000476837,"secureConnectionStart":647.6000000238419},{"duration":373.7999999523163,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":647.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":647.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1021.5,"responseStart":0,"secureConnectionStart":0},{"duration":373.60000002384186,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":648,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":648,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1021.6000000238419,"responseStart":0,"secureConnectionStart":0},{"duration":337.3000000715256,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":648,"connectEnd":648,"connectStart":648,"domainLookupEnd":648,"domainLookupStart":648,"fetchStart":648,"redirectEnd":0,"redirectStart":0,"requestStart":648,"responseEnd":985.3000000715256,"responseStart":985.3000000715256,"secureConnectionStart":648},{"duration":337.60000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":648.2000000476837,"connectEnd":648.2000000476837,"connectStart":648.2000000476837,"domainLookupEnd":648.2000000476837,"domainLookupStart":648.2000000476837,"fetchStart":648.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":648.2000000476837,"responseEnd":985.8000000715256,"responseStart":985.8000000715256,"secureConnectionStart":648.2000000476837},{"duration":633.9000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":649,"connectEnd":649,"connectStart":649,"domainLookupEnd":649,"domainLookupStart":649,"fetchStart":649,"redirectEnd":0,"redirectStart":0,"requestStart":649,"responseEnd":1282.9000000953674,"responseStart":1282.9000000953674,"secureConnectionStart":649},{"duration":763,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":662.3000000715256,"connectEnd":662.3000000715256,"connectStart":662.3000000715256,"domainLookupEnd":662.3000000715256,"domainLookupStart":662.3000000715256,"fetchStart":662.3000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":662.3000000715256,"responseEnd":1425.3000000715256,"responseStart":1425.3000000715256,"secureConnectionStart":662.3000000715256},{"duration":252.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1038.2000000476837,"connectEnd":1038.2000000476837,"connectStart":1038.2000000476837,"domainLookupEnd":1038.2000000476837,"domainLookupStart":1038.2000000476837,"fetchStart":1038.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":1038.2000000476837,"responseEnd":1290.7000000476837,"responseStart":1290.7000000476837,"secureConnectionStart":1038.2000000476837},{"duration":204.89999997615814,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bu7/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":1299.9000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1299.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1504.8000000715256,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":390,"responseStart":641,"responseEnd":657,"domLoading":644,"domInteractive":1545,"domContentLoadedEventStart":1545,"domContentLoadedEventEnd":1592,"domComplete":2154,"loadEventStart":2154,"loadEventEnd":2155,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1517},{"name":"bigPipe.sidebar-id.end","time":1517.8000000715256},{"name":"bigPipe.activity-panel-pipe-id.start","time":1518},{"name":"bigPipe.activity-panel-pipe-id.end","time":1522.4000000953674},{"name":"activityTabFullyLoaded","time":1631.9000000953674}],"measures":[],"correlationId":"6943718ac9db24","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":188,"dbReadsTimeInMs":29,"dbConnsTimeInMs":40,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}