diff options
author | Noel Kuntze <noel@familie-kuntze.de> | 2019-05-31 04:18:24 +0200 |
---|---|---|
committer | Robert Bindar <robert@mariadb.org> | 2019-07-30 09:58:17 +0300 |
commit | 46553c250808f0cc21e91f7e13439add2903aea0 (patch) | |
tree | 253205ef6681b659d49a49f2ecd752d53fca3c11 /storage/connect/colblk.cpp | |
parent | 0d5d8d2e7a1debece188f355ecd7b0984ef8d171 (diff) | |
download | mariadb-git-46553c250808f0cc21e91f7e13439add2903aea0.tar.gz |
Fix compiler warnings GCC8
Diffstat (limited to 'storage/connect/colblk.cpp')
-rw-r--r-- | storage/connect/colblk.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/storage/connect/colblk.cpp b/storage/connect/colblk.cpp index a9cf43f3d96..44383d584a8 100644 --- a/storage/connect/colblk.cpp +++ b/storage/connect/colblk.cpp @@ -79,15 +79,15 @@ COLBLK::COLBLK(PCOL col1, PTDB tdbp) if (trace(2)) htrc(" copying COLBLK %s from %p to %p\n", Name, col1, this); - if (tdbp) + if (tdbp) { // Attach the new column to the table block - if (!tdbp->GetColumns()) + if (!tdbp->GetColumns()) { tdbp->SetColumns(this); - else { + } else { for (colp = tdbp->GetColumns(); colp->Next; colp = colp->Next) ; - colp->Next = this; - } // endelse + } // endelse + } } // end of COLBLK copy constructor |