Type:
Bug
Priority:
Major
Resolution:
Unresolved
Affects Version/s:
10.11
1. Class ha_federatedx_derived_handler overrides virtual function derived_handler::print_error() with an empty implementation which causes problems with error handling. Errors are being simply ignored and occur during later processing.
void ha_federatedx_derived_handler::print_error(int, unsigned long)
{
}
2. Members of federatedx_handler_base are accessed in the end_scan_() function without checking for having been initialized. This can cause server crash if init_scan_() has not completed successfully.
int federatedx_handler_base::end_scan_()
{
DBUG_ENTER("ha_federatedx_derived_handler::end_scan");
(*iop)->free_result(stored_result);
free_share(txn, share);
DBUG_RETURN(0);
}
Oleg Smirnov
made changes -
2022-09-14 09:54
Field
Original Value
New Value
Description
1. Class ha_federatedx_derived_handler overrides virtual function derived_handler::print_error() with an empty implementation which causes problems with error handling. Errors are being simply ignored and occur during later processing.
{code}
void ha_federatedx_derived_handler::print_error(int, unsigned long)
{
}
{code}
2. Members of federatedx_handler_base are accessed in the end_scan_() function without checking for having been initialized. This can cause server crash if init_scan_() has not completed successfully.
{code}
int federatedx_handler_base::end_scan_()
{
DBUG_ENTER("ha_federatedx_derived_handler::end_scan");
(*iop)->free_result(stored_result);
free_share(txn, share);
DBUG_RETURN(0);
}
1. Class ha_federatedx_derived_handler overrides virtual function derived_handler::print_error() with an empty implementation which causes problems with error handling. Errors are being simply ignored and occur during later processing.
{code}
void ha_federatedx_derived_handler::print_error(int, unsigned long)
{
}
{code}
2. Members of federatedx_handler_base are accessed in the end_scan_() function without checking for having been initialized. This can cause server crash if init_scan_() has not completed successfully.
{code}
int federatedx_handler_base::end_scan_()
{
DBUG_ENTER("ha_federatedx_derived_handler::end_scan");
(*iop)->free_result(stored_result);
free_share(txn, share);
DBUG_RETURN(0);
}
{code}
Oleg Smirnov
made changes -
2022-09-14 09:55
Status
Open
[ 1
]
In Progress
[ 3
]
Oleg Smirnov
made changes -
2022-09-14 11:15
Assignee
Oleg Smirnov
[ JIRAUSER50405
]
Sergei Petrunia
[ psergey
]
Status
In Progress
[ 3
]
In Review
[ 10002
]
{"report":{"fcp":738.8000000119209,"ttfb":173.30000001192093,"pageVisibility":"visible","entityId":114678,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"ba34871a-5a20-4ba0-925f-2627f93840f3","navigationType":0,"readyForUser":803.3999999761581,"redirectCount":0,"resourceLoadedEnd":840.3999999761581,"resourceLoadedStart":179,"resourceTiming":[{"duration":7,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":179,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":179,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":186,"responseStart":0,"secureConnectionStart":0},{"duration":6.900000035762787,"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":179.39999997615814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":179.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":186.30000001192093,"responseStart":0,"secureConnectionStart":0},{"duration":62.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":179.5,"connectEnd":179.5,"connectStart":179.5,"domainLookupEnd":179.5,"domainLookupStart":179.5,"fetchStart":179.5,"redirectEnd":0,"redirectStart":0,"requestStart":179.5,"responseEnd":242,"responseStart":242,"secureConnectionStart":179.5},{"duration":134.70000004768372,"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":179.5999999642372,"connectEnd":179.5999999642372,"connectStart":179.5999999642372,"domainLookupEnd":179.5999999642372,"domainLookupStart":179.5999999642372,"fetchStart":179.5999999642372,"redirectEnd":0,"redirectStart":0,"requestStart":179.5999999642372,"responseEnd":314.30000001192093,"responseStart":314.30000001192093,"secureConnectionStart":179.5999999642372},{"duration":138.0999999642372,"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":179.80000001192093,"connectEnd":179.80000001192093,"connectStart":179.80000001192093,"domainLookupEnd":179.80000001192093,"domainLookupStart":179.80000001192093,"fetchStart":179.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":179.80000001192093,"responseEnd":317.89999997615814,"responseStart":317.89999997615814,"secureConnectionStart":179.80000001192093},{"duration":139.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":180,"connectEnd":180,"connectStart":180,"domainLookupEnd":180,"domainLookupStart":180,"fetchStart":180,"redirectEnd":0,"redirectStart":0,"requestStart":180,"responseEnd":319.89999997615814,"responseStart":319.89999997615814,"secureConnectionStart":180},{"duration":140.19999998807907,"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":180.19999998807907,"connectEnd":180.19999998807907,"connectStart":180.19999998807907,"domainLookupEnd":180.19999998807907,"domainLookupStart":180.19999998807907,"fetchStart":180.19999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":180.19999998807907,"responseEnd":320.39999997615814,"responseStart":320.39999997615814,"secureConnectionStart":180.19999998807907},{"duration":202,"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":180.39999997615814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":180.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":382.39999997615814,"responseStart":0,"secureConnectionStart":0},{"duration":140.30000001192093,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":180.5,"connectEnd":180.5,"connectStart":180.5,"domainLookupEnd":180.5,"domainLookupStart":180.5,"fetchStart":180.5,"redirectEnd":0,"redirectStart":0,"requestStart":180.5,"responseEnd":320.80000001192093,"responseStart":320.80000001192093,"secureConnectionStart":180.5},{"duration":201.80000001192093,"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":180.69999998807907,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":180.69999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":382.5,"responseStart":0,"secureConnectionStart":0},{"duration":140.5,"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":180.89999997615814,"connectEnd":180.89999997615814,"connectStart":180.89999997615814,"domainLookupEnd":180.89999997615814,"domainLookupStart":180.89999997615814,"fetchStart":180.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":180.89999997615814,"responseEnd":321.39999997615814,"responseStart":321.39999997615814,"secureConnectionStart":180.89999997615814},{"duration":421.19999998807907,"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":185.89999997615814,"connectEnd":185.89999997615814,"connectStart":185.89999997615814,"domainLookupEnd":185.89999997615814,"domainLookupStart":185.89999997615814,"fetchStart":185.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":185.89999997615814,"responseEnd":607.0999999642372,"responseStart":607.0999999642372,"secureConnectionStart":185.89999997615814},{"duration":466.4000000357628,"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":185.89999997615814,"connectEnd":185.89999997615814,"connectStart":185.89999997615814,"domainLookupEnd":185.89999997615814,"domainLookupStart":185.89999997615814,"fetchStart":185.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":185.89999997615814,"responseEnd":652.3000000119209,"responseStart":652.3000000119209,"secureConnectionStart":185.89999997615814},{"duration":213.9000000357628,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":393.5999999642372,"connectEnd":393.5999999642372,"connectStart":393.5999999642372,"domainLookupEnd":393.5999999642372,"domainLookupStart":393.5999999642372,"fetchStart":393.5999999642372,"redirectEnd":0,"redirectStart":0,"requestStart":393.5999999642372,"responseEnd":607.5,"responseStart":607.5,"secureConnectionStart":393.5999999642372},{"duration":86.5,"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":644.8000000119209,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":644.8000000119209,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":731.3000000119209,"responseStart":0,"secureConnectionStart":0},{"duration":188.20000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":645.5999999642372,"connectEnd":645.5999999642372,"connectStart":645.5999999642372,"domainLookupEnd":645.5999999642372,"domainLookupStart":645.5999999642372,"fetchStart":645.5999999642372,"redirectEnd":0,"redirectStart":0,"requestStart":645.5999999642372,"responseEnd":833.8000000119209,"responseStart":833.8000000119209,"secureConnectionStart":645.5999999642372},{"duration":123.80000001192093,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":730.8999999761581,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":730.8999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":854.6999999880791,"responseStart":0,"secureConnectionStart":0},{"duration":194.39999997615814,"initiatorType":"script","name":"https://jira.mariadb.org/s/f51ef5507eea4c158f257c66c93b2a3f-CDN/lu2bu7/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/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.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":646,"connectEnd":646,"connectStart":646,"domainLookupEnd":646,"domainLookupStart":646,"fetchStart":646,"redirectEnd":0,"redirectStart":0,"requestStart":646,"responseEnd":840.3999999761581,"responseStart":840.3999999761581,"secureConnectionStart":646}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":13,"responseStart":173,"responseEnd":178,"domLoading":177,"domInteractive":856,"domContentLoadedEventStart":856,"domContentLoadedEventEnd":893,"domComplete":1184,"loadEventStart":1184,"loadEventEnd":1185,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":835.3000000119209},{"name":"bigPipe.sidebar-id.end","time":836.0999999642372},{"name":"bigPipe.activity-panel-pipe-id.start","time":836.1999999880791},{"name":"bigPipe.activity-panel-pipe-id.end","time":837.8000000119209},{"name":"activityTabFullyLoaded","time":910.0999999642372}],"measures":[],"correlationId":"b475b909e153bd","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":101,"dbReadsTimeInMs":14,"dbConnsTimeInMs":23,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}