diff --git a/src/include/firebird/FirebirdInterface.idl b/src/include/firebird/FirebirdInterface.idl index 63cd8f340d..c1f17a346a 100644 --- a/src/include/firebird/FirebirdInterface.idl +++ b/src/include/firebird/FirebirdInterface.idl @@ -516,8 +516,6 @@ interface Batch : ReferenceCounted uint getBlobAlignment(Status status); MessageMetadata getMetadata(Status status); void setDefaultBpb(Status status, uint parLength, const uchar* par); - -version: // added after FB4 RC1 void close(Status status); } diff --git a/src/include/firebird/IdlFbInterfaces.h b/src/include/firebird/IdlFbInterfaces.h index a903d52f82..37de20117f 100644 --- a/src/include/firebird/IdlFbInterfaces.h +++ b/src/include/firebird/IdlFbInterfaces.h @@ -1878,7 +1878,7 @@ namespace Firebird } public: - static const unsigned VERSION = 4; + static const unsigned VERSION = 3; static const unsigned char VERSION1 = 1; static const unsigned char TAG_MULTIERROR = 1; @@ -1967,12 +1967,6 @@ namespace Firebird template void close(StatusType* status) { - if (cloopVTable->version < 4) - { - StatusType::setVersionError(status, "IBatch", cloopVTable->version, 4); - StatusType::checkException(status); - return; - } StatusType::clearException(status); static_cast(this->cloopVTable)->close(this, status); StatusType::checkException(status); diff --git a/src/include/gen/Firebird.pas b/src/include/gen/Firebird.pas index 1da75d627e..d7a12190af 100644 --- a/src/include/gen/Firebird.pas +++ b/src/include/gen/Firebird.pas @@ -1513,7 +1513,7 @@ type end; IBatch = class(IReferenceCounted) - const VERSION = 4; + const VERSION = 3; const VERSION1 = Byte(1); const TAG_MULTIERROR = Byte(1); const TAG_RECORD_COUNTS = Byte(2); @@ -14961,7 +14961,7 @@ initialization IStatementImpl_vTable.createBatch := @IStatementImpl_createBatchDispatcher; IBatchImpl_vTable := BatchVTable.create; - IBatchImpl_vTable.version := 4; + IBatchImpl_vTable.version := 3; IBatchImpl_vTable.addRef := @IBatchImpl_addRefDispatcher; IBatchImpl_vTable.release := @IBatchImpl_releaseDispatcher; IBatchImpl_vTable.add := @IBatchImpl_addDispatcher;