From 4d61f1247a1b6a86570cb03d3450930a78d689b3 Mon Sep 17 00:00:00 2001 From: Monty Date: Wed, 29 Jan 2020 16:41:04 +0200 Subject: Fixed compiler warnings from gcc 7.4.1 - Fixed possible error in rocksdb/rdb_datadic.cc --- storage/connect/filamdbf.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'storage/connect/filamdbf.cpp') diff --git a/storage/connect/filamdbf.cpp b/storage/connect/filamdbf.cpp index c8bab2b53a4..43b3e461cd1 100644 --- a/storage/connect/filamdbf.cpp +++ b/storage/connect/filamdbf.cpp @@ -841,6 +841,7 @@ int DBFFAM::DeleteRecords(PGLOBAL g, int irc) if (irc == RC_OK) { // T_Stream is the temporary stream or the table file stream itself if (!T_Stream) + { if (UseTemp) { if (OpenTempFile(g)) return RC_FX; @@ -850,7 +851,7 @@ int DBFFAM::DeleteRecords(PGLOBAL g, int irc) } else T_Stream = Stream; - + } *Tdbp->GetLine() = '*'; Modif++; // Modified line in Delete mode } // endif irc -- cgit v1.2.1