Type:
Bug
Priority:
Major
Resolution:
Fixed
Affects Version/s:
5.5(EOL) , 10.0(EOL) , 10.1(EOL) , 10.2(EOL) , 10.3(EOL)
Update 15.7 for Visual Studio 2017 brought changes to popen() implementation, so that several tests that use non-ASCII UTF8 on the command line now fail, like that
CURRENT_TEST: main.grant
ERROR 1045 (28000): Access denied for user '??зе??_??зе??'@'localhost' (using password: NO)
mysqltest: At line 1583: exec of 'D:\work\5.5\xxx\client\Debug\mysql.exe --defaults-file=D:/work/5.5/xxx/mysql-test/var/my.cnf --default-character-set=utf8 --user=юзер_юзер -e "select user()"' failed, error: 1, status: 1, errno: 0
Output from before failure:
grant select on test.* to юзер_юзер@localhost;
So it seems like bytes that are not valid in current (ANSI? OEM?) encoding are now replaced with question marks inside popen(), during ANSI/Unicode conversion somewhere in popen().
Even if we replace _popen with _wpopen() and convert ourselves. But then , characters outside of current repertoire will be replaced by question marks by the C runtime, that converts command line (which is UTF16 on windows) to argv, prior to main(). The correct way to deal with it it would be to implement "WL#5331: Support Unicode for Windows command line client" https://dev.mysql.com/worklog/task/?id=5331 for MariaDB (it was not ported on some reason).
But for now, we need to fix the affected tests and avoid UTF8 outside of pure ASCII in command line, at least for all older versions. For mysql client, a temporary file can be created that contains UTF8.
Tests with --user=юзер_юзер should be skipped, for now
There are no comments yet on this issue.
{"report":{"fcp":744.2999999988824,"ttfb":245.2999999988824,"pageVisibility":"visible","entityId":67642,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"1c538c34-eda9-42d4-8ccd-ab1a1184266e","navigationType":0,"readyForUser":805.3999999985099,"redirectCount":0,"resourceLoadedEnd":567.7999999988824,"resourceLoadedStart":251.89999999850988,"resourceTiming":[{"duration":22.90000000037253,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":251.89999999850988,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":251.89999999850988,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":274.7999999988824,"responseStart":0,"secureConnectionStart":0},{"duration":23,"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":252.09999999962747,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":252.09999999962747,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":275.09999999962747,"responseStart":0,"secureConnectionStart":0},{"duration":67.60000000149012,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":252.39999999850988,"connectEnd":252.39999999850988,"connectStart":252.39999999850988,"domainLookupEnd":252.39999999850988,"domainLookupStart":252.39999999850988,"fetchStart":252.39999999850988,"redirectEnd":0,"redirectStart":0,"requestStart":279.09999999962747,"responseEnd":320,"responseStart":291.19999999925494,"secureConnectionStart":252.39999999850988},{"duration":99.79999999888241,"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":252.5,"connectEnd":252.5,"connectStart":252.5,"domainLookupEnd":252.5,"domainLookupStart":252.5,"fetchStart":252.5,"redirectEnd":0,"redirectStart":0,"requestStart":279.3999999985099,"responseEnd":352.2999999988824,"responseStart":295.69999999925494,"secureConnectionStart":252.5},{"duration":39.5,"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":252.69999999925494,"connectEnd":252.69999999925494,"connectStart":252.69999999925494,"domainLookupEnd":252.69999999925494,"domainLookupStart":252.69999999925494,"fetchStart":252.69999999925494,"redirectEnd":0,"redirectStart":0,"requestStart":279.59999999962747,"responseEnd":292.19999999925494,"responseStart":291.7999999988824,"secureConnectionStart":252.69999999925494},{"duration":59.5,"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":252.7999999988824,"connectEnd":252.7999999988824,"connectStart":252.7999999988824,"domainLookupEnd":252.7999999988824,"domainLookupStart":252.7999999988824,"fetchStart":252.7999999988824,"redirectEnd":0,"redirectStart":0,"requestStart":282.19999999925494,"responseEnd":312.2999999988824,"responseStart":311.8999999985099,"secureConnectionStart":252.7999999988824},{"duration":58.79999999888241,"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":253,"connectEnd":253,"connectStart":253,"domainLookupEnd":253,"domainLookupStart":253,"fetchStart":253,"redirectEnd":0,"redirectStart":0,"requestStart":284.09999999962747,"responseEnd":311.7999999988824,"responseStart":311.3999999985099,"secureConnectionStart":253},{"duration":28,"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":253.09999999962747,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":253.09999999962747,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":281.09999999962747,"responseStart":0,"secureConnectionStart":0},{"duration":58,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":253.2999999988824,"connectEnd":253.2999999988824,"connectStart":253.2999999988824,"domainLookupEnd":253.2999999988824,"domainLookupStart":253.2999999988824,"fetchStart":253.2999999988824,"redirectEnd":0,"redirectStart":0,"requestStart":285.19999999925494,"responseEnd":311.2999999988824,"responseStart":310.7999999988824,"secureConnectionStart":253.2999999988824},{"duration":28.899999998509884,"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":253.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":253.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":282.3999999985099,"responseStart":0,"secureConnectionStart":0},{"duration":57.09999999962747,"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":253.59999999962747,"connectEnd":253.59999999962747,"connectStart":253.59999999962747,"domainLookupEnd":253.59999999962747,"domainLookupStart":253.59999999962747,"fetchStart":253.59999999962747,"redirectEnd":0,"redirectStart":0,"requestStart":285.7999999988824,"responseEnd":310.69999999925494,"responseStart":310.09999999962747,"secureConnectionStart":253.59999999962747},{"duration":299.09999999962747,"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":268.69999999925494,"connectEnd":268.69999999925494,"connectStart":268.69999999925494,"domainLookupEnd":268.69999999925494,"domainLookupStart":268.69999999925494,"fetchStart":268.69999999925494,"redirectEnd":0,"redirectStart":0,"requestStart":335.3999999985099,"responseEnd":567.7999999988824,"responseStart":564.6999999992549,"secureConnectionStart":268.69999999925494},{"duration":296.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":271.09999999962747,"connectEnd":271.09999999962747,"connectStart":271.09999999962747,"domainLookupEnd":271.09999999962747,"domainLookupStart":271.09999999962747,"fetchStart":271.09999999962747,"redirectEnd":0,"redirectStart":0,"requestStart":491.8999999985099,"responseEnd":567.5999999996275,"responseStart":564.1999999992549,"secureConnectionStart":271.09999999962747},{"duration":207.90000000037253,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":503.7999999988824,"connectEnd":503.7999999988824,"connectStart":503.7999999988824,"domainLookupEnd":503.7999999988824,"domainLookupStart":503.7999999988824,"fetchStart":503.7999999988824,"redirectEnd":0,"redirectStart":0,"requestStart":679.5999999996275,"responseEnd":711.6999999992549,"responseStart":711.0999999996275,"secureConnectionStart":503.7999999988824},{"duration":115.09999999962747,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":722.0999999996275,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":722.0999999996275,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":837.1999999992549,"responseStart":0,"secureConnectionStart":0},{"duration":133.10000000149012,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":744.3999999985099,"connectEnd":744.3999999985099,"connectStart":744.3999999985099,"domainLookupEnd":744.3999999985099,"domainLookupStart":744.3999999985099,"fetchStart":744.3999999985099,"redirectEnd":0,"redirectStart":0,"requestStart":845.5,"responseEnd":877.5,"responseStart":877,"secureConnectionStart":744.3999999985099}],"fetchStart":0,"domainLookupStart":26,"domainLookupEnd":64,"connectStart":64,"connectEnd":83,"secureConnectionStart":72,"requestStart":84,"responseStart":245,"responseEnd":271,"domLoading":248,"domInteractive":853,"domContentLoadedEventStart":853,"domContentLoadedEventEnd":886,"domComplete":1393,"loadEventStart":1393,"loadEventEnd":1394,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":839},{"name":"bigPipe.sidebar-id.end","time":840},{"name":"bigPipe.activity-panel-pipe-id.start","time":840},{"name":"bigPipe.activity-panel-pipe-id.end","time":840.5},{"name":"activityTabFullyLoaded","time":897.3999999985099}],"measures":[],"correlationId":"fe74c49c2e343e","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":96,"dbReadsTimeInMs":12,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}