anchor.diff:  privObjectType
   @init {pushMsg("privilege object type type", state);}
   @after {popMsg(state);}
  -    : KW_DATABASE -> ^(TOK_DB_TYPE)
  +    : (KW_DATABASE|KW_SCHEMA) -> ^(TOK_DB_TYPE)
       | KW_TABLE? -> ^(TOK_TABLE_TYPE)
       ;
   
  
positive.code: lockDatabase
  @init { pushMsg("lock database statement", state); }
  @after { popMsg(state); }
      : KW_LOCK KW_DATABASE (dbName=Identifier) lockMode -> ^(TOK_LOCKDB $dbName lockMode)
      ;
  
  lockMode
  
negative.code:     -> ^(TOK_SHOW_TABLESTATUS showStmtIdentifier $db_name? partitionSpec?)
      | KW_SHOW KW_TBLPROPERTIES tblName=identifier (LPAREN prptyName=StringLiteral RPAREN)? -> ^(TOK_SHOW_TBLPROPERTIES $tblName $prptyName?)
      | KW_SHOW KW_LOCKS (parttype=partTypeExpr)? (isExtended=KW_EXTENDED)? -> ^(TOK_SHOWLOCKS $parttype? $isExtended?)
      | KW_SHOW KW_LOCKS (KW_DATABASE|KW_SCHEMA) (dbName=Identifier) (isExtended=KW_EXTENDED)? -> ^(TOK_SHOWDBLOCKS $dbName $isExtended?)
      | KW_SHOW (showOptions=KW_FORMATTED)? (KW_INDEX|KW_INDEXES) KW_ON showStmtIdentifier ((KW_FROM|KW_IN) db_name=identifier)?
      -> ^(TOK_SHOWINDEXES showStmtIdentifier $showOptions? $db_name?)
      | KW_SHOW KW_COMPACTIONS -> ^(TOK_SHOW_COMPACTIONS)
  