diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2013-12-28 16:56:51 +0100 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2013-12-28 16:56:51 +0100 |
commit | 32284eba5cfb82756799b0a88718aee272fd843c (patch) | |
tree | ca87b78f8c062e0dadfb46296788aed8471d9c38 /storage/connect/tabutil.cpp | |
parent | c055e5e0efcdd3750550230a483cdf8847b3d414 (diff) | |
download | mariadb-git-32284eba5cfb82756799b0a88718aee272fd843c.tar.gz |
- Fix variables used uninitialized
modified:
storage/connect/filamdbf.cpp
storage/connect/tabutil.cpp
Diffstat (limited to 'storage/connect/tabutil.cpp')
-rw-r--r-- | storage/connect/tabutil.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/connect/tabutil.cpp b/storage/connect/tabutil.cpp index de5f4a1004b..5e10c0a6846 100644 --- a/storage/connect/tabutil.cpp +++ b/storage/connect/tabutil.cpp @@ -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; |