Skip to content

Commit 6f1d31d

Browse files
committed
Fixed bug with InspectorUpgradeFilenameSync flag lookup query
#307 Fixed bug with InspectorUpgradeFilenameSync flag lookup query always returning a 1.
1 parent bfdbb28 commit 6f1d31d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

SQLUndercoverInspector/SQLUndercoverinspectorV2.sql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ GO
6565
Author: Adrian Buckman
6666
Created Date: 15/07/2017
6767

68-
Revision date: 19/07/2023
68+
Revision date: 20/07/2023
6969
Version: 2.8
7070

7171
Description: SQLUndercover Inspector setup script Case sensitive compatible.
@@ -129,7 +129,7 @@ SET ANSI_NULLS ON;
129129
SET QUOTED_IDENTIFIER ON;
130130
SET CONCAT_NULL_YIELDS_NULL ON;
131131

132-
DECLARE @Revisiondate DATE = '20230719';
132+
DECLARE @Revisiondate DATE = '20230720';
133133
DECLARE @Build VARCHAR(6) ='2.8'
134134

135135
DECLARE @JobID UNIQUEIDENTIFIER;
@@ -12818,7 +12818,7 @@ EXEC('CREATE PROCEDURE [Inspector].[SQLUnderCoverInspectorReport] AS;');
1281812818
EXEC sp_executesql N'
1281912819
/*********************************************
1282012820
--Author: Adrian Buckman
12821-
--Revision date: 11/01/2023
12821+
--Revision date: 20/07/2023
1282212822
--Description: SQLUnderCoverInspectorReport - Report and email from Central logging tables.
1282312823
*********************************************/
1282412824

@@ -12844,7 +12844,7 @@ OR @ModuleDesc IS NULL
1284412844
BEGIN
1284512845

1284612846
--Check if a database filename resync is required following installation of V1.4 or manually triggered via the setting
12847-
DECLARE @DatabaseFilenameSync BIT = (SELECT TRY_CONVERT(BIT,ISNULL(NULLIF([Value],''''),1)) FROM [Inspector].[Settings] WHERE [Description] = ''InspectorUpgradeFilenameSync'')
12847+
DECLARE @DatabaseFilenameSync BIT = (SELECT TRY_CONVERT(BIT,ISNULL(NULLIF([Value],''''),0)) FROM [Inspector].[Settings] WHERE [Description] = ''InspectorUpgradeFilenameSync'')
1284812848

1284912849
IF (@DatabaseFilenameSync = 1)
1285012850
BEGIN

0 commit comments

Comments
 (0)