DatabaseProcApplicationCreatedLinks
sybsystemprocssp_jdbc_gettableprivileges  14 déc. 14Defects Propagation Dependencies

1     
2     create or replace procedure sp_jdbc_gettableprivileges(
3         @table_qualifier varchar(32),
4         @table_owner varchar(32) = null,
5         @table_name varchar(771) = null)
6     AS
7     
8         /* Sed replace tag point ADDPOINT_TABLE_PRIVS */
9         exec sp_drv_gettableprivileges @table_name, @table_owner, @table_qualifier
10    
11    


exec sp_procxmode 'sp_jdbc_gettableprivileges', 'AnyMode'
go

Grant Execute on sp_jdbc_gettableprivileges to public
go
DEFECTS
 MTYP 4 Assignment type mismatch @table_name: varchar(255) = varchar(771) 9
 MGTP 3 Grant to public sybsystemprocs..sp_jdbc_gettableprivileges  
 MNER 3 No Error Check should check return value of exec 9
 MUCO 3 Useless Code Useless Brackets in create proc 2
 MTR1 2 Metrics: Comments Ratio Comments: 9% 2
 MTR2 2 Metrics: Cyclomatic Complexity Cyclo: 2 = 1dec - 1exi + 2 2
 MTR3 2 Metrics: Query Complexity Complexity: 2 2

DEPENDENCIES
PROCS AND TABLES USED
calls proc sybsystemprocs..sp_drv_gettableprivileges  
   reads table sybsystemprocs..sysobjects  
   reads table master..sysloginroles (1)  
   writes table sybsystemprocs..sp_drv_gettableprivileges_rset_001 
   reads table sybsystemprocs..sysusers  
   reads table master..sysconfigures (1)  
   reads table sybsystemprocs..sysprotects  
   reads table master..syssrvroles (1)