浏览代码

v1.6.6.1

Improved stats operations logging: stats that were updated as part of
index rebuild, or where stats update was not needed at runtime are now
logged. Columns [rows] and [rows_sampled] will have value -1.
Pedro Lopes 7 年之前
父节点
当前提交
e1eb793047
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      AdaptiveIndexDefrag/usp_AdaptiveIndexDefrag.sql

+ 1 - 1
AdaptiveIndexDefrag/usp_AdaptiveIndexDefrag.sql

@@ -1231,7 +1231,7 @@ BEGIN SET @hasIXsOUT = 1 END ELSE BEGIN SET @hasIXsOUT = 0 END'
 				, @currCompression NVARCHAR(60)
 
 		/* Initialize variables */	
-		SELECT @AID_dbID = DB_ID(), @startDateTime = GETDATE(), @endDateTime = DATEADD(minute, @timeLimit, GETDATE()), @operationFlag = NULL, @ver = '1.6.6';
+		SELECT @AID_dbID = DB_ID(), @startDateTime = GETDATE(), @endDateTime = DATEADD(minute, @timeLimit, GETDATE()), @operationFlag = NULL, @ver = '1.6.6.1';
 	
 		/* Create temporary tables */	
 		IF EXISTS (SELECT [object_id] FROM tempdb.sys.objects (NOLOCK) WHERE [object_id] = OBJECT_ID('tempdb.dbo.#tblIndexDefragDatabaseList'))