Skip to content

Commit

Permalink
<4x changes
Browse files Browse the repository at this point in the history
  • Loading branch information
KushaalShroff committed Sep 26, 2024
1 parent efbebc8 commit 896fca9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 48 deletions.
31 changes: 0 additions & 31 deletions test/JDBC/expected/Test-sp_reset_connection.out
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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
17 changes: 0 additions & 17 deletions test/JDBC/input/storedProcedures/Test-sp_reset_connection.mix
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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

0 comments on commit 896fca9

Please sign in to comment.