Notification of SQL Server 2016 SP1 CU9 (build 13.0.4502.0) and SP2 CU 1 (build 13.0.5149.0) releases was made today.
AKAWN Monitoring detected the following change between SP2 and SP2 CU1.
Modules
Name | New | Old |
sys.sp_flush_commit_table_on_demand | CREATE PROC sys.sp_flush_commit_table_on_demand (@numrows as BIGINT = NULL, @deleted_rows BIGINT = NULL OUTPUT, @date_cleanedup DATETIME = NULL OUTPUT, @cleanup_ts BIGINT = NULL OUTPUT) AS BEGINIF (is_srvrolemember(‘sysadmin’) = 0) BEGIN raiserror(21089,0,1) return 1 END IF (@numrows<=0) SET DEADLOCK_PRIORITY LOW IF EXISTS (SELECT * FROM sys.change_tracking_databases where database_id = DB_ID()) — checking for change tracking side table watermark — checking for safe cleanup watermark IF @cleanup_ts > @cleanup_version SELECT @deleted_rowcount = 0, @deleted_rows = 0 WHILE (1=1) select @date_cleanedup = min(commit_time) from sys.syscommittab where commit_ts = (select min(commit_ts) from sys.syscommittab) END |
CREATE PROC sys.sp_flush_commit_table_on_demand (@numrows as BIGINT = NULL, @deleted_rows BIGINT = NULL OUTPUT, @date_cleanedup DATETIME = NULL OUTPUT, @cleanup_ts BIGINT = NULL OUTPUT) AS BEGINIF (is_srvrolemember(‘sysadmin’) = 0) BEGIN raiserror(21089,0,1) return 1 END IF (@numrows<=0) SET DEADLOCK_PRIORITY LOW DECLARE @batch_size INT — checking for change tracking side table watermark — checking for safe cleanup watermark IF @cleanup_ts > @cleanup_version SELECT @deleted_rowcount = 0, @deleted_rows = 0 WHILE (1=1) select @date_cleanedup = min(commit_time) from sys.syscommittab where commit_ts = (select min(commit_ts) from sys.syscommittab) raiserror(21092,-1,-1,@dbname) END |