~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/field.cc

Bunch of warning cleanups.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2824
2824
    }
2825
2825
    else if (nr > (double) UINT_MAX32)
2826
2826
    {
2827
 
      res= UINT_MAX32;
 
2827
      res= INT_MAX32;
2828
2828
      set_warning(MYSQL_ERROR::WARN_LEVEL_WARN, ER_WARN_DATA_OUT_OF_RANGE, 1);
2829
2829
      error= 1;
2830
2830
    }