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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user