Gives to the parser access to the DatabaseManager for query validation
Avoid losing error code