~maria-captains/maria/10.0

« back to all changes in this revision

Viewing changes to storage/connect/tabutil.cpp

  • Committer: Olivier Bertrand
  • Date: 2013-12-28 15:56:51 UTC
  • mto: This revision was merged to the branch mainline in revision 3966.
  • Revision ID: bertrandop@gmail.com-20131228155651-deu3qzs9l0gz0r72
- Fix variables used uninitialized

modified:
  storage/connect/filamdbf.cpp
  storage/connect/tabutil.cpp

Show diffs side-by-side

added added

removed removed

Lines of Context:
218
218
      if (type == TYPE_DECIM)
219
219
        prec = ((Field_new_decimal*)fp)->precision;
220
220
      else
221
 
        prec = (prec == NOT_FIXED_DEC) ? 0 : fp->field_length;
 
221
        prec = fp->field_length;
 
222
//      prec = (prec(???) == NOT_FIXED_DEC) ? 0 : fp->field_length;
222
223
 
223
224
      len = fp->char_length();
224
225
      fmt = NULL;