SET NAMES utf8;
|
DROP TABLE IF EXISTS t1;
|
CREATE TABLE t1 (f1 VARCHAR(10));
|
INSERT INTO t1 VALUES ('2015-12-31');
|
SELECT POWER( TIMESTAMP( NULLIF( '2002-09-08', f1 ) ), 24 ) FROM t1;
|
Stack trace from 10.1 commit 0251232f8c3bca33b4dd15d6668105f3de9d024d
|
mysqld: /src/10.1/sql/item_cmpfunc.cc:2760: virtual void Item_func_nullif::print(String*, enum_query_type): Assertion `args[0] == args[2] || _current_thd()->lex->context_analysis_only' failed.
|
160226 15:50:31 [ERROR] mysqld got signal 6 ;
|
|
#7 0x00007fc07cb931d2 in __assert_fail () from /lib64/libc.so.6
|
#8 0x000055d2fa507238 in Item_func_nullif::print (this=0x7fc073252b78, str=0x7fc07ee5faa0, query_type=QT_ORDINARY) at /src/10.1/sql/item_cmpfunc.cc:2760
|
#9 0x000055d2fa593fdd in Item_temporal_typecast::print (this=0x7fc073252d10, str=0x7fc07ee5faa0, query_type=QT_ORDINARY) at /src/10.1/sql/item_timefunc.cc:2327
|
#10 0x000055d2fa52f7d3 in Item_func::print_args (this=0x7fc073252ec8, str=0x7fc07ee5faa0, from=0, query_type=QT_ORDINARY) at /src/10.1/sql/item_func.cc:465
|
#11 0x000055d2fa52f741 in Item_func::print (this=0x7fc073252ec8, str=0x7fc07ee5faa0, query_type=QT_ORDINARY) at /src/10.1/sql/item_func.cc:454
|
#12 0x000055d2fa545bbd in Item_func::raise_numeric_overflow (this=0x7fc073252ec8, type_name=0x55d2faca40ed "DOUBLE") at /src/10.1/sql/item_func.h:211
|
#13 0x000055d2fa545c35 in Item_func::raise_float_overflow (this=0x7fc073252ec8) at /src/10.1/sql/item_func.h:216
|
#14 0x000055d2fa545ce8 in Item_func::check_float_overflow (this=0x7fc073252ec8, value=inf) at /src/10.1/sql/item_func.h:235
|
#15 0x000055d2fa5361d4 in Item_func_pow::val_real (this=0x7fc073252ec8) at /src/10.1/sql/item_func.cc:2224
|
#16 0x000055d2fa4eedb5 in Item::send (this=0x7fc073252ec8, protocol=0x7fc0789ca380, buffer=0x7fc07ee5fd40) at /src/10.1/sql/item.cc:6448
|
#17 0x000055d2fa1d9660 in Protocol::send_result_set_row (this=0x7fc0789ca380, row_items=0x7fc0789ce020) at /src/10.1/sql/protocol.cc:905
|
#18 0x000055d2fa250e04 in select_send::send_data (this=0x7fc0732536c8, items=...) at /src/10.1/sql/sql_class.cc:2798
|
#19 0x000055d2fa2fbb39 in end_send (join=0x7fc0732536e8, join_tab=0x0, end_of_records=false) at /src/10.1/sql/sql_select.cc:19429
|
#20 0x000055d2fa2f8802 in do_select (join=0x7fc0732536e8, fields=0x7fc0789ce020, table=0x0, procedure=0x0) at /src/10.1/sql/sql_select.cc:17905
|
#21 0x000055d2fa2d3a6f in JOIN::exec_inner (this=0x7fc0732536e8) at /src/10.1/sql/sql_select.cc:3228
|
#22 0x000055d2fa2d0d13 in JOIN::exec (this=0x7fc0732536e8) at /src/10.1/sql/sql_select.cc:2518
|
#23 0x000055d2fa2d42c6 in mysql_select (thd=0x7fc0789c9df0, rref_pointer_array=0x7fc0789ce180, tables=0x7fc073253000, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2147748608, result=0x7fc0732536c8, unit=0x7fc0789cd808, select_lex=0x7fc0789cdf08) at /src/10.1/sql/sql_select.cc:3451
|
#24 0x000055d2fa2c9d6b in handle_select (thd=0x7fc0789c9df0, lex=0x7fc0789cd740, result=0x7fc0732536c8, setup_tables_done_option=0) at /src/10.1/sql/sql_select.cc:384
|
#25 0x000055d2fa29a096 in execute_sqlcom_select (thd=0x7fc0789c9df0, all_tables=0x7fc073253000) at /src/10.1/sql/sql_parse.cc:5936
|
#26 0x000055d2fa28fe72 in mysql_execute_command (thd=0x7fc0789c9df0) at /src/10.1/sql/sql_parse.cc:2962
|
#27 0x000055d2fa29d6de in mysql_parse (thd=0x7fc0789c9df0, rawbuf=0x7fc073252888 "SELECT POWER( TIMESTAMP( NULLIF( '2002-09-08', f1 ) ), 24 ) FROM t1", length=67, parser_state=0x7fc07ee615e0) at /src/10.1/sql/sql_parse.cc:7336
|
#28 0x000055d2fa28c0d9 in dispatch_command (command=COM_QUERY, thd=0x7fc0789c9df0, packet=0x7fc077bc9d31 "", packet_length=67) at /src/10.1/sql/sql_parse.cc:1488
|
#29 0x000055d2fa28ae0b in do_command (thd=0x7fc0789c9df0) at /src/10.1/sql/sql_parse.cc:1109
|
#30 0x000055d2fa3c0bc0 in do_handle_one_connection (thd_arg=0x7fc0789c9df0) at /src/10.1/sql/sql_connect.cc:1349
|
#31 0x000055d2fa3c0924 in handle_one_connection (arg=0x7fc0789c9df0) at /src/10.1/sql/sql_connect.cc:1261
|
#32 0x000055d2faac8a5a in pfs_spawn_thread (arg=0x7fc0775b0bf0) at /src/10.1/storage/perfschema/pfs.cc:1860
|
#33 0x00007fc07eadc0a4 in start_thread () from /lib64/libpthread.so.0
|
#34 0x00007fc07cc4a04d in clone () from /lib64/libc.so.6
|
bb-10.1-serg as of commit 5069ba1854418a2172da143875a0f1827b976ddb is also affected.
Not reproducible on 5.5, 10.0.
{"report":{"fcp":1362.2000007629395,"ttfb":240.9000005722046,"pageVisibility":"visible","entityId":55803,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"c8aeeeef-eb4f-4bee-87eb-2367e59cd408","navigationType":0,"readyForUser":1459.9000005722046,"redirectCount":0,"resourceLoadedEnd":1086.2000007629395,"resourceLoadedStart":248.20000076293945,"resourceTiming":[{"duration":504.5999994277954,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":248.20000076293945,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":248.20000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":752.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":504.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":248.60000038146973,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":248.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":753.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":514.8999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":248.70000076293945,"connectEnd":248.70000076293945,"connectStart":248.70000076293945,"domainLookupEnd":248.70000076293945,"domainLookupStart":248.70000076293945,"fetchStart":248.70000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":248.70000076293945,"responseEnd":763.6000003814697,"responseStart":763.6000003814697,"secureConnectionStart":248.70000076293945},{"duration":573.8999996185303,"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":248.9000005722046,"connectEnd":248.9000005722046,"connectStart":248.9000005722046,"domainLookupEnd":248.9000005722046,"domainLookupStart":248.9000005722046,"fetchStart":248.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":248.9000005722046,"responseEnd":822.8000001907349,"responseStart":822.8000001907349,"secureConnectionStart":248.9000005722046},{"duration":579.1999998092651,"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":249.10000038146973,"connectEnd":249.10000038146973,"connectStart":249.10000038146973,"domainLookupEnd":249.10000038146973,"domainLookupStart":249.10000038146973,"fetchStart":249.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":249.10000038146973,"responseEnd":828.3000001907349,"responseStart":828.3000001907349,"secureConnectionStart":249.10000038146973},{"duration":579.5,"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":249.30000019073486,"connectEnd":249.30000019073486,"connectStart":249.30000019073486,"domainLookupEnd":249.30000019073486,"domainLookupStart":249.30000019073486,"fetchStart":249.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":249.30000019073486,"responseEnd":828.8000001907349,"responseStart":828.8000001907349,"secureConnectionStart":249.30000019073486},{"duration":579.5,"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":249.60000038146973,"connectEnd":249.60000038146973,"connectStart":249.60000038146973,"domainLookupEnd":249.60000038146973,"domainLookupStart":249.60000038146973,"fetchStart":249.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":249.60000038146973,"responseEnd":829.1000003814697,"responseStart":829.1000003814697,"secureConnectionStart":249.60000038146973},{"duration":692.8999996185303,"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":249.70000076293945,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":249.70000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":942.6000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":579.6999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":249.9000005722046,"connectEnd":249.9000005722046,"connectStart":249.9000005722046,"domainLookupEnd":249.9000005722046,"domainLookupStart":249.9000005722046,"fetchStart":249.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":249.9000005722046,"responseEnd":829.6000003814697,"responseStart":829.6000003814697,"secureConnectionStart":249.9000005722046},{"duration":692.7000007629395,"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":250,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":250,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":942.7000007629395,"responseStart":0,"secureConnectionStart":0},{"duration":580,"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":250.20000076293945,"connectEnd":250.20000076293945,"connectStart":250.20000076293945,"domainLookupEnd":250.20000076293945,"domainLookupStart":250.20000076293945,"fetchStart":250.20000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":250.20000076293945,"responseEnd":830.2000007629395,"responseStart":830.2000007629395,"secureConnectionStart":250.20000076293945},{"duration":794.1000003814697,"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":256.1000003814697,"connectEnd":256.1000003814697,"connectStart":256.1000003814697,"domainLookupEnd":256.1000003814697,"domainLookupStart":256.1000003814697,"fetchStart":256.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":256.1000003814697,"responseEnd":1050.2000007629395,"responseStart":1050.2000007629395,"secureConnectionStart":256.1000003814697},{"duration":830,"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":256.20000076293945,"connectEnd":256.20000076293945,"connectStart":256.20000076293945,"domainLookupEnd":256.20000076293945,"domainLookupStart":256.20000076293945,"fetchStart":256.20000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":256.20000076293945,"responseEnd":1086.2000007629395,"responseStart":1086.2000007629395,"secureConnectionStart":256.20000076293945},{"duration":50.59999942779541,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1026.7000007629395,"connectEnd":1026.7000007629395,"connectStart":1026.7000007629395,"domainLookupEnd":1026.7000007629395,"domainLookupStart":1026.7000007629395,"fetchStart":1026.7000007629395,"redirectEnd":0,"redirectStart":0,"requestStart":1026.7000007629395,"responseEnd":1077.3000001907349,"responseStart":1077.3000001907349,"secureConnectionStart":1026.7000007629395}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":33,"responseStart":241,"responseEnd":253,"domLoading":246,"domInteractive":1584,"domContentLoadedEventStart":1584,"domContentLoadedEventEnd":1660,"domComplete":2467,"loadEventStart":2467,"loadEventEnd":2470,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1561.8000001907349},{"name":"bigPipe.sidebar-id.end","time":1562.7000007629395},{"name":"bigPipe.activity-panel-pipe-id.start","time":1562.8000001907349},{"name":"bigPipe.activity-panel-pipe-id.end","time":1566},{"name":"activityTabFullyLoaded","time":1669.1000003814697}],"measures":[],"correlationId":"b05612a8c73ddc","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":129,"dbReadsTimeInMs":8,"dbConnsTimeInMs":24,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}