Type:
Bug
Priority:
Minor
Resolution:
Fixed
Affects Version/s:
10.2.11 , 5.5(EOL) , 10.0(EOL) , 10.1(EOL) , 10.2(EOL)
GROUP_CONCAT with backslash separator doesn't work consistently inside VIEW
How to repeat:
mysql> CREATE TABLE test_1 (str text);
mysql> INSERT INTO `test_1` VALUES ( "My" ),( "SQL" );
mysql>
CREATE VIEW my_view AS SELECT GROUP_CONCAT(str SEPARATOR '\\' ) FROM `test_1`
;
Query OK, 0 rows affected (0.01 sec)
mysql> SELECT * FROM my_view;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '\\' )` from `data`.`test_1` ' at line 1
mysql> SHOW CREATE VIEW my_view;ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' \\ ')` from `data`.`test_1`' at line 1
No bug MySql 5.7.19.
{"report":{"fcp":1257.9000005722046,"ttfb":488.70000076293945,"pageVisibility":"visible","entityId":64770,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"ca8035cb-9e06-49da-af85-eac816a88634","navigationType":0,"readyForUser":1343.3000001907349,"redirectCount":0,"resourceLoadedEnd":1565,"resourceLoadedStart":494.9000005722046,"resourceTiming":[{"duration":227.5999994277954,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":494.9000005722046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":494.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":722.5,"responseStart":0,"secureConnectionStart":0},{"duration":227.80000019073486,"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":495.1000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":495.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":722.9000005722046,"responseStart":0,"secureConnectionStart":0},{"duration":301.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":495.30000019073486,"connectEnd":495.30000019073486,"connectStart":495.30000019073486,"domainLookupEnd":495.30000019073486,"domainLookupStart":495.30000019073486,"fetchStart":495.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":495.30000019073486,"responseEnd":796.8000001907349,"responseStart":796.8000001907349,"secureConnectionStart":495.30000019073486},{"duration":383.5,"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":495.5,"connectEnd":495.5,"connectStart":495.5,"domainLookupEnd":495.5,"domainLookupStart":495.5,"fetchStart":495.5,"redirectEnd":0,"redirectStart":0,"requestStart":495.5,"responseEnd":879,"responseStart":879,"secureConnectionStart":495.5},{"duration":387.3999996185303,"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":495.6000003814697,"connectEnd":495.6000003814697,"connectStart":495.6000003814697,"domainLookupEnd":495.6000003814697,"domainLookupStart":495.6000003814697,"fetchStart":495.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":495.6000003814697,"responseEnd":883,"responseStart":883,"secureConnectionStart":495.6000003814697},{"duration":388.19999980926514,"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":495.80000019073486,"connectEnd":495.80000019073486,"connectStart":495.80000019073486,"domainLookupEnd":495.80000019073486,"domainLookupStart":495.80000019073486,"fetchStart":495.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":495.80000019073486,"responseEnd":884,"responseStart":884,"secureConnectionStart":495.80000019073486},{"duration":388.30000019073486,"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":496.1000003814697,"connectEnd":496.1000003814697,"connectStart":496.1000003814697,"domainLookupEnd":496.1000003814697,"domainLookupStart":496.1000003814697,"fetchStart":496.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":496.1000003814697,"responseEnd":884.4000005722046,"responseStart":884.4000005722046,"secureConnectionStart":496.1000003814697},{"duration":448,"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":496.20000076293945,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":496.20000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":944.2000007629395,"responseStart":0,"secureConnectionStart":0},{"duration":388.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":496.30000019073486,"connectEnd":496.30000019073486,"connectStart":496.30000019073486,"domainLookupEnd":496.30000019073486,"domainLookupStart":496.30000019073486,"fetchStart":496.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":496.30000019073486,"responseEnd":884.8000001907349,"responseStart":884.8000001907349,"secureConnectionStart":496.30000019073486},{"duration":447.80000019073486,"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":496.6000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":496.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":944.4000005722046,"responseStart":0,"secureConnectionStart":0},{"duration":388.8999996185303,"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":496.70000076293945,"connectEnd":496.70000076293945,"connectStart":496.70000076293945,"domainLookupEnd":496.70000076293945,"domainLookupStart":496.70000076293945,"fetchStart":496.70000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":496.70000076293945,"responseEnd":885.6000003814697,"responseStart":885.6000003814697,"secureConnectionStart":496.70000076293945},{"duration":785.4000005722046,"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":502,"connectEnd":502,"connectStart":502,"domainLookupEnd":502,"domainLookupStart":502,"fetchStart":502,"redirectEnd":0,"redirectStart":0,"requestStart":502,"responseEnd":1287.4000005722046,"responseStart":1287.4000005722046,"secureConnectionStart":502},{"duration":1062.8999996185303,"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":502.1000003814697,"connectEnd":502.1000003814697,"connectStart":502.1000003814697,"domainLookupEnd":502.1000003814697,"domainLookupStart":502.1000003814697,"fetchStart":502.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":502.1000003814697,"responseEnd":1565,"responseStart":1565,"secureConnectionStart":502.1000003814697},{"duration":346.5999994277954,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":955.9000005722046,"connectEnd":955.9000005722046,"connectStart":955.9000005722046,"domainLookupEnd":955.9000005722046,"domainLookupStart":955.9000005722046,"fetchStart":955.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":955.9000005722046,"responseEnd":1302.5,"responseStart":1302.5,"secureConnectionStart":955.9000005722046},{"duration":339.30000019073486,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1250.8000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1250.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1590.1000003814697,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":336,"responseStart":488,"responseEnd":499,"domLoading":492,"domInteractive":1591,"domContentLoadedEventStart":1591,"domContentLoadedEventEnd":1629,"domComplete":2127,"loadEventStart":2127,"loadEventEnd":2129,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1574.2000007629395},{"name":"bigPipe.sidebar-id.end","time":1575},{"name":"bigPipe.activity-panel-pipe-id.start","time":1575.3000001907349},{"name":"bigPipe.activity-panel-pipe-id.end","time":1577.8000001907349},{"name":"activityTabFullyLoaded","time":1635}],"measures":[],"correlationId":"a0523cc856ed19","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":95,"dbReadsTimeInMs":10,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}