mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 23:23:04 +01:00
Fixed SEGV implicitly caused by one of recent Blas' commits.
This commit is contained in:
parent
efaf6def56
commit
171766b859
@ -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
|
||||
#ifdef DARWIN
|
||||
@ -1356,7 +1356,7 @@ int MET_lookup_field(TDBB tdbb, JRD_REL relation, const TEXT* name, const TEXT*
|
||||
vec::iterator fieldIter, end;
|
||||
const TEXT* p;
|
||||
const TEXT* q;
|
||||
SSHORT id;
|
||||
USHORT id;
|
||||
UCHAR length;
|
||||
|
||||
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 */
|
||||
|
||||
id = -1;
|
||||
id = (USHORT) -1;
|
||||
|
||||
if (!relation->rel_name)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user