mirror of
https://github.com/MariaDB/server.git
synced 2025-07-24 19:42:23 +03:00
MDEV-33374 main.mysql_connector_net fails on new Windows 11
Additionally pass `-ExecutionPolicy Bypass` to powershell.exe when executing script
This commit is contained in:
@ -4,7 +4,7 @@ let $sys_errno=0;
|
||||
# Error 100 is returned by the powershell script
|
||||
# if MySql.Data is not installed
|
||||
--error 0,100
|
||||
--exec powershell -NoLogo -NoProfile -File main\mysql_connector_net.ps1
|
||||
--exec powershell -ExecutionPolicy Bypass -NoLogo -NoProfile -File main\mysql_connector_net.ps1
|
||||
if ($sys_errno != 0)
|
||||
{
|
||||
--skip Connector/NET is not installed
|
||||
|
Reference in New Issue
Block a user