Note: The failure became possible after MDEV-371 , without it the key without a length in the table definition is rejected.
CREATE TABLE t1 (
pk INT ,
f TEXT,
PRIMARY KEY (pk),
KEY (f)
) WITH SYSTEM VERSIONING;
INSERT INTO t1 VALUES (1, 'foo' );
UPDATE t1 SET f = 'bar' ;
# Cleanup
DROP TABLE t1;
10.4 fb01193c
mysqld: /data/src/10.4/sql/handler.h:3175: int handler::ha_index_init(uint, bool): Assertion `inited==NONE' failed.
190224 19:19:15 [ERROR] mysqld got signal 6 ;
#7 0x00007fedfe632ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#8 0x000055b91c552329 in handler::ha_index_init (this=0x7fede812ef98, idx=1, sorted=false) at /data/src/10.4/sql/handler.h:3175
#9 0x000055b91c94f191 in check_duplicate_long_entry_key (table=0x7fede812e130, h=0x7fede812ef98, new_rec=0x7fede8008e80 "\374\001", key_no=1) at /data/src/10.4/sql/handler.cc:6512
#10 0x000055b91c94f750 in check_duplicate_long_entries (table=0x7fede812e130, h=0x7fede812ef98, new_rec=0x7fede8008e80 "\374\001") at /data/src/10.4/sql/handler.cc:6583
#11 0x000055b91c94fa27 in handler::ha_write_row (this=0x7fede812ef98, buf=0x7fede8008e80 "\374\001") at /data/src/10.4/sql/handler.cc:6660
#12 0x000055b91c5b6b2e in vers_insert_history_row (table=0x7fede812e130) at /data/src/10.4/sql/sql_insert.cc:1653
#13 0x000055b91c703f52 in mysql_update (thd=0x7fede8000b00, table_list=0x7fede8015580, fields=..., values=..., conds=0x0, order_num=0, order=0x0, limit=18446744073709551615, handle_duplicates=DUP_ERROR, ignore=false, found_return=0x7fedf87ab840, updated_return=0x7fedf87ab900) at /data/src/10.4/sql/sql_update.cc:1032
#14 0x000055b91c5ff795 in mysql_execute_command (thd=0x7fede8000b00) at /data/src/10.4/sql/sql_parse.cc:4647
#15 0x000055b91c60bc72 in mysql_parse (thd=0x7fede8000b00, rawbuf=0x7fede80154a8 "UPDATE t1 SET f = 'bar'", length=23, parser_state=0x7fedf87ac180, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:8157
#16 0x000055b91c5f7360 in dispatch_command (command=COM_QUERY, thd=0x7fede8000b00, packet=0x7fede800a761 "UPDATE t1 SET f = 'bar'", packet_length=23, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1829
#17 0x000055b91c5f5b34 in do_command (thd=0x7fede8000b00) at /data/src/10.4/sql/sql_parse.cc:1358
#18 0x000055b91c76f837 in do_handle_one_connection (connect=0x55b91f234bb0) at /data/src/10.4/sql/sql_connect.cc:1399
#19 0x000055b91c76f5a8 in handle_one_connection (arg=0x55b91f234bb0) at /data/src/10.4/sql/sql_connect.cc:1302
#20 0x000055b91cc66979 in pfs_spawn_thread (arg=0x55b91f327220) at /data/src/10.4/storage/perfschema/pfs.cc:1862
#21 0x00007fee00309494 in start_thread (arg=0x7fedf87ad700) at pthread_create.c:333
#22 0x00007fedfe6ef93f in clone () from /lib/x86_64-linux-gnu/libc.so.6
Sergei Golubchik
made changes -
2019-02-26 21:46
Assignee
Sachin Setiya
[ sachin.setiya.007
]
Sergei Golubchik
[ serg
]
Sergei Golubchik
made changes -
2019-02-26 21:46
Status
Open
[ 1
]
In Progress
[ 3
]
Sergei Golubchik
made changes -
2019-02-26 21:46
Status
In Progress
[ 3
]
Stalled
[ 10000
]
Sergei Golubchik
made changes -
2019-02-27 04:05
Status
Stalled
[ 10000
]
In Progress
[ 3
]
Sergei Golubchik
made changes -
2019-02-27 17:30
Status
In Progress
[ 3
]
Stalled
[ 10000
]
Sergei Golubchik
made changes -
2019-02-28 14:41
Fix Version/s
10.4.4
[ 23310
]
Fix Version/s
10.4
[ 22408
]
Resolution
Fixed
[ 1
]
Status
Stalled
[ 10000
]
Closed
[ 6
]
Sergei Golubchik
made changes -
2021-12-06 21:49
Workflow
MariaDB v3
[ 92822
]
MariaDB v4
[ 155790
]
{"report":{"fcp":1964.2000002861023,"ttfb":373.2000002861023,"pageVisibility":"visible","entityId":72819,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"05963877-2f0a-49c5-b2c1-d6b4a3179d2f","navigationType":0,"readyForUser":2137.2000002861023,"redirectCount":0,"resourceLoadedEnd":1631.8000001907349,"resourceLoadedStart":381.2000002861023,"resourceTiming":[{"duration":418.19999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":381.2000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":381.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":799.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":418.5,"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":381.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":381.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":799.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":866.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":381.7000002861023,"connectEnd":381.7000002861023,"connectStart":381.7000002861023,"domainLookupEnd":381.7000002861023,"domainLookupStart":381.7000002861023,"fetchStart":381.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":803.5,"responseEnd":1248.2000002861023,"responseStart":842.5999999046326,"secureConnectionStart":381.7000002861023},{"duration":1170.5999999046326,"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":381.80000019073486,"connectEnd":381.80000019073486,"connectStart":381.80000019073486,"domainLookupEnd":381.80000019073486,"domainLookupStart":381.80000019073486,"fetchStart":381.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":809.8000001907349,"responseEnd":1552.4000000953674,"responseStart":847,"secureConnectionStart":381.80000019073486},{"duration":476.30000019073486,"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":382,"connectEnd":382,"connectStart":382,"domainLookupEnd":382,"domainLookupStart":382,"fetchStart":382,"redirectEnd":0,"redirectStart":0,"requestStart":810.0999999046326,"responseEnd":858.3000001907349,"responseStart":849.2000002861023,"secureConnectionStart":382},{"duration":478.69999980926514,"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":382.2000002861023,"connectEnd":382.2000002861023,"connectStart":382.2000002861023,"domainLookupEnd":382.2000002861023,"domainLookupStart":382.2000002861023,"fetchStart":382.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":812.4000000953674,"responseEnd":860.9000000953674,"responseStart":858.8000001907349,"secureConnectionStart":382.2000002861023},{"duration":493.69999980926514,"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":382.40000009536743,"connectEnd":382.40000009536743,"connectStart":382.40000009536743,"domainLookupEnd":382.40000009536743,"domainLookupStart":382.40000009536743,"fetchStart":382.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":821.0999999046326,"responseEnd":876.0999999046326,"responseStart":872.8000001907349,"secureConnectionStart":382.40000009536743},{"duration":427,"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":382.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":382.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":809.5,"responseStart":0,"secureConnectionStart":0},{"duration":493.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":382.80000019073486,"connectEnd":382.80000019073486,"connectStart":382.80000019073486,"domainLookupEnd":382.80000019073486,"domainLookupStart":382.80000019073486,"fetchStart":382.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":823.4000000953674,"responseEnd":876.4000000953674,"responseStart":873.5,"secureConnectionStart":382.80000019073486},{"duration":429.30000019073486,"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":383,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":383,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":812.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":497.5,"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":383.09999990463257,"connectEnd":383.09999990463257,"connectStart":383.09999990463257,"domainLookupEnd":383.09999990463257,"domainLookupStart":383.09999990463257,"fetchStart":383.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":824,"responseEnd":880.5999999046326,"responseStart":874.5,"secureConnectionStart":383.09999990463257},{"duration":1237.7000002861023,"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":384.09999990463257,"connectEnd":384.09999990463257,"connectStart":384.09999990463257,"domainLookupEnd":384.09999990463257,"domainLookupStart":384.09999990463257,"fetchStart":384.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":949.2000002861023,"responseEnd":1621.8000001907349,"responseStart":1619.0999999046326,"secureConnectionStart":384.09999990463257},{"duration":1247.5999999046326,"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":384.2000002861023,"connectEnd":384.2000002861023,"connectStart":384.2000002861023,"domainLookupEnd":384.2000002861023,"domainLookupStart":384.2000002861023,"fetchStart":384.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":1079.4000000953674,"responseEnd":1631.8000001907349,"responseStart":1626,"secureConnectionStart":384.2000002861023},{"duration":276.90000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1445.0999999046326,"connectEnd":1445.0999999046326,"connectStart":1445.0999999046326,"domainLookupEnd":1445.0999999046326,"domainLookupStart":1445.0999999046326,"fetchStart":1445.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":1688.7000002861023,"responseEnd":1722,"responseStart":1721.5,"secureConnectionStart":1445.0999999046326}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":148,"responseStart":373,"responseEnd":378,"domLoading":379,"domInteractive":2240,"domContentLoadedEventStart":2240,"domContentLoadedEventEnd":2306,"domComplete":3103,"loadEventStart":3103,"loadEventEnd":3104,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2204.5},{"name":"bigPipe.sidebar-id.end","time":2205.4000000953674},{"name":"bigPipe.activity-panel-pipe-id.start","time":2205.5},{"name":"bigPipe.activity-panel-pipe-id.end","time":2216.7000002861023},{"name":"activityTabFullyLoaded","time":2323.7000002861023}],"measures":[],"correlationId":"878a13ffa017d4","effectiveType":"4g","downlink":9.6,"rtt":0,"serverDuration":157,"dbReadsTimeInMs":27,"dbConnsTimeInMs":40,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}