When permissions are restricted through the Server Connection Permissions settings, the user is still allowed to work with temporary databases. Originally we only supported the system temp database. Later we added support for the session bound temp database. Now we want support for all temporary databases. We will do this by extracting all user defined temporary databases from the sysdatabases table where status3 & 256 == 256 and making the check against the full temp database list.
645 KB
356 KB
Needed code changes made and checked in. Temp database list is now extracted and checked against when executing statements that fall into this category for sybase ase 12.5 and above.
Open ADS-15.0-16-3
disk init name = 'tempdb2dev_2'
, physname = 'C:\SAP\data\tempdb2dev_2.dat'
, vdevno = 14
, size = 11776
, dsync = false
, vstart = 13
GO
create temporary database tempdb2 on tempdb2dev_2 = '122424K'
Go
disk init name = 'tempdb2dev_2'
, physname = 'C:\SAP\data\tempdb2dev_2.dat'
, vdevno = 14
, size = 11776
, dsync = false
, vstart = 13
GO
create temporary database tempdb2 on tempdb2dev_2 = '122424K'
Go
create table #authors
(au_id char (11))
Open ADS-15.0-16-3
disk init name = 'tempdb2dev_2'
, physname = 'C:\SAP\data\tempdb2dev_2.dat'
, vdevno = 14
, size = 11776
, dsync = false
, vstart = 13
GO
create temporary database tempdb2 on tempdb2dev_2 = '122424K'
Go
disk init name = 'tempdb2dev_2'
, physname = 'C:\SAP\data\tempdb2dev_2.dat'
, vdevno = 14
, size = 11776
, dsync = false
, vstart = 13
GO
create temporary database tempdb2 on tempdb2dev_2 = '122424K'
Go
create table #authors
(au_id char (11))
Issue #13973 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build v15.0.16-3 |
No time estimate |
Needed code changes made and checked in. Temp database list is now extracted and checked against when executing statements that fall into this category for sybase ase 12.5 and above.