-
Bug
-
-
Major
-
Resolution:
Unresolved
-
10.4(EOL), 10.5, 10.6, 10.7(EOL), 10.8(EOL), 10.9(EOL), 10.10(EOL), 10.11, 11.0(EOL), 11.1(EOL), 11.2(EOL), 11.3(EOL), 11.4, 11.5(EOL)
-
-
-
These scripts demonstrate the problem:
SET @@div_precision_increment=4;
|
CREATE OR REPLACE TABLE t1 (
|
a INT,
|
v INT GENERATED ALWAYS AS (LENGTH(a/3)),
|
KEY(v)
|
) ENGINE=MyISAM;
|
INSERT INTO t1 (a) VALUES (1);
|
SELECT * FROM t1;
|
FLUSH TABLES;
|
SET @@div_precision_increment=8;
|
SELECT * FROM t1;
|
CHECK TABLE t1;
|
+---------+-------+----------+---------------------------------------------------------+
|
| Table | Op | Msg_type | Msg_text |
|
+---------+-------+----------+---------------------------------------------------------+
|
| test.t1 | check | error | Checksum for key: 1 doesn't match checksum for records |
|
| test.t1 | check | error | Corrupt |
|
+---------+-------+----------+---------------------------------------------------------+
|
SET @@div_precision_increment=4;
|
CREATE OR REPLACE TABLE t1 (
|
a INT,
|
v VARCHAR(100) GENERATED ALWAYS AS (a/3.000),
|
KEY(v)
|
) ENGINE=MyISAM;
|
INSERT INTO t1 (a) VALUES (1);
|
SELECT * FROM t1;
|
FLUSH TABLES;
|
SET @@div_precision_increment=8;
|
SELECT * FROM t1;
|
CHECK TABLE t1;
|
+---------+-------+----------+---------------------------------------------------------+
|
| Table | Op | Msg_type | Msg_text |
|
+---------+-------+----------+---------------------------------------------------------+
|
| test.t1 | check | error | Checksum for key: 1 doesn't match checksum for records |
|
| test.t1 | check | error | Corrupt |
|
+---------+-------+----------+---------------------------------------------------------+
|
SET @@div_precision_increment=4;
|
CREATE OR REPLACE TABLE t1 (
|
a INT,
|
v DECIMAL(48,30) GENERATED ALWAYS AS (a/3.000),
|
KEY(v)
|
) ENGINE=MyISAM;
|
INSERT INTO t1 (a) VALUES (1);
|
SELECT * FROM t1;
|
FLUSH TABLES;
|
SET @@div_precision_increment=8;
|
SELECT * FROM t1;
|
CHECK TABLE t1;
|
+---------+-------+----------+---------------------------------------------------------+
|
| Table | Op | Msg_type | Msg_text |
|
+---------+-------+----------+---------------------------------------------------------+
|
| test.t1 | check | error | Checksum for key: 1 doesn't match checksum for records |
|
| test.t1 | check | error | Corrupt |
|
+---------+-------+----------+---------------------------------------------------------+
|
{"report":{"fcp":855.3000001907349,"ttfb":158.5,"pageVisibility":"visible","entityId":128972,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"5606ce16-3522-48e8-8494-9bf2fb98b6ef","navigationType":0,"readyForUser":925.9000005722046,"redirectCount":0,"resourceLoadedEnd":1080.9000005722046,"resourceLoadedStart":163.80000019073486,"resourceTiming":[{"duration":266.6000003814697,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":163.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":163.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":430.4000005722046,"responseStart":0,"secureConnectionStart":0},{"duration":266.5,"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":164,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":164,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":430.5,"responseStart":0,"secureConnectionStart":0},{"duration":275.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":164.10000038146973,"connectEnd":164.10000038146973,"connectStart":164.10000038146973,"domainLookupEnd":164.10000038146973,"domainLookupStart":164.10000038146973,"fetchStart":164.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":164.10000038146973,"responseEnd":439.4000005722046,"responseStart":439.4000005722046,"secureConnectionStart":164.10000038146973},{"duration":299.80000019073486,"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":164.19999980926514,"connectEnd":164.19999980926514,"connectStart":164.19999980926514,"domainLookupEnd":164.19999980926514,"domainLookupStart":164.19999980926514,"fetchStart":164.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":164.19999980926514,"responseEnd":464,"responseStart":464,"secureConnectionStart":164.19999980926514},{"duration":303.19999980926514,"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":164.30000019073486,"connectEnd":164.30000019073486,"connectStart":164.30000019073486,"domainLookupEnd":164.30000019073486,"domainLookupStart":164.30000019073486,"fetchStart":164.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":164.30000019073486,"responseEnd":467.5,"responseStart":467.5,"secureConnectionStart":164.30000019073486},{"duration":303.69999980926514,"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":164.4000005722046,"connectEnd":164.4000005722046,"connectStart":164.4000005722046,"domainLookupEnd":164.4000005722046,"domainLookupStart":164.4000005722046,"fetchStart":164.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":164.4000005722046,"responseEnd":468.1000003814697,"responseStart":468.1000003814697,"secureConnectionStart":164.4000005722046},{"duration":303.9000005722046,"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":164.5,"connectEnd":164.5,"connectStart":164.5,"domainLookupEnd":164.5,"domainLookupStart":164.5,"fetchStart":164.5,"redirectEnd":0,"redirectStart":0,"requestStart":164.5,"responseEnd":468.4000005722046,"responseStart":468.4000005722046,"secureConnectionStart":164.5},{"duration":304.5,"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":164.60000038146973,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":164.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":469.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":304.80000019073486,"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":164.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":164.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":469.5,"responseStart":0,"secureConnectionStart":0},{"duration":304.1000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":164.69999980926514,"connectEnd":164.69999980926514,"connectStart":164.69999980926514,"domainLookupEnd":164.69999980926514,"domainLookupStart":164.69999980926514,"fetchStart":164.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":164.69999980926514,"responseEnd":468.80000019073486,"responseStart":468.80000019073486,"secureConnectionStart":164.69999980926514},{"duration":304.3999996185303,"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":164.9000005722046,"connectEnd":164.9000005722046,"connectStart":164.9000005722046,"domainLookupEnd":164.9000005722046,"domainLookupStart":164.9000005722046,"fetchStart":164.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":164.9000005722046,"responseEnd":469.30000019073486,"responseStart":469.30000019073486,"secureConnectionStart":164.9000005722046},{"duration":554.3000001907349,"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":170.5,"connectEnd":170.5,"connectStart":170.5,"domainLookupEnd":170.5,"domainLookupStart":170.5,"fetchStart":170.5,"redirectEnd":0,"redirectStart":0,"requestStart":170.5,"responseEnd":724.8000001907349,"responseStart":724.8000001907349,"secureConnectionStart":170.5},{"duration":910.4000005722046,"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":170.5,"connectEnd":170.5,"connectStart":170.5,"domainLookupEnd":170.5,"domainLookupStart":170.5,"fetchStart":170.5,"redirectEnd":0,"redirectStart":0,"requestStart":170.5,"responseEnd":1080.9000005722046,"responseStart":1080.9000005722046,"secureConnectionStart":170.5},{"duration":426.5999994277954,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":651.1000003814697,"connectEnd":651.1000003814697,"connectStart":651.1000003814697,"domainLookupEnd":651.1000003814697,"domainLookupStart":651.1000003814697,"fetchStart":651.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":651.1000003814697,"responseEnd":1077.6999998092651,"responseStart":1077.6999998092651,"secureConnectionStart":651.1000003814697}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":21,"responseStart":159,"responseEnd":166,"domLoading":162,"domInteractive":1103,"domContentLoadedEventStart":1103,"domContentLoadedEventEnd":1138,"domComplete":2086,"loadEventStart":2086,"loadEventEnd":2088,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1087.4000005722046},{"name":"bigPipe.sidebar-id.end","time":1088.1999998092651},{"name":"bigPipe.activity-panel-pipe-id.start","time":1088.4000005722046},{"name":"bigPipe.activity-panel-pipe-id.end","time":1090.6999998092651},{"name":"activityTabFullyLoaded","time":1145}],"measures":[],"correlationId":"6698955f2d66f","effectiveType":"4g","downlink":9.6,"rtt":0,"serverDuration":76,"dbReadsTimeInMs":12,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}