step 12 : move localize variables to AbstractSql::localizeVariables()