1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

- Fix variables used uninitialized

modified:
  storage/connect/filamdbf.cpp
  storage/connect/tabutil.cpp
This commit is contained in:
Olivier Bertrand
2013-12-28 16:56:51 +01:00
parent c055e5e0ef
commit 32284eba5c
2 changed files with 13 additions and 8 deletions

View File

@@ -218,7 +218,8 @@ PQRYRES TabColumns(PGLOBAL g, THD *thd, const char *db,
if (type == TYPE_DECIM)
prec = ((Field_new_decimal*)fp)->precision;
else
prec = (prec == NOT_FIXED_DEC) ? 0 : fp->field_length;
prec = fp->field_length;
// prec = (prec(???) == NOT_FIXED_DEC) ? 0 : fp->field_length;
len = fp->char_length();
fmt = NULL;