SELECT 'foo' LIKE ExtractValue( 'bar', 'qux' );
|
#3 <signal handler called>
|
#4 0x0000000000889fd7 in Item_func_like::fix_fields (this=0x7f636645f558, thd=0x7f636933d070, ref=0x7f636645f700) at 10.0/sql/item_cmpfunc.cc:5020
|
#5 0x000000000060f92b in setup_fields (thd=0x7f636933d070, ref_pointer_array=0x7f636645fd68, fields=..., mark_used_columns=MARK_COLUMNS_READ, sum_func_list=0x7f636645fb68, allow_sum_func=true) at 10.0/sql/sql_base.cc:7611
|
#6 0x0000000000697806 in JOIN::prepare (this=0x7f636645f830, rref_pointer_array=0x7f6369341688, tables_init=0x0, 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=0x7f6369341418, unit_arg=0x7f6369340d38) at 10.0/sql/sql_select.cc:774
|
#7 0x00000000006a0487 in mysql_select (thd=0x7f636933d070, rref_pointer_array=0x7f6369341688, tables=0x0, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2147748608, result=0x7f636645f810, unit=0x7f6369340d38, select_lex=0x7f6369341418) at 10.0/sql/sql_select.cc:3270
|
#8 0x0000000000696c23 in handle_select (thd=0x7f636933d070, lex=0x7f6369340c78, result=0x7f636645f810, setup_tables_done_option=0) at 10.0/sql/sql_select.cc:371
|
#9 0x000000000066bd88 in execute_sqlcom_select (thd=0x7f636933d070, all_tables=0x0) at 10.0/sql/sql_parse.cc:5221
|
#10 0x0000000000664248 in mysql_execute_command (thd=0x7f636933d070) at 10.0/sql/sql_parse.cc:2552
|
#11 0x000000000066e508 in mysql_parse (thd=0x7f636933d070, rawbuf=0x7f636645f088 "SELECT 'foo' LIKE ExtractValue( 'bar', 'qux' )", length=46, parser_state=0x7f6370ce2630) at 10.0/sql/sql_parse.cc:6365
|
#12 0x000000000066144a in dispatch_command (command=COM_QUERY, thd=0x7f636933d070, packet=0x7f6367448071 "SELECT 'foo' LIKE ExtractValue( 'bar', 'qux' )", packet_length=46) at 10.0/sql/sql_parse.cc:1296
|
#13 0x00000000006607ec in do_command (thd=0x7f636933d070) at 10.0/sql/sql_parse.cc:993
|
#14 0x0000000000779735 in do_handle_one_connection (thd_arg=0x7f636933d070) at 10.0/sql/sql_connect.cc:1379
|
#15 0x0000000000779488 in handle_one_connection (arg=0x7f636933d070) at 10.0/sql/sql_connect.cc:1293
|
#16 0x0000000000a9a8a5 in pfs_spawn_thread (arg=0x7f6368613c10) at 10.0/storage/perfschema/pfs.cc:1853
|
#17 0x00007f6370a2fb50 in start_thread (arg=<optimized out>) at pthread_create.c:304
|
#18 0x00007f636f57ea7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
|
revision-id: bar@mnogosearch.org-20131213131810-eejuqpcvgcd8x41b
|
revno: 3945
|
branch-nick: 10.0-bug
|
Could not reproduce on MariaDB 5.5 or MySQL 5.5-5.6.
{"report":{"fcp":855.7000000476837,"ttfb":165.20000004768372,"pageVisibility":"visible","entityId":28221,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"ce8ce700-be5f-4238-a81c-a4d613cd17a8","navigationType":0,"readyForUser":910.7000000476837,"redirectCount":0,"resourceLoadedEnd":781.2000000476837,"resourceLoadedStart":172.10000002384186,"resourceTiming":[{"duration":163.10000002384186,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":172.10000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":172.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":335.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":163.5,"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":172.20000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":172.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":335.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":216.20000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":172.5,"connectEnd":172.5,"connectStart":172.5,"domainLookupEnd":172.5,"domainLookupStart":172.5,"fetchStart":172.5,"redirectEnd":0,"redirectStart":0,"requestStart":172.5,"responseEnd":388.7000000476837,"responseStart":388.7000000476837,"secureConnectionStart":172.5},{"duration":292.39999997615814,"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":172.5,"connectEnd":172.5,"connectStart":172.5,"domainLookupEnd":172.5,"domainLookupStart":172.5,"fetchStart":172.5,"redirectEnd":0,"redirectStart":0,"requestStart":172.5,"responseEnd":464.89999997615814,"responseStart":464.89999997615814,"secureConnectionStart":172.5},{"duration":295.89999997615814,"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":172.60000002384186,"connectEnd":172.60000002384186,"connectStart":172.60000002384186,"domainLookupEnd":172.60000002384186,"domainLookupStart":172.60000002384186,"fetchStart":172.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":172.60000002384186,"responseEnd":468.5,"responseStart":468.5,"secureConnectionStart":172.60000002384186},{"duration":296.2999999523163,"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":172.70000004768372,"connectEnd":172.70000004768372,"connectStart":172.70000004768372,"domainLookupEnd":172.70000004768372,"domainLookupStart":172.70000004768372,"fetchStart":172.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":172.70000004768372,"responseEnd":469,"responseStart":469,"secureConnectionStart":172.70000004768372},{"duration":297.09999990463257,"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":172.80000007152557,"connectEnd":172.80000007152557,"connectStart":172.80000007152557,"domainLookupEnd":172.80000007152557,"domainLookupStart":172.80000007152557,"fetchStart":172.80000007152557,"redirectEnd":0,"redirectStart":0,"requestStart":172.80000007152557,"responseEnd":469.89999997615814,"responseStart":469.89999997615814,"secureConnectionStart":172.80000007152557},{"duration":297.7000000476837,"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":172.89999997615814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":172.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":470.60000002384186,"responseStart":0,"secureConnectionStart":0},{"duration":297.60000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":173,"connectEnd":173,"connectStart":173,"domainLookupEnd":173,"domainLookupStart":173,"fetchStart":173,"redirectEnd":0,"redirectStart":0,"requestStart":173,"responseEnd":470.60000002384186,"responseStart":470.60000002384186,"secureConnectionStart":173},{"duration":298.10000002384186,"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":173.20000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":173.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":471.3000000715256,"responseStart":0,"secureConnectionStart":0},{"duration":298.1999999284744,"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":173.30000007152557,"connectEnd":173.30000007152557,"connectStart":173.30000007152557,"domainLookupEnd":173.30000007152557,"domainLookupStart":173.30000007152557,"fetchStart":173.30000007152557,"redirectEnd":0,"redirectStart":0,"requestStart":173.30000007152557,"responseEnd":471.5,"responseStart":471.5,"secureConnectionStart":173.30000007152557},{"duration":577.9000000953674,"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":173.89999997615814,"connectEnd":173.89999997615814,"connectStart":173.89999997615814,"domainLookupEnd":173.89999997615814,"domainLookupStart":173.89999997615814,"fetchStart":173.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":173.89999997615814,"responseEnd":751.8000000715256,"responseStart":751.8000000715256,"secureConnectionStart":173.89999997615814},{"duration":607.2000000476837,"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":174,"connectEnd":174,"connectStart":174,"domainLookupEnd":174,"domainLookupStart":174,"fetchStart":174,"redirectEnd":0,"redirectStart":0,"requestStart":174,"responseEnd":781.2000000476837,"responseStart":781.2000000476837,"secureConnectionStart":174},{"duration":167.69999992847443,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":605.8000000715256,"connectEnd":605.8000000715256,"connectStart":605.8000000715256,"domainLookupEnd":605.8000000715256,"domainLookupStart":605.8000000715256,"fetchStart":605.8000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":605.8000000715256,"responseEnd":773.5,"responseStart":773.5,"secureConnectionStart":605.8000000715256},{"duration":43,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":777.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":777.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":820.5,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":24,"responseStart":165,"responseEnd":169,"domLoading":169,"domInteractive":959,"domContentLoadedEventStart":959,"domContentLoadedEventEnd":992,"domComplete":1222,"loadEventStart":1222,"loadEventEnd":1222,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":942.6000000238419},{"name":"bigPipe.sidebar-id.end","time":943.3000000715256},{"name":"bigPipe.activity-panel-pipe-id.start","time":943.5},{"name":"bigPipe.activity-panel-pipe-id.end","time":944.5},{"name":"activityTabFullyLoaded","time":1005.3999999761581}],"measures":[],"correlationId":"d3704a221ef3b1","effectiveType":"4g","downlink":9.2,"rtt":0,"serverDuration":85,"dbReadsTimeInMs":17,"dbConnsTimeInMs":25,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
The problem is also repeatable with non-XML functions:
SELECT 'a' LIKE REPEAT('',0);