From 32284eba5cfb82756799b0a88718aee272fd843c Mon Sep 17 00:00:00 2001 From: Olivier Bertrand Date: Sat, 28 Dec 2013 16:56:51 +0100 Subject: - Fix variables used uninitialized modified: storage/connect/filamdbf.cpp storage/connect/tabutil.cpp --- storage/connect/tabutil.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'storage/connect/tabutil.cpp') 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; -- cgit v1.2.1