mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 21:23:04 +01:00
parent
68a7e88572
commit
00218503d6
@ -234,6 +234,8 @@ FB_UDR_BEGIN_TRIGGER(replicate_persons)
|
|||||||
"select data_source from replicate_config where name = ?",
|
"select data_source from replicate_config where name = ?",
|
||||||
SQL_DIALECT_CURRENT, NULL), status, statusVector);
|
SQL_DIALECT_CURRENT, NULL), status, statusVector);
|
||||||
|
|
||||||
|
const char* table = metadata->getTriggerTable(status);
|
||||||
|
|
||||||
// Skip the first exclamation point, separating the module name and entry point.
|
// Skip the first exclamation point, separating the module name and entry point.
|
||||||
const char* info = strchr(metadata->getEntryPoint(status), '!');
|
const char* info = strchr(metadata->getEntryPoint(status), '!');
|
||||||
|
|
||||||
|
@ -63,6 +63,13 @@ using namespace Firebird;
|
|||||||
|
|
||||||
DATABASE DB = STATIC "yachts.lnk";
|
DATABASE DB = STATIC "yachts.lnk";
|
||||||
|
|
||||||
|
static const UCHAR blr_bpb[] =
|
||||||
|
{
|
||||||
|
isc_bpb_version1,
|
||||||
|
isc_bpb_source_type, 1, isc_blob_blr,
|
||||||
|
isc_bpb_target_type, 1, isc_blob_blr
|
||||||
|
};
|
||||||
|
|
||||||
static void convert_dtype(TypeClause*, SSHORT);
|
static void convert_dtype(TypeClause*, SSHORT);
|
||||||
static void free_relation(dsql_rel*);
|
static void free_relation(dsql_rel*);
|
||||||
|
|
||||||
|
@ -238,6 +238,7 @@ inline void check_gbak_cheating_insupd(thread_db* tdbb, const jrd_rel* relation,
|
|||||||
inline void check_gbak_cheating_delete(thread_db* tdbb, const jrd_rel* relation)
|
inline void check_gbak_cheating_delete(thread_db* tdbb, const jrd_rel* relation)
|
||||||
{
|
{
|
||||||
const Attachment* const attachment = tdbb->getAttachment();
|
const Attachment* const attachment = tdbb->getAttachment();
|
||||||
|
const jrd_tra* const transaction = tdbb->getTransaction();
|
||||||
|
|
||||||
if (relation->isSystem() && attachment->isGbak())
|
if (relation->isSystem() && attachment->isGbak())
|
||||||
{
|
{
|
||||||
@ -2526,6 +2527,8 @@ bool VIO_get_current(thread_db* tdbb,
|
|||||||
**************************************/
|
**************************************/
|
||||||
SET_TDBB(tdbb);
|
SET_TDBB(tdbb);
|
||||||
|
|
||||||
|
Attachment* const attachment = tdbb->getAttachment();
|
||||||
|
|
||||||
#ifdef VIO_DEBUG
|
#ifdef VIO_DEBUG
|
||||||
jrd_rel* relation = rpb->rpb_relation;
|
jrd_rel* relation = rpb->rpb_relation;
|
||||||
VIO_trace(DEBUG_TRACE,
|
VIO_trace(DEBUG_TRACE,
|
||||||
@ -5192,12 +5195,12 @@ static void list_staying_fast(thread_db* tdbb, record_param* rpb, RecordStack& s
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
///const TraNumber oldest_active = tdbb->getTransaction()->tra_oldest_active;
|
const TraNumber oldest_active = tdbb->getTransaction()->tra_oldest_active;
|
||||||
|
|
||||||
while (temp.rpb_b_page)
|
while (temp.rpb_b_page)
|
||||||
{
|
{
|
||||||
///ULONG page = temp.rpb_page = temp.rpb_b_page;
|
ULONG page = temp.rpb_page = temp.rpb_b_page;
|
||||||
///USHORT line = temp.rpb_line = temp.rpb_b_line;
|
USHORT line = temp.rpb_line = temp.rpb_b_line;
|
||||||
temp.rpb_record = NULL;
|
temp.rpb_record = NULL;
|
||||||
|
|
||||||
if (temp.rpb_flags & rpb_delta)
|
if (temp.rpb_flags & rpb_delta)
|
||||||
|
Loading…
Reference in New Issue
Block a user