8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 06:03:02 +01:00

Fixed SEGV implicitly caused by one of recent Blas' commits.

This commit is contained in:
dimitr 2003-02-20 14:51:05 +00:00
parent efaf6def56
commit 171766b859

View File

@ -37,7 +37,7 @@
* *
*/ */
/* /*
$Id: met.epp,v 1.52 2003-02-20 00:10:09 brodsom Exp $ $Id: met.epp,v 1.53 2003-02-20 14:51:05 dimitr Exp $
*/ */
// This MUST be at the top of the file // This MUST be at the top of the file
#ifdef DARWIN #ifdef DARWIN
@ -1356,7 +1356,7 @@ int MET_lookup_field(TDBB tdbb, JRD_REL relation, const TEXT* name, const TEXT*
vec::iterator fieldIter, end; vec::iterator fieldIter, end;
const TEXT* p; const TEXT* p;
const TEXT* q; const TEXT* q;
SSHORT id; USHORT id;
UCHAR length; UCHAR length;
SET_TDBB(tdbb); SET_TDBB(tdbb);
@ -1395,7 +1395,7 @@ int MET_lookup_field(TDBB tdbb, JRD_REL relation, const TEXT* name, const TEXT*
/* Not found. Next, try system relations directly */ /* Not found. Next, try system relations directly */
id = -1; id = (USHORT) -1;
if (!relation->rel_name) if (!relation->rel_name)
{ {