--source include/have_partition.inc
|
|
INSTALL PLUGIN Spider SONAME 'ha_spider.so';
|
CREATE TABLE t (a INT) ENGINE=Spider PARTITION BY LIST (a) PARTITIONS 2 (PARTITION p1 VALUES IN (0,1),PARTITION p2 VALUES IN (2,3));
|
DELETE FROM t PARTITION (p2);
|
Leads to:
10.5.25 7d36919f4b73a2507555ed101ccd02cb266dcc52 (Optimized)
|
Core was generated by `/test/MD200324-mariadb-10.5.25-linux-x86_64-opt/bin/mariadbd --no-defaults --ma'.
|
Program terminated with signal SIGSEGV, Segmentation fault.
|
#0 0x0000150314141452 in ha_spider::need_info_for_auto_inc (
|
this=0x1502943217d0) at /test/server_opt/storage/spider/ha_spider.cc:9433
|
9433 DBUG_RETURN((
|
[Current thread is 1 (Thread 0x150328078700 (LWP 3742349))]
|
(gdb) bt
|
#0 0x0000150314141452 in ha_spider::need_info_for_auto_inc (this=0x1502943217d0) at /test/server_opt/storage/spider/ha_spider.cc:9433
|
#1 0x00005633cb323766 in ha_partition::need_info_for_auto_inc (this=0x1502942c8810) at /test/server_opt/sql/ha_partition.cc:10761
|
#2 ha_partition::external_lock (this=0x1502942c8810, thd=<optimized out>, lock_type=1) at /test/server_opt/sql/ha_partition.cc:4189
|
#3 0x00005633cb0b13c4 in handler::ha_external_lock (this=0x1502942c8810, thd=thd@entry=0x150294000c58, lock_type=lock_type@entry=1) at /test/server_opt/sql/handler.cc:6792
|
#4 0x00005633cb1bfc60 in lock_external (count=<optimized out>, tables=0x150294010ec8, thd=0x150294000c58) at /test/server_opt/sql/lock.cc:396
|
#5 mysql_lock_tables (thd=thd@entry=0x150294000c58, sql_lock=sql_lock@entry=0x150294010e88, flags=flags@entry=0) at /test/server_opt/sql/lock.cc:341
|
#6 0x00005633cb1c09d7 in mysql_lock_tables (thd=thd@entry=0x150294000c58, tables=0x150294010e80, count=count@entry=1, flags=flags@entry=0) at /test/server_opt/sql/lock.cc:304
|
#7 0x00005633cae0ee7f in lock_tables (thd=thd@entry=0x150294000c58, tables=0x1502940105c0, count=<optimized out>, flags=flags@entry=0) at /test/server_opt/sql/sql_base.cc:5497
|
#8 0x00005633cae10bb2 in open_and_lock_tables (thd=thd@entry=0x150294000c58, options=<optimized out>, tables=<optimized out>, tables@entry=0x1502940105c0, derived=derived@entry=true, flags=flags@entry=0, prelocking_strategy=prelocking_strategy@entry=0x150328076580) at /test/server_opt/sql/sql_base.cc:5257
|
#9 0x00005633cb2217ec in open_and_lock_tables (flags=0, derived=true, tables=0x1502940105c0, thd=0x150294000c58) at /test/server_opt/sql/sql_base.h:508
|
#10 mysql_delete (thd=thd@entry=0x150294000c58, table_list=0x1502940105c0, conds=<optimized out>, order_list=order_list@entry=0x150294005738, limit=18446744073709551615, options=0, result=0x0) at /test/server_opt/sql/sql_delete.cc:343
|
#11 0x00005633cae809ff in mysql_execute_command (thd=0x150294000c58) at /test/server_opt/sql/sql_limit.h:78
|
#12 0x00005633cae6e3d6 in mysql_parse (thd=0x150294000c58, rawbuf=<optimized out>, length=<optimized out>, parser_state=<optimized out>, is_com_multi=<optimized out>, is_next_command=<optimized out>) at /test/server_opt/sql/sql_parse.cc:8196
|
#13 0x00005633cae7b605 in dispatch_command (command=COM_QUERY, thd=0x150294000c58, packet=<optimized out>, packet_length=<optimized out>, is_com_multi=<optimized out>, is_next_command=<optimized out>) at /test/server_opt/sql/sql_class.h:1329
|
#14 0x00005633cae7dd73 in do_command (thd=0x150294000c58) at /test/server_opt/sql/sql_parse.cc:1375
|
#15 0x00005633caf8b711 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x5633cdcea0f8, put_in_cache=put_in_cache@entry=true) at /test/server_opt/sql/sql_connect.cc:1415
|
#16 0x00005633caf8bb9d in handle_one_connection (arg=arg@entry=0x5633cdcea0f8) at /test/server_opt/sql/sql_connect.cc:1317
|
#17 0x00005633cb338fe0 in pfs_spawn_thread (arg=0x5633cdbf6328) at /test/server_opt/storage/perfschema/pfs.cc:2201
|
#18 0x0000150329c45609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#19 0x0000150329831133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
Bug confirmed present in:
MariaDB: 10.5.25 (dbg), 10.5.25 (opt), 10.6.18 (dbg), 10.6.18 (opt), 10.11.8 (dbg), 10.11.8 (opt), 11.0.6 (dbg), 11.0.6 (opt)
Bug (or feature/syntax) confirmed not present in:
MariaDB: 10.4.33 (dbg), 10.4.33 (opt), 10.4.34 (opt), 11.1.4 (dbg), 11.1.4 (opt), 11.2.4 (dbg), 11.2.4 (opt), 11.3.2 (dbg), 11.3.2 (opt), 11.4.2 (dbg), 11.4.2 (opt), 11.5.0 (dbg), 11.5.0 (opt)
- relates to
-
MDEV-32839
LONG UNIQUE gives error when used with REPLACE
-
-
Closed
{"report":{"fcp":1109.9000000953674,"ttfb":241.10000038146973,"pageVisibility":"visible","entityId":128445,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"cf014647-1cae-4500-a0f7-fa5c7e4bd6e5","navigationType":0,"readyForUser":1199.3000001907349,"redirectCount":0,"resourceLoadedEnd":1715,"resourceLoadedStart":247.30000019073486,"resourceTiming":[{"duration":324.69999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":247.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":247.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":572,"responseStart":0,"secureConnectionStart":0},{"duration":324.69999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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":247.60000038146973,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":247.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":572.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":334.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":247.80000019073486,"connectEnd":247.80000019073486,"connectStart":247.80000019073486,"domainLookupEnd":247.80000019073486,"domainLookupStart":247.80000019073486,"fetchStart":247.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":247.80000019073486,"responseEnd":582.3000001907349,"responseStart":582.3000001907349,"secureConnectionStart":247.80000019073486},{"duration":380.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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":247.90000009536743,"connectEnd":247.90000009536743,"connectStart":247.90000009536743,"domainLookupEnd":247.90000009536743,"domainLookupStart":247.90000009536743,"fetchStart":247.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":247.90000009536743,"responseEnd":628.5,"responseStart":628.5,"secureConnectionStart":247.90000009536743},{"duration":384.59999990463257,"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":248.2000002861023,"connectEnd":248.2000002861023,"connectStart":248.2000002861023,"domainLookupEnd":248.2000002861023,"domainLookupStart":248.2000002861023,"fetchStart":248.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":248.2000002861023,"responseEnd":632.8000001907349,"responseStart":632.8000001907349,"secureConnectionStart":248.2000002861023},{"duration":385.19999980926514,"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":248.30000019073486,"connectEnd":248.30000019073486,"connectStart":248.30000019073486,"domainLookupEnd":248.30000019073486,"domainLookupStart":248.30000019073486,"fetchStart":248.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":248.30000019073486,"responseEnd":633.5,"responseStart":633.5,"secureConnectionStart":248.30000019073486},{"duration":385.40000009536743,"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":248.5,"connectEnd":248.5,"connectStart":248.5,"domainLookupEnd":248.5,"domainLookupStart":248.5,"fetchStart":248.5,"redirectEnd":0,"redirectStart":0,"requestStart":248.5,"responseEnd":633.9000000953674,"responseStart":633.9000000953674,"secureConnectionStart":248.5},{"duration":482.90000009536743,"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":248.7000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":248.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":731.6000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":385.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":248.90000009536743,"connectEnd":248.90000009536743,"connectStart":248.90000009536743,"domainLookupEnd":248.90000009536743,"domainLookupStart":248.90000009536743,"fetchStart":248.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":248.90000009536743,"responseEnd":634.4000000953674,"responseStart":634.4000000953674,"secureConnectionStart":248.90000009536743},{"duration":482.69999980926514,"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":249.10000038146973,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":249.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":731.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":385.69999980926514,"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":249.30000019073486,"connectEnd":249.30000019073486,"connectStart":249.30000019073486,"domainLookupEnd":249.30000019073486,"domainLookupStart":249.30000019073486,"fetchStart":249.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":249.30000019073486,"responseEnd":635,"responseStart":635,"secureConnectionStart":249.30000019073486},{"duration":643,"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":250.2000002861023,"connectEnd":250.2000002861023,"connectStart":250.2000002861023,"domainLookupEnd":250.2000002861023,"domainLookupStart":250.2000002861023,"fetchStart":250.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":250.2000002861023,"responseEnd":893.2000002861023,"responseStart":893.2000002861023,"secureConnectionStart":250.2000002861023},{"duration":1449,"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":250.2000002861023,"connectEnd":250.2000002861023,"connectStart":250.2000002861023,"domainLookupEnd":250.2000002861023,"domainLookupStart":250.2000002861023,"fetchStart":250.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":250.2000002861023,"responseEnd":1699.2000002861023,"responseStart":1699.1000003814697,"secureConnectionStart":250.2000002861023},{"duration":175.40000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":767.2000002861023,"connectEnd":767.2000002861023,"connectStart":767.2000002861023,"domainLookupEnd":767.2000002861023,"domainLookupStart":767.2000002861023,"fetchStart":767.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":767.2000002861023,"responseEnd":942.6000003814697,"responseStart":942.6000003814697,"secureConnectionStart":767.2000002861023},{"duration":653.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/50bc9be5bfead1a25e72c1a9338c94f6-CDN/lu2cib/820016/12ta74/e108c7645258ccb43280ed3404e3e949/_/download/contextbatch/css/com.atlassian.jira.plugins.jira-development-integration-plugin:0,-_super,-jira.view.issue,-jira.global,-jira.general,-jira.browse.project,-project.issue.navigator,-atl.general/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":1061.3000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1061.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1714.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":653.0999999046326,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/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":1061.9000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1061.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1715,"responseStart":0,"secureConnectionStart":0},{"duration":663.6999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/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":1062.8000001907349,"connectEnd":1062.8000001907349,"connectStart":1062.8000001907349,"domainLookupEnd":1062.8000001907349,"domainLookupStart":1062.8000001907349,"fetchStart":1062.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":1062.8000001907349,"responseEnd":1726.5,"responseStart":1726.5,"secureConnectionStart":1062.8000001907349},{"duration":665.5999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/s/e0bf5781d46ea69fb123572974cf39de-CDN/lu2cib/820016/12ta74/e108c7645258ccb43280ed3404e3e949/_/download/contextbatch/js/com.atlassian.jira.plugins.jira-development-integration-plugin:0,-_super,-jira.view.issue,-jira.global,-jira.general,-jira.browse.project,-project.issue.navigator,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":1063.2000002861023,"connectEnd":1063.2000002861023,"connectStart":1063.2000002861023,"domainLookupEnd":1063.2000002861023,"domainLookupStart":1063.2000002861023,"fetchStart":1063.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":1063.2000002861023,"responseEnd":1728.8000001907349,"responseStart":1728.8000001907349,"secureConnectionStart":1063.2000002861023},{"duration":671.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/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":1063.5,"connectEnd":1063.5,"connectStart":1063.5,"domainLookupEnd":1063.5,"domainLookupStart":1063.5,"fetchStart":1063.5,"redirectEnd":0,"redirectStart":0,"requestStart":1063.5,"responseEnd":1735,"responseStart":1735,"secureConnectionStart":1063.5}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":63,"responseStart":241,"responseEnd":243,"domLoading":245,"domInteractive":1724,"domContentLoadedEventStart":1724,"domContentLoadedEventEnd":1767,"domComplete":2458,"loadEventStart":2458,"loadEventEnd":2458,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1701},{"name":"bigPipe.sidebar-id.end","time":1701.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.start","time":1702.1000003814697},{"name":"bigPipe.activity-panel-pipe-id.end","time":1703.4000000953674},{"name":"activityTabFullyLoaded","time":1784}],"measures":[],"correlationId":"90bb03377f8df5","effectiveType":"4g","downlink":9.5,"rtt":0,"serverDuration":112,"dbReadsTimeInMs":20,"dbConnsTimeInMs":29,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}