CREATE TABLE t1 (f int ) PARTITION BY LIST COLUMNS (f) (PARTITION pdef DEFAULT );
insert into t1 values (1),(2);
select * from t1 where f = 1;
10.2 143d512a2202dbd320ec9b9e37dafc36fc2b36d8
mysqld: /data/src/10.2/sql/sql_partition.cc:7709: int get_part_iter_for_interval_cols_via_map(partition_info*, bool, uint32*, uchar*, u
char*, uint, uint, uint, PARTITION_ITERATOR*): Assertion `part_info->num_list_values' failed.
161228 19:29:49 [ERROR] mysqld got signal 6 ;
#5 0x00007f9fd95c3448 in __GI_abort () at abort.c:89
#6 0x00007f9fd95bb266 in __assert_fail_base (fmt=0x7f9fd96f4238 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7f9fdc17cc6a "part_info->num_list_values", file=file@entry=0x7f9fdc17bd40 "/data/src/10.2/sql/sql_partition.cc", line=line@entry=7709, function=function@entry=0x7f9fdc17dac0 <get_part_iter_for_interval_cols_via_map(partition_info*, bool, unsigned int*, unsigned char*, unsigned char*, unsigned int, unsigned int, unsigned int, st_partition_iter*)::__PRETTY_FUNCTION__> "int get_part_iter_for_interval_cols_via_map(partition_info*, bool, uint32*, uchar*, uchar*, uint, uint, uint, PARTITION_ITERATOR*)") at assert.c:92
#7 0x00007f9fd95bb312 in __GI___assert_fail (assertion=0x7f9fdc17cc6a "part_info->num_list_values", file=0x7f9fdc17bd40 "/data/src/10.2/sql/sql_partition.cc", line=7709, function=0x7f9fdc17dac0 <get_part_iter_for_interval_cols_via_map(partition_info*, bool, unsigned int*, unsigned char*, unsigned char*, unsigned int, unsigned int, unsigned int, st_partition_iter*)::__PRETTY_FUNCTION__> "int get_part_iter_for_interval_cols_via_map(partition_info*, bool, uint32*, uchar*, uchar*, uint, uint, uint, PARTITION_ITERATOR*)") at assert.c:101
#8 0x00007f9fdbaaf78b in get_part_iter_for_interval_cols_via_map (part_info=0x7f9fd060c088, is_subpart=<optimized out>, store_length_array=0x7f9fdc760f60, min_value=0x7f9fd05880c0 "", max_value=0x7f9fd05880c8 "", min_len=5, max_len=5, flags=0, part_iter=0x7f9fdc761548) at /data/src/10.2/sql/sql_partition.cc:7709
#9 0x00007f9fdba5d6f4 in find_used_partitions (ppar=ppar@entry=0x7f9fdc761180, key_tree=0x7f9fd0588158) at /data/src/10.2/sql/opt_range.cc:4006
#10 0x00007f9fdba5e715 in prune_partitions (thd=0x7f9fd0416070, table=table@entry=0x7f9fd04d5870, pprune_cond=0x7f9fd04653b0) at /data/src/10.2/sql/opt_range.cc:3514
#11 0x00007f9fdb7ba478 in JOIN::optimize_inner (this=this@entry=0x7f9fd0464c88) at /data/src/10.2/sql/sql_select.cc:1369
#12 0x00007f9fdb7bd6d3 in JOIN::optimize (this=this@entry=0x7f9fd0464c88) at /data/src/10.2/sql/sql_select.cc:1076
#13 0x00007f9fdb7be079 in mysql_select (thd=thd@entry=0x7f9fd0416070, tables=0x7f9fd0464278, wild_num=1, fields=..., conds=0x7f9fd0464a30, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2147748608, result=0x7f9fd0464c68, unit=0x7f9fd0419b48, select_lex=0x7f9fd041a278) at /data/src/10.2/sql/sql_select.cc:3570
#14 0x00007f9fdb7be331 in handle_select (thd=thd@entry=0x7f9fd0416070, lex=lex@entry=0x7f9fd0419a80, result=result@entry=0x7f9fd0464c68, setup_tables_done_option=setup_tables_done_option@entry=0) at /data/src/10.2/sql/sql_select.cc:373
#15 0x00007f9fdb74eb5d in execute_sqlcom_select (thd=thd@entry=0x7f9fd0416070, all_tables=0x7f9fd0464278) at /data/src/10.2/sql/sql_parse.cc:6399
#16 0x00007f9fdb757a0e in mysql_execute_command (thd=thd@entry=0x7f9fd0416070) at /data/src/10.2/sql/sql_parse.cc:3423
#17 0x00007f9fdb761776 in mysql_parse (thd=thd@entry=0x7f9fd0416070, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x7f9fdc7638e0, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /data/src/10.2/sql/sql_parse.cc:7842
#18 0x00007f9fdb7639ff in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x7f9fd0416070, packet=packet@entry=0x7f9fd0458071 "select * from t1 where f = 1", packet_length=packet_length@entry=28, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /data/src/10.2/sql/sql_parse.cc:1799
#19 0x00007f9fdb766531 in do_command (thd=0x7f9fd0416070) at /data/src/10.2/sql/sql_parse.cc:1359
#20 0x00007f9fdb854480 in do_handle_one_connection (connect=connect@entry=0x7f9fd8871410) at /data/src/10.2/sql/sql_connect.cc:1354
#21 0x00007f9fdb854669 in handle_one_connection (arg=arg@entry=0x7f9fd8871410) at /data/src/10.2/sql/sql_connect.cc:1260
#22 0x00007f9fdbb02943 in pfs_spawn_thread (arg=0x7f9fd880f9f0) at /data/src/10.2/storage/perfschema/pfs.cc:1862
#23 0x00007f9fdae550a4 in start_thread (arg=0x7f9fdc765300) at pthread_create.c:309
#24 0x00007f9fd967587d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
relates to
MDEV-8348
Add catchall to all table partitioning for list partitions
Closed
Elena Stepanova
made changes -
2017-01-24 12:29
Priority
Major
[ 3
]
Critical
[ 2
]
Oleksandr Byelkin
made changes -
2017-02-02 11:41
Status
Open
[ 1
]
In Progress
[ 3
]
Oleksandr Byelkin
made changes -
2017-02-02 12:57
Assignee
Oleksandr Byelkin
[ sanja
]
Sergei Petrunia
[ psergey
]
Status
In Progress
[ 3
]
In Review
[ 10002
]
Sergei Petrunia
made changes -
2017-02-03 14:05
Assignee
Sergei Petrunia
[ psergey
]
Oleksandr Byelkin
[ sanja
]
Status
In Review
[ 10002
]
Stalled
[ 10000
]
Oleksandr Byelkin
made changes -
2017-02-08 09:59
Fix Version/s
10.2.4
[ 22116
]
Fix Version/s
10.2
[ 14601
]
Resolution
Fixed
[ 1
]
Status
Stalled
[ 10000
]
Closed
[ 6
]
Sergei Golubchik
made changes -
2021-12-06 21:44
Workflow
MariaDB v3
[ 79013
]
MariaDB v4
[ 151452
]
{"report":{"fcp":941.6999998092651,"ttfb":231.89999985694885,"pageVisibility":"visible","entityId":59613,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"b892db49-f66a-4f5d-9ea9-e56d02ed5d7d","navigationType":0,"readyForUser":1033.3999998569489,"redirectCount":0,"resourceLoadedEnd":1111.1999998092651,"resourceLoadedStart":241.09999990463257,"resourceTiming":[{"duration":212.90000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":241.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":241.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":454,"responseStart":0,"secureConnectionStart":0},{"duration":212.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":241.39999985694885,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":241.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":454.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":222.20000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":241.59999990463257,"connectEnd":241.59999990463257,"connectStart":241.59999990463257,"domainLookupEnd":241.59999990463257,"domainLookupStart":241.59999990463257,"fetchStart":241.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":241.59999990463257,"responseEnd":463.7999999523163,"responseStart":463.7999999523163,"secureConnectionStart":241.59999990463257},{"duration":270.2999999523163,"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":241.79999995231628,"connectEnd":241.79999995231628,"connectStart":241.79999995231628,"domainLookupEnd":241.79999995231628,"domainLookupStart":241.79999995231628,"fetchStart":241.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":241.79999995231628,"responseEnd":512.0999999046326,"responseStart":512.0999999046326,"secureConnectionStart":241.79999995231628},{"duration":274.19999980926514,"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":242,"connectEnd":242,"connectStart":242,"domainLookupEnd":242,"domainLookupStart":242,"fetchStart":242,"redirectEnd":0,"redirectStart":0,"requestStart":242,"responseEnd":516.1999998092651,"responseStart":516.1999998092651,"secureConnectionStart":242},{"duration":275,"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":242.09999990463257,"connectEnd":242.09999990463257,"connectStart":242.09999990463257,"domainLookupEnd":242.09999990463257,"domainLookupStart":242.09999990463257,"fetchStart":242.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":242.09999990463257,"responseEnd":517.0999999046326,"responseStart":517,"secureConnectionStart":242.09999990463257},{"duration":275.2000000476837,"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":242.29999995231628,"connectEnd":242.29999995231628,"connectStart":242.29999995231628,"domainLookupEnd":242.29999995231628,"domainLookupStart":242.29999995231628,"fetchStart":242.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":242.29999995231628,"responseEnd":517.5,"responseStart":517.5,"secureConnectionStart":242.29999995231628},{"duration":368.40000009536743,"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":242.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":242.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":611,"responseStart":0,"secureConnectionStart":0},{"duration":275.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":242.69999980926514,"connectEnd":242.69999980926514,"connectStart":242.69999980926514,"domainLookupEnd":242.69999980926514,"domainLookupStart":242.69999980926514,"fetchStart":242.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":242.69999980926514,"responseEnd":518,"responseStart":518,"secureConnectionStart":242.69999980926514},{"duration":368.2999999523163,"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":242.89999985694885,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":242.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":611.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":275.59999990463257,"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":243,"connectEnd":243,"connectStart":243,"domainLookupEnd":243,"domainLookupStart":243,"fetchStart":243,"redirectEnd":0,"redirectStart":0,"requestStart":243,"responseEnd":518.5999999046326,"responseStart":518.5999999046326,"secureConnectionStart":243},{"duration":416.7999999523163,"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":251.5,"connectEnd":251.5,"connectStart":251.5,"domainLookupEnd":251.5,"domainLookupStart":251.5,"fetchStart":251.5,"redirectEnd":0,"redirectStart":0,"requestStart":251.5,"responseEnd":668.2999999523163,"responseStart":668.2999999523163,"secureConnectionStart":251.5},{"duration":506.90000009536743,"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":253.69999980926514,"connectEnd":253.69999980926514,"connectStart":253.69999980926514,"domainLookupEnd":253.69999980926514,"domainLookupStart":253.69999980926514,"fetchStart":253.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":253.69999980926514,"responseEnd":760.5999999046326,"responseStart":760.5999999046326,"secureConnectionStart":253.69999980926514},{"duration":48.799999952316284,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":641,"connectEnd":641,"connectStart":641,"domainLookupEnd":641,"domainLookupStart":641,"fetchStart":641,"redirectEnd":0,"redirectStart":0,"requestStart":641,"responseEnd":689.7999999523163,"responseStart":689.7999999523163,"secureConnectionStart":641},{"duration":216.5,"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&whisper-enabled=true","startTime":894.6999998092651,"connectEnd":894.6999998092651,"connectStart":894.6999998092651,"domainLookupEnd":894.6999998092651,"domainLookupStart":894.6999998092651,"fetchStart":894.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":894.6999998092651,"responseEnd":1111.1999998092651,"responseStart":1111.1999998092651,"secureConnectionStart":894.6999998092651},{"duration":198.89999985694885,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":935,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":935,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1133.8999998569489,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":50,"responseStart":232,"responseEnd":253,"domLoading":239,"domInteractive":1137,"domContentLoadedEventStart":1137,"domContentLoadedEventEnd":1189,"domComplete":1420,"loadEventStart":1420,"loadEventEnd":1421,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1109.8999998569489},{"name":"bigPipe.sidebar-id.end","time":1110.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.start","time":1110.8999998569489},{"name":"bigPipe.activity-panel-pipe-id.end","time":1113.6999998092651},{"name":"activityTabFullyLoaded","time":1213.5999999046326}],"measures":[],"correlationId":"efd61d2d242a52","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":115,"dbReadsTimeInMs":18,"dbConnsTimeInMs":28,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}