~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_table.cc

update

Show diffs side-by-side

added added

removed removed

Lines of Context:
399
399
    tmp.type_names++;
400
400
    tmp.type_lengths++;
401
401
    tmp.count--;
402
 
    if (interval_set.find(typelib_set_member(*cur_value, *cur_length, cs)) != interval_set.end())
 
402
    if (interval_set.count(typelib_set_member(*cur_value, *cur_length, cs)))
403
403
    {
404
404
      my_error(ER_DUPLICATED_VALUE_IN_TYPE, MYF(0),
405
405
               name,*cur_value,set_or_name);