mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 10:03:03 +01:00
Misc.
This commit is contained in:
parent
8e746b26c0
commit
a0df34e064
@ -57,7 +57,7 @@ Record* RecordBuffer::getTempRecord() const
|
||||
return record;
|
||||
}
|
||||
|
||||
void RecordBuffer::store(const Record* new_record)
|
||||
offset_t RecordBuffer::store(const Record* new_record)
|
||||
{
|
||||
fb_assert(new_record->rec_length == length);
|
||||
|
||||
@ -65,7 +65,7 @@ void RecordBuffer::store(const Record* new_record)
|
||||
|
||||
space->write(count * length, (UCHAR*) new_record->rec_data, length);
|
||||
|
||||
count++;
|
||||
return count++;
|
||||
}
|
||||
|
||||
bool RecordBuffer::fetch(offset_t position, Record* to_record)
|
||||
|
@ -36,7 +36,7 @@ public:
|
||||
size_t getCount() const;
|
||||
Record* getTempRecord() const;
|
||||
|
||||
void store(const Record*);
|
||||
offset_t store(const Record*);
|
||||
bool fetch(offset_t, Record*);
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user