VA needs FALSE not false
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
05a8bfed08
commit
eedb15434a
@ -3126,13 +3126,13 @@ bool wxDb::TablePrivileges(const char *tableName, const char* priv, const char *
|
|||||||
result.grantor, result.grantee);
|
result.grantor, result.grantee);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (UserID.IsSameAs(result.tableOwner,false))
|
if (UserID.IsSameAs(result.tableOwner,FALSE))
|
||||||
{
|
{
|
||||||
SQLFreeStmt(hstmt, SQL_CLOSE);
|
SQLFreeStmt(hstmt, SQL_CLOSE);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (UserID.IsSameAs(result.grantee,false) &&
|
if (UserID.IsSameAs(result.grantee,FALSE) &&
|
||||||
!wxStrcmp(result.privilege,priv))
|
!wxStrcmp(result.privilege,priv))
|
||||||
{
|
{
|
||||||
SQLFreeStmt(hstmt, SQL_CLOSE);
|
SQLFreeStmt(hstmt, SQL_CLOSE);
|
||||||
|
Loading…
Reference in New Issue
Block a user