mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 03:23:04 +01:00
Changed interface version
This commit is contained in:
parent
0e54673f3e
commit
5144f5258f
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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 <typename StatusType> void close(StatusType* status)
|
||||
{
|
||||
if (cloopVTable->version < 4)
|
||||
{
|
||||
StatusType::setVersionError(status, "IBatch", cloopVTable->version, 4);
|
||||
StatusType::checkException(status);
|
||||
return;
|
||||
}
|
||||
StatusType::clearException(status);
|
||||
static_cast<VTable*>(this->cloopVTable)->close(this, status);
|
||||
StatusType::checkException(status);
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user