Compilation fails producing errors like
/home/hf/wgit/mdev- 22168 - 1103 /sql/log.h: In constructor ‘Cache_flip_event_log::Cache_flip_event_log()’:
/home/hf/wgit/mdev- 22168 - 1103 /sql/log.h: 453 : 74 : error: missing initializer for member ‘st_io_cache::pos_in_file’ [-Werror=missing-field-initializers]
current(&log_file), alt(&alt_buf), ref_count( 1 ) {}
It's a known and fixed compiler issue
But i think it worth adapting for these compilers, also explicitly clear the buffer with the
my_b_clear() is faster and readable.
Alexey Botchkov
made changes -
2023-09-25 11:50
Field
Original Value
New Value
Description
Compilation fails producing errors like
{code:java}
/home/hf/wgit/mdev-22168-1103/sql/log.h: In constructor ‘Cache_flip_event_log::Cache_flip_event_log()’:
/home/hf/wgit/mdev-22168-1103/sql/log.h:453:74: error: missing initializer for member ‘st_io_cache::pos_in_file’ [-Werror=missing-field-initializers]
current(&log_file), alt(&alt_buf), ref_count(1) {}
{code}
Compilation fails producing errors like
{code:java}
/home/hf/wgit/mdev-22168-1103/sql/log.h: In constructor ‘Cache_flip_event_log::Cache_flip_event_log()’:
/home/hf/wgit/mdev-22168-1103/sql/log.h:453:74: error: missing initializer for member ‘st_io_cache::pos_in_file’ [-Werror=missing-field-initializers]
current(&log_file), alt(&alt_buf), ref_count(1) {}
{code}
It's a know and fixed [compiler issue|https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61489 ]
But i think it worth adapting for that compilers and explicitly clear the buffer with the
my_b_clear().
Alexey Botchkov
made changes -
2023-09-25 11:51
Description
Compilation fails producing errors like
{code:java}
/home/hf/wgit/mdev-22168-1103/sql/log.h: In constructor ‘Cache_flip_event_log::Cache_flip_event_log()’:
/home/hf/wgit/mdev-22168-1103/sql/log.h:453:74: error: missing initializer for member ‘st_io_cache::pos_in_file’ [-Werror=missing-field-initializers]
current(&log_file), alt(&alt_buf), ref_count(1) {}
{code}
It's a know and fixed [compiler issue|https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61489 ]
But i think it worth adapting for that compilers and explicitly clear the buffer with the
my_b_clear().
Compilation fails producing errors like
{code:java}
/home/hf/wgit/mdev-22168-1103/sql/log.h: In constructor ‘Cache_flip_event_log::Cache_flip_event_log()’:
/home/hf/wgit/mdev-22168-1103/sql/log.h:453:74: error: missing initializer for member ‘st_io_cache::pos_in_file’ [-Werror=missing-field-initializers]
current(&log_file), alt(&alt_buf), ref_count(1) {}
{code}
It's a known and fixed [compiler issue|https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61489 ]
But i think it worth adapting for these compilers, also explicitly clear the buffer with the
my_b_clear() is faster and readable.
Alexey Botchkov
made changes -
2023-09-25 12:06
Status
Open
[ 1
]
In Progress
[ 3
]
Alexey Botchkov
made changes -
2023-09-25 12:06
Assignee
Alexey Botchkov
[ holyfoot
]
Sergei Golubchik
[ serg
]
Status
In Progress
[ 3
]
In Review
[ 10002
]
Sergei Golubchik
made changes -
2023-09-25 12:25
Assignee
Sergei Golubchik
[ serg
]
Alexey Botchkov
[ holyfoot
]
Status
In Review
[ 10002
]
Stalled
[ 10000
]
Alexey Botchkov
made changes -
2023-09-30 11:53
issue.field.resolutiondate
2023-09-30 11:53:58.0
2023-09-30 11:53:57.757
Alexey Botchkov
made changes -
2023-09-30 11:53
Fix Version/s
11.2.2
[ 29035
]
Fix Version/s
11.2
[ 28603
]
Resolution
Fixed
[ 1
]
Status
Stalled
[ 10000
]
Closed
[ 6
]
{"report":{"fcp":1355.7000000476837,"ttfb":499.7999999523163,"pageVisibility":"visible","entityId":125309,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"d6d918ee-d1c4-4898-923f-0fea1f36fd5a","navigationType":0,"readyForUser":1423.6000000238419,"redirectCount":0,"resourceLoadedEnd":1646.6000000238419,"resourceLoadedStart":515.5,"resourceTiming":[{"duration":326.7000000476837,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":515.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":515.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":842.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":326.7000000476837,"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":515.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":515.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":842.5,"responseStart":0,"secureConnectionStart":0},{"duration":334.7999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":516.1000000238419,"connectEnd":516.1000000238419,"connectStart":516.1000000238419,"domainLookupEnd":516.1000000238419,"domainLookupStart":516.1000000238419,"fetchStart":516.1000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":516.1000000238419,"responseEnd":850.8999999761581,"responseStart":850.7999999523163,"secureConnectionStart":516.1000000238419},{"duration":382.7999999523163,"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":516.2000000476837,"connectEnd":516.2000000476837,"connectStart":516.2000000476837,"domainLookupEnd":516.2000000476837,"domainLookupStart":516.2000000476837,"fetchStart":516.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":516.2000000476837,"responseEnd":899,"responseStart":899,"secureConnectionStart":516.2000000476837},{"duration":390.7999999523163,"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":516.5,"connectEnd":516.5,"connectStart":516.5,"domainLookupEnd":516.5,"domainLookupStart":516.5,"fetchStart":516.5,"redirectEnd":0,"redirectStart":0,"requestStart":516.5,"responseEnd":907.2999999523163,"responseStart":907.2999999523163,"secureConnectionStart":516.5},{"duration":392.1999999284744,"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":516.6000000238419,"connectEnd":516.6000000238419,"connectStart":516.6000000238419,"domainLookupEnd":516.6000000238419,"domainLookupStart":516.6000000238419,"fetchStart":516.6000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":516.6000000238419,"responseEnd":908.7999999523163,"responseStart":908.7999999523163,"secureConnectionStart":516.6000000238419},{"duration":392.60000002384186,"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":516.8999999761581,"connectEnd":516.8999999761581,"connectStart":516.8999999761581,"domainLookupEnd":516.8999999761581,"domainLookupStart":516.8999999761581,"fetchStart":516.8999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":516.8999999761581,"responseEnd":909.5,"responseStart":909.5,"secureConnectionStart":516.8999999761581},{"duration":483.7000000476837,"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":517,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":517,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1000.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":393.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":517.2000000476837,"connectEnd":517.2000000476837,"connectStart":517.2000000476837,"domainLookupEnd":517.2000000476837,"domainLookupStart":517.2000000476837,"fetchStart":517.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":517.2000000476837,"responseEnd":910.7999999523163,"responseStart":910.7999999523163,"secureConnectionStart":517.2000000476837},{"duration":483.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":517.2999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":517.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1000.8999999761581,"responseStart":0,"secureConnectionStart":0},{"duration":398.7000000476837,"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":517.3999999761581,"connectEnd":517.3999999761581,"connectStart":517.3999999761581,"domainLookupEnd":517.3999999761581,"domainLookupStart":517.3999999761581,"fetchStart":517.3999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":517.3999999761581,"responseEnd":916.1000000238419,"responseStart":916.1000000238419,"secureConnectionStart":517.3999999761581},{"duration":638.3999999761581,"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":518.2000000476837,"connectEnd":518.2000000476837,"connectStart":518.2000000476837,"domainLookupEnd":518.2000000476837,"domainLookupStart":518.2000000476837,"fetchStart":518.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":518.2000000476837,"responseEnd":1156.6000000238419,"responseStart":1156.6000000238419,"secureConnectionStart":518.2000000476837},{"duration":1124.2000000476837,"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":522.3999999761581,"connectEnd":522.3999999761581,"connectStart":522.3999999761581,"domainLookupEnd":522.3999999761581,"domainLookupStart":522.3999999761581,"fetchStart":522.3999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":522.3999999761581,"responseEnd":1646.6000000238419,"responseStart":1646.6000000238419,"secureConnectionStart":522.3999999761581},{"duration":146.20000004768372,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1012.7999999523163,"connectEnd":1012.7999999523163,"connectStart":1012.7999999523163,"domainLookupEnd":1012.7999999523163,"domainLookupStart":1012.7999999523163,"fetchStart":1012.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":1012.7999999523163,"responseEnd":1159,"responseStart":1159,"secureConnectionStart":1012.7999999523163}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":302,"responseStart":500,"responseEnd":513,"domLoading":513,"domInteractive":1682,"domContentLoadedEventStart":1682,"domContentLoadedEventEnd":1726,"domComplete":2036,"loadEventStart":2036,"loadEventEnd":2037,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1649.2000000476837},{"name":"bigPipe.sidebar-id.end","time":1650.1000000238419},{"name":"bigPipe.activity-panel-pipe-id.start","time":1650.2999999523163},{"name":"bigPipe.activity-panel-pipe-id.end","time":1653.5},{"name":"activityTabFullyLoaded","time":1738.5}],"measures":[],"correlationId":"ff6ba59323ee60","effectiveType":"4g","downlink":9.4,"rtt":0,"serverDuration":122,"dbReadsTimeInMs":20,"dbConnsTimeInMs":29,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
https://github.com/MariaDB/server/commit/daca468c682ede3b423359b4d835dcbe3d6251a8