On 10-03-2012 11:05, Dmitry Yemanov wrote:
>>
>> Elegant, but for this task, I just can test the original condition in the
>> second place and avoid a flag that doesn't have presence in any other place
>> of the code. I mean,
>>
>> if (in_msg_type != MAX_USHORT)
>> {
>> request->execute(...);
Claudio,
> Hello, can someone comment on the usefulness of this flag, please?
>
> class dsql_req : public pool_alloc
> {
>
> static const unsigned FLAG_EMBEDDED = 0x02;
>
> It's only used in dsql.cpp, inside DSQL_execute()
>
> if ((SSHORT) in_msg_type == -1)
>
Hello, can someone comment on the usefulness of this flag, please?
class dsql_req : public pool_alloc
{
static const unsigned FLAG_EMBEDDED = 0x02;
It's only used in dsql.cpp, inside DSQL_execute()
if ((SSHORT) in_msg_type == -1)
request->