~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/double.cc

MergedĀ inĀ remove-include-dir

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
  if (error || (!len || (((uint) (end-from) != len) && table->in_use->count_cuted_fields)))
37
37
  {
38
38
    set_warning(MYSQL_ERROR::WARN_LEVEL_WARN,
39
 
                (error ? ER_WARN_DATA_OUT_OF_RANGE : WARN_DATA_TRUNCATED), 1);
 
39
                (error ? ER_WARN_DATA_OUT_OF_RANGE : ER_WARN_DATA_TRUNCATED), 1);
40
40
    error= error ? 1 : 2;
41
41
  }
42
42
  Field_double::store(nr);