From ebe9b43673467777e37e5555ac3dafc9faf4e3c0 Mon Sep 17 00:00:00 2001 From: mtollari Date: Mon, 8 May 2017 15:01:49 +0000 Subject: [PATCH] Patch level : 12.0 386 Files correlati : tf Commento : Sistemato errore campo mancante, adesso in release compare una fatal_box che avvisa l'utente. git-svn-id: svn://10.65.10.50/branches/R_10_00@23794 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- src/include/isam.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/include/isam.cpp b/src/include/isam.cpp index 270163727..2d3098d5b 100755 --- a/src/include/isam.cpp +++ b/src/include/isam.cpp @@ -3220,7 +3220,11 @@ void TRectype::unknown_field(const char* name) const static int last_file = 0; if (_logicnum != last_file) { - NFCHECK("Il campo '%s' non appartiene al file %d", name, _logicnum); +#ifdef DBG + NFCHECK("Il campo '%s' non appartiene al file %d", name, _logicnum); +#else + fatal_box("Database non convertito.\nIl campo '%s' non appartiene al file %d", name, _logicnum); +#endif last_file = _logicnum; } }