From 896fca91439d9819fc5fbd20f0cb68840e573b71 Mon Sep 17 00:00:00 2001 From: "Kushaalshroff1234@gmail.com" Date: Thu, 26 Sep 2024 14:29:38 +0000 Subject: [PATCH] <4x changes --- .../expected/Test-sp_reset_connection.out | 31 ------------------- .../Test-sp_reset_connection.mix | 17 ---------- 2 files changed, 48 deletions(-) diff --git a/test/JDBC/expected/Test-sp_reset_connection.out b/test/JDBC/expected/Test-sp_reset_connection.out index 7c4f6e2be0..b4031c8812 100644 --- a/test/JDBC/expected/Test-sp_reset_connection.out +++ b/test/JDBC/expected/Test-sp_reset_connection.out @@ -113,8 +113,6 @@ smallint -- Tests include negative cases where db is dropped or renamed Create database reset_con_db1; GO -Create database reset_con_db2; -GO -- tsql database=reset_con_db1 select db_name(); @@ -154,32 +152,3 @@ GO ~~ERROR (Message: database "reset_con_db1" does not exist)~~ --- tsql database=reset_con_db2 -select db_name(); -GO -~~START~~ -nvarchar -reset_con_db2 -~~END~~ - -use master -GO -select db_name(); -GO -~~START~~ -nvarchar -master -~~END~~ - -ALTER DATABASE reset_con_db2 MODIFY NAME=reset_con_db3 -GO -exec sys.sp_reset_connection -GO -~~ERROR (Code: 911)~~ - -~~ERROR (Message: database "reset_con_db2" does not exist)~~ - - --- tsql -DROP DATABASE reset_con_db3 -GO diff --git a/test/JDBC/input/storedProcedures/Test-sp_reset_connection.mix b/test/JDBC/input/storedProcedures/Test-sp_reset_connection.mix index 30cf8469c6..6a1747ea62 100644 --- a/test/JDBC/input/storedProcedures/Test-sp_reset_connection.mix +++ b/test/JDBC/input/storedProcedures/Test-sp_reset_connection.mix @@ -60,8 +60,6 @@ GO -- Tests include negative cases where db is dropped or renamed Create database reset_con_db1; GO -Create database reset_con_db2; -GO -- tsql database=reset_con_db1 select db_name(); @@ -81,19 +79,4 @@ use master; drop database reset_con_db1; GO exec sys.sp_reset_connection -GO --- tsql database=reset_con_db2 -select db_name(); -GO -use master -GO -select db_name(); -GO -ALTER DATABASE reset_con_db2 MODIFY NAME=reset_con_db3 -GO -exec sys.sp_reset_connection -GO - --- tsql -DROP DATABASE reset_con_db3 GO \ No newline at end of file