8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 18:03:04 +01:00
This commit is contained in:
asfernandes 2006-07-17 20:18:40 +00:00
parent 6739915688
commit 2f8d1a1a65
2 changed files with 10 additions and 3 deletions

View File

@ -38,6 +38,7 @@
using namespace Jrd;
void VirtualTable::close(thread_db* tdbb, RecordSource* rsb)
{
SET_TDBB(tdbb);
@ -48,11 +49,13 @@ void VirtualTable::close(thread_db* tdbb, RecordSource* rsb)
impure->irsb_record_buffer = NULL;
}
void VirtualTable::erase(record_param* rpb)
{
ERR_post(isc_read_only, 0);
}
bool VirtualTable::get(thread_db* tdbb, RecordSource* rsb)
{
SET_TDBB(tdbb);
@ -69,11 +72,13 @@ bool VirtualTable::get(thread_db* tdbb, RecordSource* rsb)
return impure->irsb_record_buffer->fetch(rpb->rpb_record);
}
void VirtualTable::modify(record_param* org_rpb, record_param* new_rpb)
{
ERR_post(isc_read_only, 0);
}
void VirtualTable::open(thread_db* tdbb, RecordSource* rsb)
{
SET_TDBB(tdbb);
@ -99,6 +104,7 @@ void VirtualTable::open(thread_db* tdbb, RecordSource* rsb)
impure->irsb_record_buffer = snapshot->getData(relation);
}
Jrd::RecordSource* VirtualTable::optimize(thread_db* tdbb, OptimizerBlk* opt, SSHORT stream)
{
SET_TDBB(tdbb);
@ -116,6 +122,7 @@ Jrd::RecordSource* VirtualTable::optimize(thread_db* tdbb, OptimizerBlk* opt, SS
return rsb;
}
void VirtualTable::store(record_param* rpb)
{
ERR_post(isc_read_only, 0);

View File

@ -20,8 +20,8 @@
* Contributor(s): ______________________________________.
*/
#ifndef VIRTUAL_TABLE_H
#define VIRTUAL_TABLE_H
#ifndef JRD_VIRTUAL_TABLE_H
#define JRD_VIRTUAL_TABLE_H
namespace Jrd {
@ -42,4 +42,4 @@ void store(Jrd::record_param*);
}; // namespace Jrd
#endif // VIRTUAL_TABLE_H
#endif // JRD_VIRTUAL_TABLE_H