diff --git a/src/jrd/VirtualTable.cpp b/src/jrd/VirtualTable.cpp index bf75315d9e..c3b4c965e4 100644 --- a/src/jrd/VirtualTable.cpp +++ b/src/jrd/VirtualTable.cpp @@ -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); diff --git a/src/jrd/VirtualTable.h b/src/jrd/VirtualTable.h index 3b21760b12..0706ecaed9 100644 --- a/src/jrd/VirtualTable.h +++ b/src/jrd/VirtualTable.h @@ -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