bugfix at cmdValidateSQL in linux