anchor.diff:  lockDatabase
   @init { pushMsg("lock database statement", state); }
   @after { popMsg(state); }
  -    : KW_LOCK KW_DATABASE (dbName=Identifier) lockMode -> ^(TOK_LOCKDB $dbName lockMode)
  +    : KW_LOCK (KW_DATABASE|KW_SCHEMA) (dbName=Identifier) lockMode -> ^(TOK_LOCKDB $dbName lockMode)
       ;
   
   lockMode
  
positive.code: @after { popMsg(state); }
      : (KW_DESCRIBE|KW_DESC) (descOptions=KW_FORMATTED|descOptions=KW_EXTENDED|descOptions=KW_PRETTY)? (parttype=descPartTypeExpr) -> ^(TOK_DESCTABLE $parttype $descOptions?)
      | (KW_DESCRIBE|KW_DESC) KW_FUNCTION KW_EXTENDED? (name=descFuncNames) -> ^(TOK_DESCFUNCTION $name KW_EXTENDED?)
      | (KW_DESCRIBE|KW_DESC) KW_DATABASE KW_EXTENDED? (dbName=identifier) -> ^(TOK_DESCDATABASE $dbName KW_EXTENDED?)
      ;
  
  analyzeStatement
  
negative.code: privObjectType
  @init {pushMsg("privilege object type type", state);}
  @after {popMsg(state);}
      : (KW_DATABASE|KW_SCHEMA) -> ^(TOK_DB_TYPE)
      | KW_TABLE? -> ^(TOK_TABLE_TYPE)
      ;
  
  