CREATE TABLE t1 (i INT(23));
|
SELECT ROUND( i, 18446744073709551594 ) AS f FROM t1;
|
|
# Cleanup
|
DROP TABLE t1;
|
10.3 faf206a8486
|
mysqld: /data/src/10.3/sql/item_func.cc:2414: void Item_func_round::fix_length_and_dec_decimal(uint): Assertion `decimals_to_set <= 38' failed.
|
190106 15:14:26 [ERROR] mysqld got signal 6 ;
|
|
#7 0x00007f677bec8ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
|
#8 0x0000555979bec10e in Item_func_round::fix_length_and_dec_decimal (this=0x7f6764014ff8, decimals_to_set=4294967274) at /data/src/10.3/sql/item_func.cc:2414
|
#9 0x0000555979bec5c2 in Item_func_round::fix_arg_int (this=0x7f6764014ff8) at /data/src/10.3/sql/item_func.cc:2486
|
#10 0x0000555979a58a9e in Type_handler_int_result::Item_func_round_fix_length_and_dec (this=0x55597b009840 <type_handler_long>, item=0x7f6764014ff8) at /data/src/10.3/sql/sql_type.cc:4203
|
#11 0x0000555979bfd37e in Item_func_round::fix_length_and_dec (this=0x7f6764014ff8) at /data/src/10.3/sql/item_func.h:1447
|
#12 0x0000555979be3fa9 in Item_func::fix_fields (this=0x7f6764014ff8, thd=0x7f6764000b00, ref=0x7f67640150d8) at /data/src/10.3/sql/item_func.cc:380
|
#13 0x000055597977415e in Item::fix_fields_if_needed (this=0x7f6764014ff8, thd=0x7f6764000b00, ref=0x7f67640150d8) at /data/src/10.3/sql/item.h:824
|
#14 0x000055597977418b in Item::fix_fields_if_needed_for_scalar (this=0x7f6764014ff8, thd=0x7f6764000b00, ref=0x7f67640150d8) at /data/src/10.3/sql/item.h:828
|
#15 0x00005559797e85bc in setup_fields (thd=0x7f6764000b00, ref_pointer_array=..., fields=..., column_usage=MARK_COLUMNS_READ, sum_func_list=0x7f6764015b98, pre_fix=0x7f6764005260, allow_sum_func=true) at /data/src/10.3/sql/sql_base.cc:7420
|
#16 0x00005559798af27b in JOIN::prepare (this=0x7f6764015878, tables_init=0x7f6764015120, wild_num=0, conds_init=0x0, og_num=0, order_init=0x0, skip_order_by=false, group_init=0x0, having_init=0x0, proc_param_init=0x0, select_lex_arg=0x7f6764005120, unit_arg=0x7f67640049b0) at /data/src/10.3/sql/sql_select.cc:1102
|
#17 0x00005559798ba573 in mysql_select (thd=0x7f6764000b00, tables=0x7f6764015120, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2147748608, result=0x7f6764015850, unit=0x7f67640049b0, select_lex=0x7f6764005120) at /data/src/10.3/sql/sql_select.cc:4217
|
#18 0x00005559798ac558 in handle_select (thd=0x7f6764000b00, lex=0x7f67640048e8, result=0x7f6764015850, setup_tables_done_option=0) at /data/src/10.3/sql/sql_select.cc:385
|
#19 0x0000555979876f90 in execute_sqlcom_select (thd=0x7f6764000b00, all_tables=0x7f6764015120) at /data/src/10.3/sql/sql_parse.cc:6548
|
#20 0x000055597986d601 in mysql_execute_command (thd=0x7f6764000b00) at /data/src/10.3/sql/sql_parse.cc:3769
|
#21 0x000055597987af49 in mysql_parse (thd=0x7f6764000b00, rawbuf=0x7f6764014cd8 "SELECT ROUND( i, 18446744073709551594 ) AS f FROM t1", length=52, parser_state=0x7f677606f5f0, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:8092
|
#22 0x00005559798680fd in dispatch_command (command=COM_QUERY, thd=0x7f6764000b00, packet=0x7f676400b1e1 "SELECT ROUND( i, 18446744073709551594 ) AS f FROM t1", packet_length=52, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:1851
|
#23 0x0000555979866b21 in do_command (thd=0x7f6764000b00) at /data/src/10.3/sql/sql_parse.cc:1396
|
#24 0x00005559799ceb36 in do_handle_one_connection (connect=0x55597cbd0b30) at /data/src/10.3/sql/sql_connect.cc:1402
|
#25 0x00005559799ce8ba in handle_one_connection (arg=0x55597cbd0b30) at /data/src/10.3/sql/sql_connect.cc:1308
|
#26 0x0000555979e691e1 in pfs_spawn_thread (arg=0x55597cc1d750) at /data/src/10.3/storage/perfschema/pfs.cc:1862
|
#27 0x00007f677d984494 in start_thread (arg=0x7f6776070700) at pthread_create.c:333
|
#28 0x00007f677bf8593f in clone () from /lib/x86_64-linux-gnu/libc.so.6
|
Not reproducible on 10.2.
No visible effect on a non-debug build.
There are no comments yet on this issue.
{"report":{"fcp":1216.5999999940395,"ttfb":490.09999999403954,"pageVisibility":"visible","entityId":71686,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"0f0ee8af-20fa-4ea7-9463-9a95da3755ed","navigationType":0,"readyForUser":1294.7000000029802,"redirectCount":0,"resourceLoadedEnd":895,"resourceLoadedStart":496.8999999910593,"resourceTiming":[{"duration":90.70000000298023,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":496.8999999910593,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":496.8999999910593,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":587.5999999940395,"responseStart":0,"secureConnectionStart":0},{"duration":90.69999998807907,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":497.20000000298023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":497.20000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":587.8999999910593,"responseStart":0,"secureConnectionStart":0},{"duration":269,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":497.3999999910593,"connectEnd":497.3999999910593,"connectStart":497.3999999910593,"domainLookupEnd":497.3999999910593,"domainLookupStart":497.3999999910593,"fetchStart":497.3999999910593,"redirectEnd":0,"redirectStart":0,"requestStart":590.7999999970198,"responseEnd":766.3999999910593,"responseStart":619.2000000029802,"secureConnectionStart":497.3999999910593},{"duration":397.29999999701977,"initiatorType":"script","name":"https://jira.mariadb.org/s/c32eb0da7ad9831253f8397e6cc26afd-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":497.70000000298023,"connectEnd":497.70000000298023,"connectStart":497.70000000298023,"domainLookupEnd":497.70000000298023,"domainLookupStart":497.70000000298023,"fetchStart":497.70000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":591.2999999970198,"responseEnd":895,"responseStart":635.2000000029802,"secureConnectionStart":497.70000000298023},{"duration":126,"initiatorType":"script","name":"https://jira.mariadb.org/s/bc0bcb146314416123c992714ee00ff7-CDN/lu2bv2/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":497.79999999701977,"connectEnd":497.79999999701977,"connectStart":497.79999999701977,"domainLookupEnd":497.79999999701977,"domainLookupStart":497.79999999701977,"fetchStart":497.79999999701977,"redirectEnd":0,"redirectStart":0,"requestStart":592.0999999940395,"responseEnd":623.7999999970198,"responseStart":618.0999999940395,"secureConnectionStart":497.79999999701977},{"duration":126.70000000298023,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":498,"connectEnd":498,"connectStart":498,"domainLookupEnd":498,"domainLookupStart":498,"fetchStart":498,"redirectEnd":0,"redirectStart":0,"requestStart":593.5999999940395,"responseEnd":624.7000000029802,"responseStart":620.8999999910593,"secureConnectionStart":498},{"duration":127.29999999701977,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":498.20000000298023,"connectEnd":498.20000000298023,"connectStart":498.20000000298023,"domainLookupEnd":498.20000000298023,"domainLookupStart":498.20000000298023,"fetchStart":498.20000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":594,"responseEnd":625.5,"responseStart":621.7000000029802,"secureConnectionStart":498.20000000298023},{"duration":96.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bv2/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":498.3999999910593,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":498.3999999910593,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":594.8999999910593,"responseStart":0,"secureConnectionStart":0},{"duration":154.70000000298023,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":498.59999999403954,"connectEnd":498.59999999403954,"connectStart":498.59999999403954,"domainLookupEnd":498.59999999403954,"domainLookupStart":498.59999999403954,"fetchStart":498.59999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":597,"responseEnd":653.2999999970198,"responseStart":651.2000000029802,"secureConnectionStart":498.59999999403954},{"duration":97.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bv2/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":498.79999999701977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":498.79999999701977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":596.2999999970198,"responseStart":0,"secureConnectionStart":0},{"duration":131.70000000298023,"initiatorType":"script","name":"https://jira.mariadb.org/s/719848dd97ebe0663199f49a3936487a-CDN/lu2bv2/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":498.8999999910593,"connectEnd":498.8999999910593,"connectStart":498.8999999910593,"domainLookupEnd":498.8999999910593,"domainLookupStart":498.8999999910593,"fetchStart":498.8999999910593,"redirectEnd":0,"redirectStart":0,"requestStart":598.7000000029802,"responseEnd":630.5999999940395,"responseStart":625.7999999970198,"secureConnectionStart":498.8999999910593},{"duration":388.3999999910593,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":499.70000000298023,"connectEnd":499.70000000298023,"connectStart":499.70000000298023,"domainLookupEnd":499.70000000298023,"domainLookupStart":499.70000000298023,"fetchStart":499.70000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":666.2999999970198,"responseEnd":888.0999999940395,"responseStart":879.5999999940395,"secureConnectionStart":499.70000000298023},{"duration":389.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":499.79999999701977,"connectEnd":499.79999999701977,"connectStart":499.79999999701977,"domainLookupEnd":499.79999999701977,"domainLookupStart":499.79999999701977,"fetchStart":499.79999999701977,"redirectEnd":0,"redirectStart":0,"requestStart":723,"responseEnd":889.2999999970198,"responseStart":883.5999999940395,"secureConnectionStart":499.79999999701977},{"duration":98.79999999701977,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":892.5,"connectEnd":892.5,"connectStart":892.5,"domainLookupEnd":892.5,"domainLookupStart":892.5,"fetchStart":892.5,"redirectEnd":0,"redirectStart":0,"requestStart":957.0999999940395,"responseEnd":991.2999999970198,"responseStart":990.2999999970198,"secureConnectionStart":892.5},{"duration":246.29999999701977,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1137.0999999940395,"connectEnd":1137.0999999940395,"connectStart":1137.0999999940395,"domainLookupEnd":1137.0999999940395,"domainLookupStart":1137.0999999940395,"fetchStart":1137.0999999940395,"redirectEnd":0,"redirectStart":0,"requestStart":1343.7999999970198,"responseEnd":1383.3999999910593,"responseStart":1382,"secureConnectionStart":1137.0999999940395}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":316,"responseStart":490,"responseEnd":495,"domLoading":494,"domInteractive":1346,"domContentLoadedEventStart":1346,"domContentLoadedEventEnd":1386,"domComplete":1972,"loadEventStart":1972,"loadEventEnd":1972,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1331.2000000029802},{"name":"bigPipe.sidebar-id.end","time":1331.8999999910593},{"name":"bigPipe.activity-panel-pipe-id.start","time":1332.0999999940395},{"name":"bigPipe.activity-panel-pipe-id.end","time":1332.5},{"name":"activityTabFullyLoaded","time":1392.7000000029802}],"measures":[],"correlationId":"319bbbf66a456","effectiveType":"4g","downlink":9.7,"rtt":0,"serverDuration":83,"dbReadsTimeInMs":10,"dbConnsTimeInMs":17,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}