Skip to content

Commit adf76fc

Browse files
committed
Fixed parse of various routines BLR
1 parent 81c0195 commit adf76fc

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/jrd/Routine.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ void Routine::parseBlr(thread_db* tdbb, CompilerScratch* csb, const bid* blob_id
164164

165165
Statement* statement = getStatement();
166166
flReload = false;
167-
PAR_blr(tdbb, &name.schema, nullptr, tmp.begin(), (ULONG) tmp.getCount(), NULL, &csb, &statement, false, 0);
167+
PAR_blr(tdbb, &getName().schema, nullptr, tmp.begin(), (ULONG) tmp.getCount(), NULL, &csb, &statement, false, 0);
168168
setStatement(statement);
169169

170170
if (csb->csb_g_flags & csb_reload)
@@ -180,7 +180,7 @@ void Routine::parseMessages(thread_db* tdbb, CompilerScratch* csb, BlrReader blr
180180
if (blrReader.getLength() < 2)
181181
status_exception::raise(Arg::Gds(isc_metadata_corrupt));
182182

183-
csb->csb_schema = name.schema;
183+
csb->csb_schema = getName().schema;
184184
csb->csb_blr_reader = blrReader;
185185

186186
PAR_getBlrVersionAndFlags(csb);

src/jrd/Routine.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,7 @@ namespace Jrd
172172

173173
private:
174174
USHORT id; // routine ID
175-
QualifiedName name; // routine name
176-
QualifiedName securityName; // security class name
177-
Statement* statement; // compiled routine statement
175+
Statement* statement; // compiled routine statement
178176
bool implemented; // Is the packaged routine missing the body/entrypoint?
179177
bool defined; // UDF has its implementation module available
180178
USHORT defaultCount; // default input arguments

0 commit comments

Comments
 (0)