summaryrefslogtreecommitdiff
path: root/src/sql/xbdrptbl.cpp
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2023-03-11 18:15:55 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2023-03-11 18:15:55 +0100
commita3aecc48a8ce32221f3e6f04e227531596301700 (patch)
tree5cbcd7f9ffa01d6024fb5d2f2b5d435b5b4c7577 /src/sql/xbdrptbl.cpp
parent76f06edcf417fea572c0c0d2240ada4f377267ea (diff)
parent82f6dc9f22dded1754b36b00e34e0d6806c2a55e (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/sql/xbdrptbl.cpp')
-rwxr-xr-xsrc/sql/xbdrptbl.cpp9
1 files changed, 4 insertions, 5 deletions
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 ){