Re: [Firebird-devel] Status vector and circular buffer

2012-07-17 Thread Alex Peshkoff
On 07/17/12 19:30, Adriano dos Santos Fernandes wrote: > Hi! > > Doesn't it sound clumsy that status string still use this pattern in the > new API? > > As a first glance, I believe that: > 1) Exception class should manage it's memory. When it receives and > status vector, it must alloc. space for

Re: [Firebird-devel] Status vector and circular buffer

2012-07-17 Thread Adriano dos Santos Fernandes
On 17/07/2012 13:02, Dmitry Yemanov wrote: > 17.07.2012 19:30, Adriano dos Santos Fernandes wrote: >> AFAIR, currently, temporary strings cannot be passed >> to Arg::Str because they disappear > -- commenting about v2.5, but I don't think there's much difference > > I believe this is not the case,

Re: [Firebird-devel] Status vector and circular buffer

2012-07-17 Thread Dmitry Yemanov
17.07.2012 19:30, Adriano dos Santos Fernandes wrote: > > AFAIR, currently, temporary strings cannot be passed > to Arg::Str because they disappear -- commenting about v2.5, but I don't think there's much difference I believe this is not the case, because all former ERR_string() calls disappeare