Note: The problem is probably a side-effect of MDEV-15318 and will go away after it's fixed, but it's better to have it for the record, searchable in JIRA. Also, please note that MyISAM and InnoDB don't crash in the same situation.
INSTALL SONAME 'ha_rocksdb';
|
|
CREATE TABLE t1 (i INT);
|
INSERT INTO t1 VALUES (1);
|
CREATE TABLE t2 ENGINE=RocksDB AS SELECT VALUES(i) AS a FROM t1;
|
DELETE FROM t2;
|
|
# Cleanup
|
DROP TABLE IF EXISTS t1, t2;
|
UNINSTALL SONAME 'ha_rocksdb';
|
10.2 49bcc82686
|
#3 <signal handler called>
|
#4 0x00007f2eff6641d3 in Field::set_null (this=0x7f2f04378f88, row_offset=0) at /data/src/10.2/sql/./field.h:1135
|
#5 0x00007f2eff6425a7 in myrocks::ha_rocksdb::convert_record_from_storage_format (this=0x7f2f04378758, key=0x7f2f14244ba0, value=0x7f2f14244b40, buf=0x7f2f04378f68 "\377", '\245' <repeats 15 times>, "\210\217\067\004/\177") at /data/src/10.2/storage/rocksdb/ha_rocksdb.cc:5345
|
#6 0x00007f2eff641da8 in myrocks::ha_rocksdb::convert_record_from_storage_format (this=0x7f2f04378758, key=0x7f2f14244ba0, buf=0x7f2f04378f68 "\377", '\245' <repeats 15 times>, "\210\217\067\004/\177") at /data/src/10.2/storage/rocksdb/ha_rocksdb.cc:5150
|
#7 0x00007f2eff64ef04 in myrocks::ha_rocksdb::rnd_next_with_direction (this=0x7f2f04378758, buf=0x7f2f04378f68 "\377", '\245' <repeats 15 times>, "\210\217\067\004/\177", move_forward=true) at /data/src/10.2/storage/rocksdb/ha_rocksdb.cc:9352
|
#8 0x00007f2eff64e9cc in myrocks::ha_rocksdb::rnd_next (this=0x7f2f04378758, buf=0x7f2f04378f68 "\377", '\245' <repeats 15 times>, "\210\217\067\004/\177") at /data/src/10.2/storage/rocksdb/ha_rocksdb.cc:9251
|
#9 0x000055de70bc0c67 in handler::ha_rnd_next (this=0x7f2f04378758, buf=0x7f2f04378f68 "\377", '\245' <repeats 15 times>, "\210\217\067\004/\177") at /data/src/10.2/sql/handler.cc:2576
|
#10 0x000055de70d2cd8c in rr_sequential (info=0x7f2f14244ed0) at /data/src/10.2/sql/records.cc:485
|
#11 0x000055de70d5862c in mysql_delete (thd=0x7f2f04000b00, table_list=0x7f2f040125c0, conds=0x0, order_list=0x7f2f04005040, limit=18446744073709551615, options=0, result=0x0) at /data/src/10.2/sql/sql_delete.cc:559
|
#12 0x000055de7094d230 in mysql_execute_command (thd=0x7f2f04000b00) at /data/src/10.2/sql/sql_parse.cc:4616
|
#13 0x000055de709575f1 in mysql_parse (thd=0x7f2f04000b00, rawbuf=0x7f2f040124f8 "DELETE FROM t2", length=14, parser_state=0x7f2f14246200, is_com_multi=false, is_next_command=false) at /data/src/10.2/sql/sql_parse.cc:7902
|
#14 0x000055de70945511 in dispatch_command (command=COM_QUERY, thd=0x7f2f04000b00, packet=0x7f2f0416b561 "DELETE FROM t2", packet_length=14, is_com_multi=false, is_next_command=false) at /data/src/10.2/sql/sql_parse.cc:1806
|
#15 0x000055de70943e74 in do_command (thd=0x7f2f04000b00) at /data/src/10.2/sql/sql_parse.cc:1360
|
#16 0x000055de70a9264a in do_handle_one_connection (connect=0x55de72f433e0) at /data/src/10.2/sql/sql_connect.cc:1335
|
#17 0x000055de70a923d7 in handle_one_connection (arg=0x55de72f433e0) at /data/src/10.2/sql/sql_connect.cc:1241
|
#18 0x000055de70eb19a4 in pfs_spawn_thread (arg=0x55de72f1dea0) at /data/src/10.2/storage/perfschema/pfs.cc:1862
|
#19 0x00007f2f1bc41494 in start_thread (arg=0x7f2f14247700) at pthread_create.c:333
|
#20 0x00007f2f1a02793f in clone () from /lib/x86_64-linux-gnu/libc.so.6
|
- is caused by
-
MDEV-15318
CREATE .. SELECT VALUES produces invalid table structure
-
-
Closed
{"report":{"fcp":1276.3999996185303,"ttfb":297.5999994277954,"pageVisibility":"visible","entityId":65885,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"0f065816-c9ec-4df3-8da1-ddb279b9039d","navigationType":0,"readyForUser":1387.5999994277954,"redirectCount":0,"resourceLoadedEnd":1529.2999992370605,"resourceLoadedStart":303.3999996185303,"resourceTiming":[{"duration":416.19999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":303.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":303.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":719.5999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":416.5,"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":303.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":303.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":720.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":485.1000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":303.8999996185303,"connectEnd":303.8999996185303,"connectStart":303.8999996185303,"domainLookupEnd":303.8999996185303,"domainLookupStart":303.8999996185303,"fetchStart":303.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":303.8999996185303,"responseEnd":789,"responseStart":789,"secureConnectionStart":303.8999996185303},{"duration":590.5,"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":304.19999980926514,"connectEnd":304.19999980926514,"connectStart":304.19999980926514,"domainLookupEnd":304.19999980926514,"domainLookupStart":304.19999980926514,"fetchStart":304.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":304.19999980926514,"responseEnd":894.6999998092651,"responseStart":894.6999998092651,"secureConnectionStart":304.19999980926514},{"duration":594.6000003814697,"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":304.3999996185303,"connectEnd":304.3999996185303,"connectStart":304.3999996185303,"domainLookupEnd":304.3999996185303,"domainLookupStart":304.3999996185303,"fetchStart":304.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":304.3999996185303,"responseEnd":899,"responseStart":899,"secureConnectionStart":304.3999996185303},{"duration":594.8000001907349,"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":304.5999994277954,"connectEnd":304.5999994277954,"connectStart":304.5999994277954,"domainLookupEnd":304.5999994277954,"domainLookupStart":304.5999994277954,"fetchStart":304.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":304.5999994277954,"responseEnd":899.3999996185303,"responseStart":899.3999996185303,"secureConnectionStart":304.5999994277954},{"duration":595,"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":304.79999923706055,"connectEnd":304.79999923706055,"connectStart":304.79999923706055,"domainLookupEnd":304.79999923706055,"domainLookupStart":304.79999923706055,"fetchStart":304.79999923706055,"redirectEnd":0,"redirectStart":0,"requestStart":304.79999923706055,"responseEnd":899.7999992370605,"responseStart":899.7999992370605,"secureConnectionStart":304.79999923706055},{"duration":635,"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":305,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":305,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":940,"responseStart":0,"secureConnectionStart":0},{"duration":595.1000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":305.0999994277954,"connectEnd":305.0999994277954,"connectStart":305.0999994277954,"domainLookupEnd":305.0999994277954,"domainLookupStart":305.0999994277954,"fetchStart":305.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":305.0999994277954,"responseEnd":900.1999998092651,"responseStart":900.1999998092651,"secureConnectionStart":305.0999994277954},{"duration":634.8000001907349,"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":305.29999923706055,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":305.29999923706055,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":940.0999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":595.3999996185303,"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":305.5,"connectEnd":305.5,"connectStart":305.5,"domainLookupEnd":305.5,"domainLookupStart":305.5,"fetchStart":305.5,"redirectEnd":0,"redirectStart":0,"requestStart":305.5,"responseEnd":900.8999996185303,"responseStart":900.8999996185303,"secureConnectionStart":305.5},{"duration":957.7999992370605,"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":306.5,"connectEnd":306.5,"connectStart":306.5,"domainLookupEnd":306.5,"domainLookupStart":306.5,"fetchStart":306.5,"redirectEnd":0,"redirectStart":0,"requestStart":306.5,"responseEnd":1264.2999992370605,"responseStart":1264.2999992370605,"secureConnectionStart":306.5},{"duration":1206.0999994277954,"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":306.5,"connectEnd":306.5,"connectStart":306.5,"domainLookupEnd":306.5,"domainLookupStart":306.5,"fetchStart":306.5,"redirectEnd":0,"redirectStart":0,"requestStart":306.5,"responseEnd":1512.5999994277954,"responseStart":1512.5999994277954,"secureConnectionStart":306.5},{"duration":292.30000019073486,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":972.3999996185303,"connectEnd":972.3999996185303,"connectStart":972.3999996185303,"domainLookupEnd":972.3999996185303,"domainLookupStart":972.3999996185303,"fetchStart":972.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":972.3999996185303,"responseEnd":1264.6999998092651,"responseStart":1264.6999998092651,"secureConnectionStart":972.3999996185303},{"duration":272.80000019073486,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1269.7999992370605,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1269.7999992370605,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1542.5999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":236.79999923706055,"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":1292.5,"connectEnd":1292.5,"connectStart":1292.5,"domainLookupEnd":1292.5,"domainLookupStart":1292.5,"fetchStart":1292.5,"redirectEnd":0,"redirectStart":0,"requestStart":1292.5,"responseEnd":1529.2999992370605,"responseStart":1529.2999992370605,"secureConnectionStart":1292.5}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":146,"responseStart":297,"responseEnd":299,"domLoading":301,"domInteractive":1566,"domContentLoadedEventStart":1566,"domContentLoadedEventEnd":1607,"domComplete":2269,"loadEventStart":2269,"loadEventEnd":2270,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1545.1999998092651},{"name":"bigPipe.sidebar-id.end","time":1546.1999998092651},{"name":"bigPipe.activity-panel-pipe-id.start","time":1546.2999992370605},{"name":"bigPipe.activity-panel-pipe-id.end","time":1548.6999998092651},{"name":"activityTabFullyLoaded","time":1614.7999992370605}],"measures":[],"correlationId":"1f9b2a1e03d2b7","effectiveType":"4g","downlink":9.5,"rtt":0,"serverDuration":92,"dbReadsTimeInMs":10,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}