\r
Date Dev Ver Change details\r
---------- --- ----- --------------\r
+2008-05-29 DP 1.8.3 Ensure the grant wizard works correctly with EDB stored\r
+ procedures.\r
2008-05-28 DP 1.8.3 Ensure functions in databases with non-ASCII names can be\r
debugged.\r
2008-05-27 DP 1.8.3 Allow a debugging session to be cancelled correctly on\r
{
case PGM_FUNCTION:
{
- tmp = securityPage->GetGrant(wxT("X"), wxT("FUNCTION ")
- + obj->GetQuotedFullIdentifier() + wxT("(")
- + ((pgFunction*)obj)->GetArgSigList() + wxT(")"));
+ if (((pgFunction*)obj)->GetIsProcedure())
+ {
+ tmp = securityPage->GetGrant(wxT("X"), wxT("PROCEDURE ")
+ + obj->GetQuotedFullIdentifier() + wxT("(")
+ + ((pgProcedure*)obj)->GetArgSigList() + wxT(")"));
+ }
+ else
+ {
+ tmp = securityPage->GetGrant(wxT("X"), wxT("FUNCTION ")
+ + obj->GetQuotedFullIdentifier() + wxT("(")
+ + ((pgFunction*)obj)->GetArgSigList() + wxT(")"));
+ }
break;
}
case PGM_VIEW: