SET @save_slave_parallel_threads= @@GLOBAL.slave_parallel_threads;
SELECT IF(COUNT(*) < 20, "OK", CONCAT("Found too many system user processes: ", COUNT(*))) FROM information_schema.processlist WHERE user = "system user";
-IF(COUNT(*) < 20, "OK", CONCAT("Found too many system user processes: ", COUNT(*)))
+Name_exp_1
OK
SELECT @@GLOBAL.slave_parallel_threads as 'must be 20 because of .cnf';
must be 20 because of .cnf
@@ -17,6 +17,6 @@
@@GLOBAL.slave_parallel_threads
10
SELECT IF(COUNT(*) < 10, "OK", CONCAT("Found too many system user processes: ", COUNT(*))) FROM information_schema.processlist WHERE user = "system user";
-IF(COUNT(*) < 10, "OK", CONCAT("Found too many system user processes: ", COUNT(*)))
+Name_exp_1
OK
SET GLOBAL slave_parallel_threads = @save_slave_parallel_threads;
danblack Looks like you just need to add an AS ProcessCheck explicit column name to the SELECT to make it the same in view-protocol and normal (I'm guessing - not familiar with view-protocol).
But in general, I think a lot of test cases would fail like this if the column names of the SELECT outputs differ in view-protocol from other modes. Where does this "Name_exp_1" name come from, why doesn't it give the full expression from the SELECT?
So this seems like something that needs to be fixed generally, not for a specific test case only?
Hope this helps,
- Kristian.
Kristian Nielsen
added a comment - danblack Looks like you just need to add an AS ProcessCheck explicit column name to the SELECT to make it the same in view-protocol and normal (I'm guessing - not familiar with view-protocol).
But in general, I think a lot of test cases would fail like this if the column names of the SELECT outputs differ in view-protocol from other modes. Where does this "Name_exp_1" name come from, why doesn't it give the full expression from the SELECT?
So this seems like something that needs to be fixed generally, not for a specific test case only?
Hope this helps,
- Kristian.
Most are fixed, its just the odd test or two that have been added/modified without view protocol being in CI.
Daniel Black
added a comment - yep that's the general fix.
Name_Exp_X is from sql/sql_view.cc.
Most are fixed, its just the odd test or two that have been added/modified without view protocol being in CI.
People
Daniel Black
Daniel Black
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":1013.8000001907349,"ttfb":239.2000002861023,"pageVisibility":"visible","entityId":133494,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"10adee5c-2a82-4f98-8815-dbcaef915dc2","navigationType":0,"readyForUser":1154.5999999046326,"redirectCount":0,"resourceLoadedEnd":755.7000002861023,"resourceLoadedStart":258,"resourceTiming":[{"duration":34.700000286102295,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":258,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":258,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":292.7000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":42.90000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/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&whisper-enabled=true","startTime":258.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":258.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":301.30000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":301.8999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":258.7000002861023,"connectEnd":258.7000002861023,"connectStart":258.7000002861023,"domainLookupEnd":258.7000002861023,"domainLookupStart":258.7000002861023,"fetchStart":258.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":302.40000009536743,"responseEnd":560.5999999046326,"responseStart":314.5,"secureConnectionStart":258.7000002861023},{"duration":460.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/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&whisper-enabled=true","startTime":259.5,"connectEnd":259.5,"connectStart":259.5,"domainLookupEnd":259.5,"domainLookupStart":259.5,"fetchStart":259.5,"redirectEnd":0,"redirectStart":0,"requestStart":304.59999990463257,"responseEnd":719.5999999046326,"responseStart":320.5,"secureConnectionStart":259.5},{"duration":74.7999997138977,"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":259.7000002861023,"connectEnd":259.7000002861023,"connectStart":259.7000002861023,"domainLookupEnd":259.7000002861023,"domainLookupStart":259.7000002861023,"fetchStart":259.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":305,"responseEnd":334.5,"responseStart":327.5,"secureConnectionStart":259.7000002861023},{"duration":74.80000019073486,"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":259.90000009536743,"connectEnd":259.90000009536743,"connectStart":259.90000009536743,"domainLookupEnd":259.90000009536743,"domainLookupStart":259.90000009536743,"fetchStart":259.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":305.40000009536743,"responseEnd":334.7000002861023,"responseStart":328.7000002861023,"secureConnectionStart":259.90000009536743},{"duration":74.90000009536743,"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":260,"connectEnd":260,"connectStart":260,"domainLookupEnd":260,"domainLookupStart":260,"fetchStart":260,"redirectEnd":0,"redirectStart":0,"requestStart":305.5,"responseEnd":334.90000009536743,"responseStart":329.80000019073486,"secureConnectionStart":260},{"duration":42.09999990463257,"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":260.7000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":260.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":302.80000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":74.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":260.80000019073486,"connectEnd":260.80000019073486,"connectStart":260.80000019073486,"domainLookupEnd":260.80000019073486,"domainLookupStart":260.80000019073486,"fetchStart":260.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":305.59999990463257,"responseEnd":335.5,"responseStart":330.90000009536743,"secureConnectionStart":260.80000019073486},{"duration":42,"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":261.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":261.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":303.09999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":74.5,"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":261.2000002861023,"connectEnd":261.2000002861023,"connectStart":261.2000002861023,"domainLookupEnd":261.2000002861023,"domainLookupStart":261.2000002861023,"fetchStart":261.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":305.7000002861023,"responseEnd":335.7000002861023,"responseStart":332,"secureConnectionStart":261.2000002861023},{"duration":490.2000002861023,"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":265.5,"connectEnd":265.5,"connectStart":265.5,"domainLookupEnd":265.5,"domainLookupStart":265.5,"fetchStart":265.5,"redirectEnd":0,"redirectStart":0,"requestStart":391.90000009536743,"responseEnd":755.7000002861023,"responseStart":746.7000002861023,"secureConnectionStart":265.5},{"duration":487.6000003814697,"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":265.59999990463257,"connectEnd":265.59999990463257,"connectStart":265.59999990463257,"domainLookupEnd":265.59999990463257,"domainLookupStart":265.59999990463257,"fetchStart":265.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":438.09999990463257,"responseEnd":753.2000002861023,"responseStart":738.5,"secureConnectionStart":265.59999990463257},{"duration":89.10000038146973,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":703.5999999046326,"connectEnd":703.5999999046326,"connectStart":703.5999999046326,"domainLookupEnd":703.5999999046326,"domainLookupStart":703.5999999046326,"fetchStart":703.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":757.3000001907349,"responseEnd":792.7000002861023,"responseStart":791.4000000953674,"secureConnectionStart":703.5999999046326}],"fetchStart":0,"domainLookupStart":41,"domainLookupEnd":59,"connectStart":59,"connectEnd":77,"secureConnectionStart":67,"requestStart":78,"responseStart":239,"responseEnd":263,"domLoading":244,"domInteractive":1231,"domContentLoadedEventStart":1231,"domContentLoadedEventEnd":1283,"domComplete":1576,"loadEventStart":1576,"loadEventEnd":1578,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1207.8000001907349},{"name":"bigPipe.sidebar-id.end","time":1208.7000002861023},{"name":"bigPipe.activity-panel-pipe-id.start","time":1208.8000001907349},{"name":"bigPipe.activity-panel-pipe-id.end","time":1209.8000001907349},{"name":"activityTabFullyLoaded","time":1300.4000000953674}],"measures":[],"correlationId":"ab5fef02eb108e","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":96,"dbReadsTimeInMs":11,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
danblack Looks like you just need to add an AS ProcessCheck explicit column name to the SELECT to make it the same in view-protocol and normal (I'm guessing - not familiar with view-protocol).
But in general, I think a lot of test cases would fail like this if the column names of the SELECT outputs differ in view-protocol from other modes. Where does this "Name_exp_1" name come from, why doesn't it give the full expression from the SELECT?
So this seems like something that needs to be fixed generally, not for a specific test case only?
Hope this helps,
- Kristian.