diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2014-03-31 01:20:35 +0200 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2014-03-31 01:20:35 +0200 |
commit | b1ae8341655e7af388fc203392151890478ae086 (patch) | |
tree | 429276cdf34455c113863c84c49f7d7875821cf1 /storage/connect/tabutil.cpp | |
parent | fe3cbcdffa6d419bcc3658fb6dda9ea371b19d35 (diff) | |
download | mariadb-git-b1ae8341655e7af388fc203392151890478ae086.tar.gz |
- Fix using ~ in file name on Linux
modified:
storage/connect/osutil.c
storage/connect/plugutil.c
- Fix using fmt uninitialized in Tabcolumns
modified:
storage/connect/tabutil.cpp
- Suppress gcc warning
modified:
storage/connect/ha_connect.cc
Diffstat (limited to 'storage/connect/tabutil.cpp')
-rw-r--r-- | storage/connect/tabutil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/connect/tabutil.cpp b/storage/connect/tabutil.cpp index b5203b90df9..e77af35a8a4 100644 --- a/storage/connect/tabutil.cpp +++ b/storage/connect/tabutil.cpp @@ -220,6 +220,7 @@ PQRYRES TabColumns(PGLOBAL g, THD *thd, const char *db, crp = crp->Next; // Type_Name crp->Kdata->SetValue(GetTypeName(type), i); + fmt = NULL; if (type == TYPE_DATE) { // When creating tables we do need info about date columns @@ -239,7 +240,6 @@ PQRYRES TabColumns(PGLOBAL g, THD *thd, const char *db, // prec = (prec(???) == NOT_FIXED_DEC) ? 0 : fp->field_length; len = fp->char_length(); - fmt = NULL; } else prec = len = zconv; |