@@ -121,8 +121,7 @@ static void lookup_view_contexts(thread_db*, jrd_rel*);
121121static void make_relation_scope_name(const TEXT*, const USHORT, string& str);
122122static ValueExprNode* parse_field_default_blr(thread_db* tdbb, bid* blob_id);
123123static BoolExprNode* parse_field_validation_blr(thread_db* tdbb, bid* blob_id, const MetaName name);
124- static void save_trigger_data(thread_db*, TrigVectorPtr*, jrd_rel*, JrdStatement*, blb*, blb*,
125- static bool resolve_charset_and_collation(thread_db*, USHORT*, const UCHAR*, const UCHAR*);
124+ static void save_trigger_data(thread_db*, TrigVectorPtr*, jrd_rel*, Statement*, blb*, blb*,
126125 const TEXT*, FB_UINT64, bool, USHORT, const MetaName&, const string&,
127126 const bid*, Nullable<bool> ssDefiner);
128127static void scan_partners(thread_db*, jrd_rel*);
@@ -5523,7 +5522,7 @@ void MetadataCache::runDBTriggers(thread_db* tdbb, TriggerAction action)
55235522}
55245523
55255524// Find an inactive incarnation of a system request. If necessary, clone it.
5526- jrd_req * MetadataCache::findSystemRequest(thread_db* tdbb, USHORT id, InternalRequest which)
5525+ Request * MetadataCache::findSystemRequest(thread_db* tdbb, USHORT id, InternalRequest which)
55275526{
55285527 static const int MAX_RECURSION = 100;
55295528
@@ -5533,7 +5532,7 @@ jrd_req* MetadataCache::findSystemRequest(thread_db* tdbb, USHORT id, InternalRe
55335532
55345533 fb_assert(which == IRQ_REQUESTS || which == DYN_REQUESTS);
55355534
5536- JrdStatement * statement = (which == IRQ_REQUESTS ? mdc_internal[id] : mdc_dyn_req[id]);
5535+ Statement * statement = (which == IRQ_REQUESTS ? mdc_internal[id] : mdc_dyn_req[id]);
55375536
55385537 if (!statement)
55395538 return NULL;
@@ -5549,7 +5548,7 @@ jrd_req* MetadataCache::findSystemRequest(thread_db* tdbb, USHORT id, InternalRe
55495548 // Msg363 "request depth exceeded. (Recursive definition?)"
55505549 }
55515550
5552- jrd_req * clone = statement->getRequest(tdbb, n);
5551+ Request * clone = statement->getRequest(tdbb, n);
55535552
55545553 if (!(clone->req_flags & (req_active | req_reserved)))
55555554 {
@@ -5803,10 +5802,10 @@ void Trigger::compile(thread_db* tdbb)
58035802 statement->triggerInvoker = att->getUserId(owner);
58045803
58055804 if (sysTrigger)
5806- statement->flags |= JrdStatement ::FLAG_SYS_TRIGGER;
5805+ statement->flags |= Statement ::FLAG_SYS_TRIGGER;
58075806
58085807 if (flags & TRG_ignore_perm)
5809- statement->flags |= JrdStatement ::FLAG_IGNORE_PERM;
5808+ statement->flags |= Statement ::FLAG_IGNORE_PERM;
58105809 }
58115810}
58125811
0 commit comments