void reset(String sql) {

        scanner.reset(sql);

        //
        parsePosition             = 0;
        isCheckOrTriggerCondition = false;
        isSchemaDefinition        = false;
        isRecording               = false;
        recordedStatement         = null;
    }
void reset ( String sql ) { scanner . reset ( sql ) ; parsePosition = 0 ; isCheckOrTriggerCondition = false ; isSchemaDefinition = false ; isRecording = false ; recordedStatement = null ; }
Resets this parse context with the given SQL character sequence.

Internal structures are reset as though a new parser were created
with the given sql and the originally specified database and session

@param sql a new SQL character sequence to replace the current one