Re: [Firebird-devel] FLAG_EMBEDDED

2012-03-10 Thread Adriano dos Santos Fernandes
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(...);

Re: [Firebird-devel] FLAG_EMBEDDED

2012-03-10 Thread Dmitry Yemanov
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) >

[Firebird-devel] FLAG_EMBEDDED

2012-03-06 Thread Claudio Valderrama C.
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->