Remove unnecessary method getConditionsSharedVariablesAndConstants for shared variables in SQLGenerator