Roel Van de Paar
added a comment - - edited
CREATE TABLE t (a INT ) ENGINE=MyISAM;
REPLACE DELAYED INTO t (x,y) VALUES (0,0);
Causes:
bb-11.6-mdev20250-hf 11.6.0 9cbcce5ff2f190e830a5d7bc78ea4ee315f9ee27 (Debug)
SIGSEGV|Field::check_assignability_from|Item::check_assignability_to|TABLE::check_assignability_explicit_fields|TABLE::check_assignability_opt_fields
Versus 11.6 trunk:
11.6.1 05fe3f1c186a221c4455b4d83a9d59f09f2dfadb (Debug)
11.6.1-dbg>REPLACE DELAYED INTO t (x,y) VALUES (0,0);
ERROR 1054 (42S22): Unknown column 'x' in 'field list'
Similar testcases and their stacks:
CREATE TABLE t (pk0 VARCHAR (1),pk1 INT ,c INT , UNIQUE (c) USING HASH) ENGINE=MEMORY;
INSERT DELAYED INTO t VALUES ( '' , '' , '' );
bb-11.6-mdev20250-hf 11.6.0 9cbcce5ff2f190e830a5d7bc78ea4ee315f9ee27 (Debug)
marked_for_write_or_computed()|SIGABRT|Field_varstring::store|Item::save_str_value_in_field|Item_string::save_in_field|fill_record_with_mask
SET storage_engine=MyISAM;
CREATE TABLE t (c INT KEY ,c2 CHAR ,c3 DATE );
INSERT DELAYED INTO t VALUES (1,0),(1,0),(1,0);
bb-11.6-mdev20250-hf 11.6.0 9cbcce5ff2f190e830a5d7bc78ea4ee315f9ee27 (Debug)
s->visible_fields == values.elements|SIGABRT|TABLE::check_assignability_all_visible_fields|TABLE::check_assignability_opt_fields|mysql_insert|mysql_execute_command
Roel Van de Paar
added a comment -
# mysqld options required for replay: --log_bin
CREATE TABLE t (a INT signed) PARTITION BY LIST (a) (PARTITION p0 VALUES IN (1,3,5,7,9, NULL ),PARTITION p VALUES IN (2,4,6,8,0));
INSERT INTO t VALUES (@var);
Causes:
bb-11.6-mdev20250-hf 11.6.0 9cbcce5ff2f190e830a5d7bc78ea4ee315f9ee27 (Debug)
m_internal_handler != __null|SIGABRT|THD::pop_internal_handler|set_used_partition|Insert_prelocking_strategy::handle_end|open_tables
Versus 11.6 trunk:
11.6.1 05fe3f1c186a221c4455b4d83a9d59f09f2dfadb (Debug)
11.6.1-dbg>INSERT INTO t VALUES (@var);
Query OK, 1 row affected (0.002 sec)
Many of the bugs seem to revolve around DELAYED and MyISAM or MEMORY.
Roel Van de Paar
added a comment - On optimized:
CREATE TABLE t (a CHAR ,b CHAR ,c DATE , KEY (c)) ENGINE=MEMORY;
INSERT DELAYED INTO t VALUES (RAND());
bb-11.6-mdev20250-hf 11.6.0 9cbcce5ff2f190e830a5d7bc78ea4ee315f9ee27 (Optimized)
SIGSEGV|TABLE::check_assignability_all_visible_fields|TABLE::check_assignability_opt_fields|mysql_insert|mysql_execute_command
Many of the bugs seem to revolve around DELAYED and MyISAM or MEMORY.
Roel Van de Paar
added a comment -
CREATE TABLE t (c INT) ENGINE=MyISAM;
INSERT DELAYED INTO t VALUES ('');
11.6.0 9cbcce5ff2f190e830a5d7bc78ea4ee315f9ee27 (Debug)
marked_for_write_or_computed()|SIGABRT|Field_long::store|Item::save_str_value_in_field|Item_string::save_in_field|fill_record_with_mask
Yuchen Pei
added a comment - See my comment in MDEV-20250 about this MDEV
https://jira.mariadb.org/browse/MDEV-20250?focusedCommentId=294978&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-294978
ycp Ack. If the patch is revised then indeed please close this ticket as/when you see fit, and I can start a new testrun on the revised patch when ready.
Roel Van de Paar
added a comment - ycp Ack. If the patch is revised then indeed please close this ticket as/when you see fit, and I can start a new testrun on the revised patch when ready.
People
Alexey Botchkov
Roel Van de Paar
Votes:
0Vote for this issue
Watchers:
4Start watching this issue
Dates
Created:
Updated:
Git Integration
Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.
{"report":{"fcp":1227,"ttfb":386.90000009536743,"pageVisibility":"visible","entityId":130384,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"dcfe39ba-fcde-4991-964f-87e8fa73e7fc","navigationType":0,"readyForUser":1344.0999999046326,"redirectCount":0,"resourceLoadedEnd":1629,"resourceLoadedStart":396.80000019073486,"resourceTiming":[{"duration":290.69999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":396.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":396.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":687.5,"responseStart":0,"secureConnectionStart":0},{"duration":290.90000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/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&whisper-enabled=true","startTime":397.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":397.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":688,"responseStart":0,"secureConnectionStart":0},{"duration":302.3999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":397.30000019073486,"connectEnd":397.30000019073486,"connectStart":397.30000019073486,"domainLookupEnd":397.30000019073486,"domainLookupStart":397.30000019073486,"fetchStart":397.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":397.30000019073486,"responseEnd":699.6999998092651,"responseStart":699.6999998092651,"secureConnectionStart":397.30000019073486},{"duration":422.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/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&whisper-enabled=true","startTime":398,"connectEnd":398,"connectStart":398,"domainLookupEnd":398,"domainLookupStart":398,"fetchStart":398,"redirectEnd":0,"redirectStart":0,"requestStart":398,"responseEnd":820.1999998092651,"responseStart":820.1999998092651,"secureConnectionStart":398},{"duration":424.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":398.40000009536743,"connectEnd":398.40000009536743,"connectStart":398.40000009536743,"domainLookupEnd":398.40000009536743,"domainLookupStart":398.40000009536743,"fetchStart":398.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":398.40000009536743,"responseEnd":823.3000001907349,"responseStart":823.3000001907349,"secureConnectionStart":398.40000009536743},{"duration":425.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":398.59999990463257,"connectEnd":398.59999990463257,"connectStart":398.59999990463257,"domainLookupEnd":398.59999990463257,"domainLookupStart":398.59999990463257,"fetchStart":398.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":398.59999990463257,"responseEnd":823.9000000953674,"responseStart":823.9000000953674,"secureConnectionStart":398.59999990463257},{"duration":425.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":398.80000019073486,"connectEnd":398.80000019073486,"connectStart":398.80000019073486,"domainLookupEnd":398.80000019073486,"domainLookupStart":398.80000019073486,"fetchStart":398.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":398.80000019073486,"responseEnd":824.3000001907349,"responseStart":824.3000001907349,"secureConnectionStart":398.80000019073486},{"duration":483.30000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":399.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":399.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":882.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":424.8999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":399.80000019073486,"connectEnd":399.80000019073486,"connectStart":399.80000019073486,"domainLookupEnd":399.80000019073486,"domainLookupStart":399.80000019073486,"fetchStart":399.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":399.80000019073486,"responseEnd":824.6999998092651,"responseStart":824.6999998092651,"secureConnectionStart":399.80000019073486},{"duration":483.40000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/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":400,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":400,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":883.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":425.2000002861023,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/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":400.09999990463257,"connectEnd":400.09999990463257,"connectStart":400.09999990463257,"domainLookupEnd":400.09999990463257,"domainLookupStart":400.09999990463257,"fetchStart":400.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":400.09999990463257,"responseEnd":825.3000001907349,"responseStart":825.3000001907349,"secureConnectionStart":400.09999990463257},{"duration":764.1999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":410,"connectEnd":410,"connectStart":410,"domainLookupEnd":410,"domainLookupStart":410,"fetchStart":410,"redirectEnd":0,"redirectStart":0,"requestStart":410,"responseEnd":1174.1999998092651,"responseStart":1174.1999998092651,"secureConnectionStart":410},{"duration":1198.9000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":430.09999990463257,"connectEnd":430.09999990463257,"connectStart":430.09999990463257,"domainLookupEnd":430.09999990463257,"domainLookupStart":430.09999990463257,"fetchStart":430.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":430.09999990463257,"responseEnd":1629,"responseStart":1629,"secureConnectionStart":430.09999990463257},{"duration":258.09999990463257,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":917.0999999046326,"connectEnd":917.0999999046326,"connectStart":917.0999999046326,"domainLookupEnd":917.0999999046326,"domainLookupStart":917.0999999046326,"fetchStart":917.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":917.0999999046326,"responseEnd":1175.1999998092651,"responseStart":1175.1999998092651,"secureConnectionStart":917.0999999046326}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":226,"responseStart":387,"responseEnd":430,"domLoading":392,"domInteractive":1672,"domContentLoadedEventStart":1672,"domContentLoadedEventEnd":1722,"domComplete":2502,"loadEventStart":2502,"loadEventEnd":2502,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1631.0999999046326},{"name":"bigPipe.sidebar-id.end","time":1631.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.start","time":1632.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.end","time":1635.6999998092651},{"name":"activityTabFullyLoaded","time":1739.9000000953674}],"measures":[],"correlationId":"cead678cbe89e9","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":102,"dbReadsTimeInMs":13,"dbConnsTimeInMs":21,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Causes:
bb-11.6-mdev20250-hf 11.6.0 9cbcce5ff2f190e830a5d7bc78ea4ee315f9ee27 (Debug)
SIGSEGV|Field::check_assignability_from|Item::check_assignability_to|TABLE::check_assignability_explicit_fields|TABLE::check_assignability_opt_fields
Versus 11.6 trunk:
11.6.1 05fe3f1c186a221c4455b4d83a9d59f09f2dfadb (Debug)
11.6.1-dbg>REPLACE DELAYED INTO t (x,y) VALUES (0,0);
ERROR 1054 (42S22): Unknown column 'x' in 'field list'
Similar testcases and their stacks:
bb-11.6-mdev20250-hf 11.6.0 9cbcce5ff2f190e830a5d7bc78ea4ee315f9ee27 (Debug)
marked_for_write_or_computed()|SIGABRT|Field_varstring::store|Item::save_str_value_in_field|Item_string::save_in_field|fill_record_with_mask
bb-11.6-mdev20250-hf 11.6.0 9cbcce5ff2f190e830a5d7bc78ea4ee315f9ee27 (Debug)
s->visible_fields == values.elements|SIGABRT|TABLE::check_assignability_all_visible_fields|TABLE::check_assignability_opt_fields|mysql_insert|mysql_execute_command