Problem was in reinitialization of first_successful_insert_id_in_prev_stmt_for_binlog after setting variables.
Oleksandr Byelkin
added a comment - - edited Problem was in reinitialization of first_successful_insert_id_in_prev_stmt_for_binlog after setting variables.
MDEV-6997: SET STATEMENT last_insert_id FOR ... does not affect the value written to the binlog
Oleksandr Byelkin
added a comment - Fixed test commit:
revision-id: 60c1dc1ab24bfe9b3f4a898fe5e7cb070ee02cf7
parent(s): d0d6284cab70af148269d95744f615454cac24bb
committer: Oleksandr Byelkin
branch nick: work-maria-10.1- MDEV-6997 -real
timestamp: 2015-02-25 19:00:57 +0100
message:
MDEV-6997 : SET STATEMENT last_insert_id FOR ... does not affect the value written to the binlog
MDEV-6997: SET STATEMENT last_insert_id FOR ... does not affect the value written to the binlog
Problem was in reinitialization of first_successful_insert_id_in_prev_stmt_for_binlog after setting variables.
Oleksandr Byelkin
added a comment - revision-id: b7237786f5b8e74ba9558db8325d29a64f1a1d9b
parent(s): ba3573cae8f0d269452cc6213f1a8243e455830e
committer: Oleksandr Byelkin
branch nick: server
timestamp: 2015-03-13 16:32:47 +0100
message:
MDEV-6997 : SET STATEMENT last_insert_id FOR ... does not affect the value written to the binlog
Problem was in reinitialization of first_successful_insert_id_in_prev_stmt_for_binlog after setting variables.
People
Oleksandr Byelkin
Elena Stepanova
Votes:
0Vote for this issue
Watchers:
3Start watching this issue
Dates
Created:
Updated:
Resolved:
Git Integration
Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.
{"report":{"fcp":971.3999999761581,"ttfb":260.2999999523163,"pageVisibility":"visible","entityId":48500,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"d5072e4c-6e07-4072-8965-e0b6b06d0411","navigationType":0,"readyForUser":1045.7999999523163,"redirectCount":0,"resourceLoadedEnd":690.7999999523163,"resourceLoadedStart":267.10000002384186,"resourceTiming":[{"duration":3.6999999284744263,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":267.10000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":267.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":270.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":3.600000023841858,"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":268.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":268.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":272.39999997615814,"responseStart":0,"secureConnectionStart":0},{"duration":208.39999997615814,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":268.89999997615814,"connectEnd":268.89999997615814,"connectStart":268.89999997615814,"domainLookupEnd":268.89999997615814,"domainLookupStart":268.89999997615814,"fetchStart":268.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":275,"responseEnd":477.2999999523163,"responseStart":293.7000000476837,"secureConnectionStart":268.89999997615814},{"duration":413.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":269.2999999523163,"connectEnd":269.2999999523163,"connectStart":269.2999999523163,"domainLookupEnd":269.2999999523163,"domainLookupStart":269.2999999523163,"fetchStart":269.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":275.2000000476837,"responseEnd":682.3999999761581,"responseStart":335.10000002384186,"secureConnectionStart":269.2999999523163},{"duration":29.600000023841858,"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":269.5,"connectEnd":269.5,"connectStart":269.5,"domainLookupEnd":269.5,"domainLookupStart":269.5,"fetchStart":269.5,"redirectEnd":0,"redirectStart":0,"requestStart":278.7999999523163,"responseEnd":299.10000002384186,"responseStart":298.2000000476837,"secureConnectionStart":269.5},{"duration":31.100000023841858,"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":269.60000002384186,"connectEnd":269.60000002384186,"connectStart":269.60000002384186,"domainLookupEnd":269.60000002384186,"domainLookupStart":269.60000002384186,"fetchStart":269.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":279,"responseEnd":300.7000000476837,"responseStart":299.5,"secureConnectionStart":269.60000002384186},{"duration":31.59999990463257,"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":269.7000000476837,"connectEnd":269.7000000476837,"connectStart":269.7000000476837,"domainLookupEnd":269.7000000476837,"domainLookupStart":269.7000000476837,"fetchStart":269.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":279.5,"responseEnd":301.2999999523163,"responseStart":299.89999997615814,"secureConnectionStart":269.7000000476837},{"duration":7,"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":269.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":269.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":276.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":38.300000071525574,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":269.89999997615814,"connectEnd":269.89999997615814,"connectStart":269.89999997615814,"domainLookupEnd":269.89999997615814,"domainLookupStart":269.89999997615814,"fetchStart":269.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":280.5,"responseEnd":308.2000000476837,"responseStart":307.2999999523163,"secureConnectionStart":269.89999997615814},{"duration":8.299999952316284,"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":270,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":270,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":278.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":40,"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":270.10000002384186,"connectEnd":270.10000002384186,"connectStart":270.10000002384186,"domainLookupEnd":270.10000002384186,"domainLookupStart":270.10000002384186,"fetchStart":270.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":280.89999997615814,"responseEnd":310.10000002384186,"responseStart":308.2999999523163,"secureConnectionStart":270.10000002384186},{"duration":415.60000002384186,"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":274.89999997615814,"connectEnd":274.89999997615814,"connectStart":274.89999997615814,"domainLookupEnd":274.89999997615814,"domainLookupStart":274.89999997615814,"fetchStart":274.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":287.2999999523163,"responseEnd":690.5,"responseStart":688.7000000476837,"secureConnectionStart":274.89999997615814},{"duration":415.7999999523163,"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":275,"connectEnd":275,"connectStart":275,"domainLookupEnd":275,"domainLookupStart":275,"fetchStart":275,"redirectEnd":0,"redirectStart":0,"requestStart":299.2999999523163,"responseEnd":690.7999999523163,"responseStart":689.2999999523163,"secureConnectionStart":275},{"duration":90.19999992847443,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":614.2000000476837,"connectEnd":614.2000000476837,"connectStart":614.2000000476837,"domainLookupEnd":614.2000000476837,"domainLookupStart":614.2000000476837,"fetchStart":614.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":663.7000000476837,"responseEnd":704.3999999761581,"responseStart":703.6000000238419,"secureConnectionStart":614.2000000476837},{"duration":52.90000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":894.7999999523163,"connectEnd":894.7999999523163,"connectStart":894.7999999523163,"domainLookupEnd":894.7999999523163,"domainLookupStart":894.7999999523163,"fetchStart":894.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":913.8999999761581,"responseEnd":947.7000000476837,"responseStart":947.2000000476837,"secureConnectionStart":894.7999999523163},{"duration":174.20000004768372,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":964.2999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":964.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1138.5,"responseStart":0,"secureConnectionStart":0},{"duration":166.69999992847443,"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":987.1000000238419,"connectEnd":987.1000000238419,"connectStart":987.1000000238419,"domainLookupEnd":987.1000000238419,"domainLookupStart":987.1000000238419,"fetchStart":987.1000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":1140.2999999523163,"responseEnd":1153.7999999523163,"responseStart":1153,"secureConnectionStart":987.1000000238419}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":79,"responseStart":261,"responseEnd":274,"domLoading":264,"domInteractive":1100,"domContentLoadedEventStart":1100,"domContentLoadedEventEnd":1147,"domComplete":1400,"loadEventStart":1400,"loadEventEnd":1400,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1079.1000000238419},{"name":"bigPipe.sidebar-id.end","time":1079.8999999761581},{"name":"bigPipe.activity-panel-pipe-id.start","time":1079.8999999761581},{"name":"bigPipe.activity-panel-pipe-id.end","time":1081.5},{"name":"activityTabFullyLoaded","time":1166.8999999761581}],"measures":[],"correlationId":"948bf469ded194","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":102,"dbReadsTimeInMs":12,"dbConnsTimeInMs":20,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
The variable prohibited as a workaround.