From dd70ff8bf32c2d7ed365004b1770058265db1978 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 11 Mar 2023 18:15:37 +0100 Subject: New upstream version 4.1.0 --- src/sql/xbdrptbl.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/sql/xbdrptbl.cpp') diff --git a/src/sql/xbdrptbl.cpp b/src/sql/xbdrptbl.cpp index e2cfa9d..b03ee8f 100755 --- a/src/sql/xbdrptbl.cpp +++ b/src/sql/xbdrptbl.cpp @@ -61,7 +61,7 @@ xbInt16 xbSql::SqlDropTable( const xbString &sCmdLine ){ sNode.Trim(); sNode.ToUpperCase(); if( sNode != "EXISTS" ){ - iErrorStop = 10; + iErrorStop = 100; iRc = XB_SYNTAX_ERROR; throw iRc; } else { @@ -91,22 +91,21 @@ xbInt16 xbSql::SqlDropTable( const xbString &sCmdLine ){ if( iRc == XB_FILE_NOT_FOUND && bIfExists ){ return XB_NO_ERROR; } else { - iErrorStop = 20; + iErrorStop = 110; throw iRc; } } } if( dbf == NULL ){ - iErrorStop = 40; + iErrorStop = 120; iRc = XB_OPEN_ERROR; throw iRc; } if(( dbf->DeleteTable()) != XB_NO_ERROR ){ - iErrorStop = 50; + iErrorStop = 130; throw iRc; } - } catch (xbInt16 iRc ){ -- cgit v1.2.3