Skip to content

Commit

Permalink
Disabled setting external access on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
mbt1 committed May 15, 2024
1 parent 79cad00 commit 79ac412
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Build/SQL/DisableExternalAccess.sql
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
EXEC tSQLt.EnableExternalAccess @try = 0, @enable=0;
IF(EXISTS(SELECT 1 FROM tSQLt.Info() WHERE HostPlatform NOT IN ('Linux')))
BEGIN
EXEC tSQLt.EnableExternalAccess @try = 0, @enable=0;
END;
5 changes: 4 additions & 1 deletion Build/SQL/EnableExternalAccess.sql
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
EXEC tSQLt.EnableExternalAccess @try = 0, @enable=1;
IF(EXISTS(SELECT 1 FROM tSQLt.Info() WHERE HostPlatform NOT IN ('Linux')))
BEGIN
EXEC tSQLt.EnableExternalAccess @try = 0, @enable=1;
END;

0 comments on commit 79ac412

Please sign in to comment.