On 04/10/12 08:30, Claudio Valderrama C. wrote:
>> -----Original Message-----
>> From: Alex Peshkoff [mailto:peshk...@mail.ru] 
>> Sent: Viernes, 06 de Abril de 2012 6:58
>>
>> I agree here - not good. Currently we have to keep V4 flag in various
>> forms just to convert datetime_to_text() in different manner. 
>> Only if we
>> decide to have separate BLR6 parser...
> I just need a small class to read and write StreamType (I defined it) from a
> v4 or v5 BLR string. For v4, I would override those functions to read/write
> just one byte. Considering that now, few and very limited places are
> affected, having a separate BLR6 parser is unjustified. Using this helper
> class is what I would like to try to implement.

Claudio, I had the following in mind. To transfer to required place the
fact that BLR4 is used, we have the following sequence of identifiers
involved:
bool version4;
void virtual isVersion4(bool&);
FLAG_VERSION4 // flag in JrdStatement
csb_blr_version4 // flag in csb
blr_version4

If your small class helps to avoid such solutions, it will be nice.


------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to