Note: The failure became possible after MDEV-371, without it ALTER is rejected due to the missing length in the key definition.
--source include/have_innodb.inc
|
|
CREATE TABLE t1 (
|
pk INT,
|
a INT,
|
b VARCHAR(1024),
|
PRIMARY KEY (pk),
|
KEY (a),
|
FULLTEXT KEY(b)
|
) ENGINE=InnoDB;
|
|
ALTER TABLE t1 MODIFY a LINESTRING;
|
|
# Cleanup
|
DROP TABLE t1;
|
10.4 fb01193c
|
2019-02-25 00:14:51 0x7f4913fff700 InnoDB: Assertion failure in file /data/src/10.4/storage/innobase/fts/fts0fts.cc line 332
|
InnoDB: We intentionally generate a memory trap.
|
|
#5 0x00007f491ece63fa in abort () from /lib/x86_64-linux-gnu/libc.so.6
|
#6 0x000055f9150fdeb6 in ut_dbg_assertion_failed (expr=0x0, file=0x55f9157ba5c8 "/data/src/10.4/storage/innobase/fts/fts0fts.cc", line=332) at /data/src/10.4/storage/innobase/ut/ut0dbg.cc:60
|
#7 0x000055f91522c551 in fts_get_charset (prtype=1283) at /data/src/10.4/storage/innobase/fts/fts0fts.cc:332
|
#8 0x000055f91522dbe6 in fts_index_get_charset (index=0x7f48c81a9948) at /data/src/10.4/storage/innobase/fts/fts0fts.cc:968
|
#9 0x000055f91522dd22 in fts_cache_index_cache_create (table=0x7f48c807a458, index=0x7f48c81a9948) at /data/src/10.4/storage/innobase/fts/fts0fts.cc:1020
|
#10 0x000055f9151b9e68 in dict_index_build_internal_fts (index=0x7f48c8081bb8) at /data/src/10.4/storage/innobase/dict/dict0dict.cc:3129
|
#11 0x000055f9151b7e4e in dict_index_add_to_cache (index=0x7f48c8081bb8, page_no=4294967295, strict=true, err=0x7f4913ff9924, add_v=0x0) at /data/src/10.4/storage/innobase/dict/dict0dict.cc:2354
|
#12 0x000055f9151a9d2d in dict_create_index_step (thr=0x7f48c81a6ff0) at /data/src/10.4/storage/innobase/dict/dict0crea.cc:1346
|
#13 0x000055f914fe30cd in que_thr_step (thr=0x7f48c81a6ff0) at /data/src/10.4/storage/innobase/que/que0que.cc:1052
|
#14 0x000055f914fe327d in que_run_threads_low (thr=0x7f48c81a6ff0) at /data/src/10.4/storage/innobase/que/que0que.cc:1104
|
#15 0x000055f914fe346e in que_run_threads (thr=0x7f48c81a6ff0) at /data/src/10.4/storage/innobase/que/que0que.cc:1144
|
#16 0x000055f9150402c8 in row_create_index_for_mysql (index=0x7f48c8081bb8, trx=0x7f4918aee268, field_lengths=0x0) at /data/src/10.4/storage/innobase/row/row0mysql.cc:2560
|
#17 0x000055f914ef4f8b in create_index (trx=0x7f4918aee268, form=0x7f4913ffa200, table=0x7f48c807a458, key_num=2) at /data/src/10.4/storage/innobase/handler/ha_innodb.cc:11228
|
#18 0x000055f914ee11fe in create_table_info_t::create_table (this=0x7f4913ff9ca0, create_fk=true) at /data/src/10.4/storage/innobase/handler/ha_innodb.cc:12451
|
#19 0x000055f914ef56e8 in ha_innobase::create (this=0x7f48c8078b48, name=0x7f4913ffc94d "./test/#sql-2bdd_9", form=0x7f4913ffa200, create_info=0x7f4913ffccd0, file_per_table=true, trx=0x7f4918aee268) at /data/src/10.4/storage/innobase/handler/ha_innodb.cc:12683
|
#20 0x000055f914ee1ad1 in ha_innobase::create (this=0x7f48c8078b48, name=0x7f4913ffc94d "./test/#sql-2bdd_9", form=0x7f4913ffa200, create_info=0x7f4913ffccd0) at /data/src/10.4/storage/innobase/handler/ha_innodb.cc:12736
|
#21 0x000055f914b9aaf0 in handler::ha_create (this=0x7f48c8078b48, name=0x7f4913ffc94d "./test/#sql-2bdd_9", form=0x7f4913ffa200, info_arg=0x7f4913ffccd0) at /data/src/10.4/sql/handler.cc:4816
|
#22 0x000055f914b9bb65 in ha_create_table (thd=0x7f48c8000b00, path=0x7f4913ffc94d "./test/#sql-2bdd_9", db=0x7f48c8015c48 "test", table_name=0x7f48c8015568 "t1", create_info=0x7f4913ffccd0, frm=0x7f4913ffb8a0) at /data/src/10.4/sql/handler.cc:5190
|
#23 0x000055f91493762d in mysql_alter_table (thd=0x7f48c8000b00, new_db=0x7f48c8005290, new_name=0x7f48c8005690, create_info=0x7f4913ffccd0, table_list=0x7f48c80155a0, alter_info=0x7f4913ffcc10, order_num=0, order=0x0, ignore=false) at /data/src/10.4/sql/sql_table.cc:9976
|
#24 0x000055f9149c5922 in Sql_cmd_alter_table::execute (this=0x7f48c8015d70, thd=0x7f48c8000b00) at /data/src/10.4/sql/sql_alter.cc:499
|
#25 0x000055f914856aca in mysql_execute_command (thd=0x7f48c8000b00) at /data/src/10.4/sql/sql_parse.cc:6346
|
#26 0x000055f91485bc72 in mysql_parse (thd=0x7f48c8000b00, rawbuf=0x7f48c80154a8 "ALTER TABLE t1 MODIFY a LINESTRING", length=34, parser_state=0x7f4913ffe180, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:8157
|
#27 0x000055f914847360 in dispatch_command (command=COM_QUERY, thd=0x7f48c8000b00, packet=0x7f48c8139fd1 "ALTER TABLE t1 MODIFY a LINESTRING", packet_length=34, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1829
|
#28 0x000055f914845b34 in do_command (thd=0x7f48c8000b00) at /data/src/10.4/sql/sql_parse.cc:1358
|
#29 0x000055f9149bf837 in do_handle_one_connection (connect=0x55f917e1dd10) at /data/src/10.4/sql/sql_connect.cc:1399
|
#30 0x000055f9149bf5a8 in handle_one_connection (arg=0x55f917e1dd10) at /data/src/10.4/sql/sql_connect.cc:1302
|
#31 0x000055f914eb6979 in pfs_spawn_thread (arg=0x55f917e63b80) at /data/src/10.4/storage/perfschema/pfs.cc:1862
|
#32 0x00007f49209b4494 in start_thread (arg=0x7f4913fff700) at pthread_create.c:333
|
#33 0x00007f491ed9a93f in clone () from /lib/x86_64-linux-gnu/libc.so.6
|
- is caused by
-
MDEV-371
Unique indexes for blobs
-
-
Closed
{"report":{"fcp":876.6000001430511,"ttfb":142.10000014305115,"pageVisibility":"visible","entityId":72824,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"866533da-82b7-4feb-9210-e205c1ef7696","navigationType":0,"readyForUser":939,"redirectCount":0,"resourceLoadedEnd":1141.2999999523163,"resourceLoadedStart":176.40000009536743,"resourceTiming":[{"duration":271.39999985694885,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":176.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":176.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":447.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":271.2999999523163,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":176.60000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":176.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":447.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":281,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":176.70000004768372,"connectEnd":176.70000004768372,"connectStart":176.70000004768372,"domainLookupEnd":176.70000004768372,"domainLookupStart":176.70000004768372,"fetchStart":176.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":176.70000004768372,"responseEnd":457.7000000476837,"responseStart":457.7000000476837,"secureConnectionStart":176.70000004768372},{"duration":305.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":176.79999995231628,"connectEnd":176.79999995231628,"connectStart":176.79999995231628,"domainLookupEnd":176.79999995231628,"domainLookupStart":176.79999995231628,"fetchStart":176.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":176.79999995231628,"responseEnd":482.7000000476837,"responseStart":482.7000000476837,"secureConnectionStart":176.79999995231628},{"duration":309.39999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":176.90000009536743,"connectEnd":176.90000009536743,"connectStart":176.90000009536743,"domainLookupEnd":176.90000009536743,"domainLookupStart":176.90000009536743,"fetchStart":176.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":176.90000009536743,"responseEnd":486.2999999523163,"responseStart":486.2999999523163,"secureConnectionStart":176.90000009536743},{"duration":309.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":177.10000014305115,"connectEnd":177.10000014305115,"connectStart":177.10000014305115,"domainLookupEnd":177.10000014305115,"domainLookupStart":177.10000014305115,"fetchStart":177.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":177.10000014305115,"responseEnd":486.7999999523163,"responseStart":486.7999999523163,"secureConnectionStart":177.10000014305115},{"duration":310,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":177.10000014305115,"connectEnd":177.10000014305115,"connectStart":177.10000014305115,"domainLookupEnd":177.10000014305115,"domainLookupStart":177.10000014305115,"fetchStart":177.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":177.10000014305115,"responseEnd":487.10000014305115,"responseStart":487.10000014305115,"secureConnectionStart":177.10000014305115},{"duration":310.2999999523163,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":177.20000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":177.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":487.5,"responseStart":0,"secureConnectionStart":0},{"duration":310.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":177.20000004768372,"connectEnd":177.20000004768372,"connectStart":177.20000004768372,"domainLookupEnd":177.20000004768372,"domainLookupStart":177.20000004768372,"fetchStart":177.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":177.20000004768372,"responseEnd":487.5,"responseStart":487.5,"secureConnectionStart":177.20000004768372},{"duration":310.7000000476837,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/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":177.29999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":177.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":488,"responseStart":0,"secureConnectionStart":0},{"duration":310.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/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":177.60000014305115,"connectEnd":177.60000014305115,"connectStart":177.60000014305115,"domainLookupEnd":177.60000014305115,"domainLookupStart":177.60000014305115,"fetchStart":177.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":177.60000014305115,"responseEnd":488.10000014305115,"responseStart":488.10000014305115,"secureConnectionStart":177.60000014305115},{"duration":446.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":178.20000004768372,"connectEnd":178.20000004768372,"connectStart":178.20000004768372,"domainLookupEnd":178.20000004768372,"domainLookupStart":178.20000004768372,"fetchStart":178.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":178.20000004768372,"responseEnd":625.1000001430511,"responseStart":625.1000001430511,"secureConnectionStart":178.20000004768372},{"duration":963,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":178.29999995231628,"connectEnd":178.29999995231628,"connectStart":178.29999995231628,"domainLookupEnd":178.29999995231628,"domainLookupStart":178.29999995231628,"fetchStart":178.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":178.29999995231628,"responseEnd":1141.2999999523163,"responseStart":1141.2999999523163,"secureConnectionStart":178.29999995231628},{"duration":304,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":684.1000001430511,"connectEnd":684.1000001430511,"connectStart":684.1000001430511,"domainLookupEnd":684.1000001430511,"domainLookupStart":684.1000001430511,"fetchStart":684.1000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":684.1000001430511,"responseEnd":988.1000001430511,"responseStart":988.1000001430511,"secureConnectionStart":684.1000001430511}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":10,"responseStart":142,"responseEnd":146,"domLoading":174,"domInteractive":1161,"domContentLoadedEventStart":1161,"domContentLoadedEventEnd":1195,"domComplete":2001,"loadEventStart":2001,"loadEventEnd":2003,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1143},{"name":"bigPipe.sidebar-id.end","time":1143.7999999523163},{"name":"bigPipe.activity-panel-pipe-id.start","time":1143.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":1146},{"name":"activityTabFullyLoaded","time":1200.7999999523163}],"measures":[],"correlationId":"33cbb9823b8f89","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":73,"dbReadsTimeInMs":12,"dbConnsTimeInMs":20,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}