Skip to content

Commit 04a8861

Browse files
committed
Cleanup
1 parent cb71c85 commit 04a8861

File tree

1 file changed

+0
-34
lines changed

1 file changed

+0
-34
lines changed

src/dsql/metd.epp

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -76,40 +76,6 @@ namespace
7676
ERR_post(Arg::Gds(isc_bad_trans_handle));
7777
}
7878
}
79-
80-
bool isSystemRelation(thread_db* tdbb, jrd_tra* transaction, const char* relName)
81-
{
82-
bool rc = false;
83-
84-
AutoCacheRequest handle(tdbb, irq_system_relation, IRQ_REQUESTS);
85-
FOR(REQUEST_HANDLE handle TRANSACTION_HANDLE transaction)
86-
R IN RDB$RELATIONS WITH
87-
R.RDB$RELATION_NAME EQ relName AND
88-
R.RDB$SYSTEM_FLAG EQ 1
89-
{
90-
rc = true;
91-
}
92-
END_FOR
93-
94-
return rc;
95-
}
96-
97-
bool isSystemDomain(thread_db* tdbb, jrd_tra* transaction, const char* fldName)
98-
{
99-
bool rc = false;
100-
101-
AutoCacheRequest handle(tdbb, irq_system_domain, IRQ_REQUESTS);
102-
FOR(REQUEST_HANDLE handle TRANSACTION_HANDLE transaction)
103-
R IN RDB$FIELDS WITH
104-
R.RDB$FIELD_NAME EQ fldName AND
105-
R.RDB$SYSTEM_FLAG EQ 1
106-
{
107-
rc = true;
108-
}
109-
END_FOR
110-
111-
return rc;
112-
}
11379
}
11480

11581

0 commit comments

Comments
 (0)