freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Wilson, John" <John.Wilson AT savvis.net>
- To: "TDS Development Group (E-mail)" <freetds AT franklin.metalab.unc.edu>
- Subject: Question on ct.c
- Date: Wed, 30 Oct 2002 10:08:28 -0600
TDS Group:
In the ctlib/ct.c source, method ct_results(), there are two switch
statements in here.
The inner one has a default: case, but the outer one does not. Is this an
issue? I would think that the outer default case be the same as TDS_FAIL?
BTW, I cleaned up the tabs here ;-)
default:
retcode = CS_SUCCEED;
*result_type = res_type;
done = 1;
break;
}
break;
case TDS_NO_MORE_RESULTS:
done = 1;
retcode = CS_END_RESULTS;
break;
case TDS_FAIL:
done = 1;
retcode = CS_FAIL;
break;
}
}
return (retcode);
}
-
Question on ct.c,
Wilson, John, 10/30/2002
- <Possible follow-up(s)>
- RE: Question on ct.c, Castellano, Nicholas, 10/30/2002
- RE: Question on ct.c, Wilson, John, 10/30/2002
- RE: Question on ct.c, Castellano, Nicholas, 10/30/2002
Archive powered by MHonArc 2.6.24.