#9 0x00005590eda2be60 in rec_get_converted_size_comp (index=index@entry=0x7fd5194a4c98, tuple=tuple@entry=0x7fd519483898, extra=extra@entry=0x0) at /test/10.5_dbg/storage/innobase/rem/rem0rec.cc:1317
#10 0x00005590edb812cc in rec_get_converted_size (index=index@entry=0x7fd5194a4c98, dtuple=dtuple@entry=0x7fd519483898, n_ext=0) at /test/10.5_dbg/storage/innobase/include/rem0rec.ic:1190
#11 0x00005590edb89cc4 in btr_cur_optimistic_insert (flags=flags@entry=0, cursor=cursor@entry=0x7fd543154260, offsets=offsets@entry=0x7fd543154228, heap=heap@entry=0x7fd543154220, entry=entry@entry=0x7fd519483898, rec=rec@entry=0x7fd5431546c0, big_rec=0x7fd543154218, n_ext=<optimized out>, thr=0x7fd5194f17b8, mtr=0x7fd543154920) at /test/10.5_dbg/storage/innobase/btr/btr0cur.cc:3410
#12 0x00005590eda50c42 in row_ins_clust_index_entry_low (flags=flags@entry=0, mode=<optimized out>, mode@entry=2, index=index@entry=0x7fd5194a4c98, n_uniq=n_uniq@entry=0, entry=entry@entry=0x7fd519483898, n_ext=n_ext@entry=0, thr=0x7fd5194f17b8) at /test/10.5_dbg/storage/innobase/row/row0ins.cc:2729
#13 0x00005590eda58076 in row_ins_clust_index_entry (index=index@entry=0x7fd5194a4c98, entry=entry@entry=0x7fd519483898, thr=thr@entry=0x7fd5194f17b8, n_ext=n_ext@entry=0) at /test/10.5_dbg/storage/innobase/row/row0ins.cc:3203
#14 0x00005590eda59d04 in row_ins_index_entry (thr=0x7fd5194f17b8, entry=0x7fd519483898, index=0x7fd5194a4c98) at /test/10.5_dbg/storage/innobase/row/row0ins.cc:3328
#15 row_ins_index_entry_step (thr=0x7fd5194f17b8, node=0x7fd5194f1590) at /test/10.5_dbg/storage/innobase/row/row0ins.cc:3497
#16 row_ins (thr=0x7fd5194f17b8, node=0x7fd5194f1590) at /test/10.5_dbg/storage/innobase/row/row0ins.cc:3634
#17 row_ins_step (thr=thr@entry=0x7fd5194f17b8) at /test/10.5_dbg/storage/innobase/row/row0ins.cc:3773
#18 0x00005590eda78f97 in row_insert_for_mysql (mysql_rec=mysql_rec@entry=0x7fd519452aa8 "\375a ", '\245' <repeats 12 times>, "\310*E\031\325\177", prebuilt=0x7fd5194f1098, ins_mode=<optimized out>) at /test/10.5_dbg/storage/innobase/row/row0mysql.cc:1462
#19 0x00005590ed9103bf in ha_innobase::write_row (this=0x7fd5194376a0, record=0x7fd519452aa8 "\375a ", '\245' <repeats 12 times>, "\310*E\031\325\177") at /test/10.5_dbg/storage/innobase/handler/ha_innodb.cc:7771
#20 0x00005590ed553c5b in handler::ha_write_row (this=0x7fd5194376a0, buf=0x7fd519452aa8 "\375a ", '\245' <repeats 12 times>, "\310*E\031\325\177") at /test/10.5_dbg/sql/handler.cc:6957
#21 0x00005590ed254c04 in write_record (thd=thd@entry=0x7fd519415088, table=table@entry=0x7fd5194f0088, info=info@entry=0x7fd543155a70, sink=sink@entry=0x0) at /test/10.5_dbg/sql/sql_insert.cc:2091
#22 0x00005590ed25fe64 in mysql_insert (thd=thd@entry=0x7fd519415088, table_list=0x7fd519474180, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=false, result=0x0) at /test/10.5_dbg/sql/sql_insert.cc:1088
#23 0x00005590ed297308 in mysql_execute_command (thd=thd@entry=0x7fd519415088) at /test/10.5_dbg/sql/sql_parse.cc:4515
#24 0x00005590ed2a2f2b in mysql_parse (thd=thd@entry=0x7fd519415088, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x7fd543156450, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/10.5_dbg/sql/sql_parse.cc:7957
#25 0x00005590ed28ec45 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x7fd519415088, packet=packet@entry=0x7fd519467089 "INSERT INTO t VALUES('a')", packet_length=packet_length@entry=25, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/10.5_dbg/sql/sql_parse.cc:1839
#26 0x00005590ed28d49b in do_command (thd=0x7fd519415088) at /test/10.5_dbg/sql/sql_parse.cc:1358
#27 0x00005590ed3e8415 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x7fd5213c53a8, put_in_cache=put_in_cache@entry=true) at /test/10.5_dbg/sql/sql_connect.cc:1422
#28 0x00005590ed3e8744 in handle_one_connection (arg=arg@entry=0x7fd5213c53a8) at /test/10.5_dbg/sql/sql_connect.cc:1319
#29 0x00005590ed848fb0 in pfs_spawn_thread (arg=0x7fd540c45b08) at /test/10.5_dbg/storage/perfschema/pfs.cc:2201
#30 0x00007fd54257e6db in start_thread (arg=0x7fd543157700) at pthread_create.c:463
#31 0x00007fd54197c88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
In ROW_FORMAT≠REDUNDANT we could allow this operation for utf8 or any character set where mbminlen≠mbmaxlen. But, latin1 is internally always encoded as fixed-length (1 byte), and hence this operation should require the table to be rebuilt (ALGORITHM=INPLACE or ALGORITHM=COPY).
Marko Mäkelä
added a comment - In ROW_FORMAT≠REDUNDANT we could allow this operation for utf8 or any character set where mbminlen ≠ mbmaxlen . But, latin1 is internally always encoded as fixed-length (1 byte), and hence this operation should require the table to be rebuilt ( ALGORITHM=INPLACE or ALGORITHM=COPY ).
People
Vladislav Lesin
Roel Van de Paar
Votes:
0Vote for this issue
Watchers:
3Start watching this issue
Dates
Created:
Updated:
Git Integration
Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.
{"report":{"fcp":722.2999999523163,"ttfb":146.60000014305115,"pageVisibility":"visible","entityId":85853,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"6fcbe225-811b-4713-a709-fe038c621eea","navigationType":0,"readyForUser":792.6000001430511,"redirectCount":0,"resourceLoadedEnd":610.9000000953674,"resourceLoadedStart":153.90000009536743,"resourceTiming":[{"duration":6.200000047683716,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":153.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":153.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":160.10000014305115,"responseStart":0,"secureConnectionStart":0},{"duration":6.099999904632568,"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":154.20000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":154.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":160.29999995231628,"responseStart":0,"secureConnectionStart":0},{"duration":93.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":154.20000004768372,"connectEnd":154.20000004768372,"connectStart":154.20000004768372,"domainLookupEnd":154.20000004768372,"domainLookupStart":154.20000004768372,"fetchStart":154.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":154.20000004768372,"responseEnd":248.10000014305115,"responseStart":248.10000014305115,"secureConnectionStart":154.20000004768372},{"duration":124.20000004768372,"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":154.5,"connectEnd":154.5,"connectStart":154.5,"domainLookupEnd":154.5,"domainLookupStart":154.5,"fetchStart":154.5,"redirectEnd":0,"redirectStart":0,"requestStart":154.5,"responseEnd":278.7000000476837,"responseStart":278.7000000476837,"secureConnectionStart":154.5},{"duration":119.79999995231628,"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":154.5,"connectEnd":154.5,"connectStart":154.5,"domainLookupEnd":154.5,"domainLookupStart":154.5,"fetchStart":154.5,"redirectEnd":0,"redirectStart":0,"requestStart":154.5,"responseEnd":274.2999999523163,"responseStart":274.2999999523163,"secureConnectionStart":154.5},{"duration":125.79999995231628,"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":154.60000014305115,"connectEnd":154.60000014305115,"connectStart":154.60000014305115,"domainLookupEnd":154.60000014305115,"domainLookupStart":154.60000014305115,"fetchStart":154.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":154.60000014305115,"responseEnd":280.40000009536743,"responseStart":280.40000009536743,"secureConnectionStart":154.60000014305115},{"duration":127.59999990463257,"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":154.70000004768372,"connectEnd":154.70000004768372,"connectStart":154.70000004768372,"domainLookupEnd":154.70000004768372,"domainLookupStart":154.70000004768372,"fetchStart":154.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":154.70000004768372,"responseEnd":282.2999999523163,"responseStart":282.2999999523163,"secureConnectionStart":154.70000004768372},{"duration":129.09999990463257,"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":154.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":154.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":284,"responseStart":0,"secureConnectionStart":0},{"duration":129.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":154.90000009536743,"connectEnd":154.90000009536743,"connectStart":154.90000009536743,"domainLookupEnd":154.90000009536743,"domainLookupStart":154.90000009536743,"fetchStart":154.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":154.90000009536743,"responseEnd":284,"responseStart":284,"secureConnectionStart":154.90000009536743},{"duration":130.5,"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":155.10000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":155.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":285.60000014305115,"responseStart":0,"secureConnectionStart":0},{"duration":130.59999990463257,"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":155.10000014305115,"connectEnd":155.10000014305115,"connectStart":155.10000014305115,"domainLookupEnd":155.10000014305115,"domainLookupStart":155.10000014305115,"fetchStart":155.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":155.10000014305115,"responseEnd":285.7000000476837,"responseStart":285.7000000476837,"secureConnectionStart":155.10000014305115},{"duration":442.09999990463257,"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":155.90000009536743,"connectEnd":155.90000009536743,"connectStart":155.90000009536743,"domainLookupEnd":155.90000009536743,"domainLookupStart":155.90000009536743,"fetchStart":155.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":155.90000009536743,"responseEnd":598,"responseStart":598,"secureConnectionStart":155.90000009536743},{"duration":454.90000009536743,"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":156,"connectEnd":156,"connectStart":156,"domainLookupEnd":156,"domainLookupStart":156,"fetchStart":156,"redirectEnd":0,"redirectStart":0,"requestStart":156,"responseEnd":610.9000000953674,"responseStart":610.9000000953674,"secureConnectionStart":156},{"duration":135.10000014305115,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":467.2999999523163,"connectEnd":467.2999999523163,"connectStart":467.2999999523163,"domainLookupEnd":467.2999999523163,"domainLookupStart":467.2999999523163,"fetchStart":467.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":467.2999999523163,"responseEnd":602.4000000953674,"responseStart":602.4000000953674,"secureConnectionStart":467.2999999523163},{"duration":182.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&slack-enabled=true","startTime":668.7000000476837,"connectEnd":668.7000000476837,"connectStart":668.7000000476837,"domainLookupEnd":668.7000000476837,"domainLookupStart":668.7000000476837,"fetchStart":668.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":668.7000000476837,"responseEnd":851.2000000476837,"responseStart":851.2000000476837,"secureConnectionStart":668.7000000476837}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":12,"responseStart":147,"responseEnd":149,"domLoading":151,"domInteractive":849,"domContentLoadedEventStart":849,"domContentLoadedEventEnd":885,"domComplete":1202,"loadEventStart":1202,"loadEventEnd":1202,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":832.2000000476837},{"name":"bigPipe.sidebar-id.end","time":833},{"name":"bigPipe.activity-panel-pipe-id.start","time":833.2000000476837},{"name":"bigPipe.activity-panel-pipe-id.end","time":834.2000000476837},{"name":"activityTabFullyLoaded","time":897.7999999523163}],"measures":[],"correlationId":"9183fdfecca06c","effectiveType":"4g","downlink":9.1,"rtt":0,"serverDuration":76,"dbReadsTimeInMs":14,"dbConnsTimeInMs":20,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
In ROW_FORMAT≠REDUNDANT we could allow this operation for utf8 or any character set where mbminlen≠mbmaxlen. But, latin1 is internally always encoded as fixed-length (1 byte), and hence this operation should require the table to be rebuilt (ALGORITHM=INPLACE or ALGORITHM=COPY).