Re: [Firebird-devel] MetadataFromBlr diagnostics

2014-03-07 Thread Alex Peshkoff
On 03/07/14 01:38, Dimitry Sibiryakov wrote: > 06.03.2014 17:39, Alex Peshkoff wrote: >> Yes, as soon as we stop to call BLR-oriented functions to implement >> SQLDA-oriented API calls converting Sqlda->BLR->IMessageMetadata instead >> Sqlda->IMessageMetadata directly makes absolutely no sense. >

Re: [Firebird-devel] MetadataFromBlr diagnostics

2014-03-07 Thread Dimitry Sibiryakov
06.03.2014 22:38, Dimitry Sibiryakov wrote: > Funny things I see in current sources: sqlda is converted into BLR, BLR > is converted > into IMessageMetadata, in remote module IMessageMetadata is converted into > BLR, BLR is > converted into RMessage. Did I miss something? Sorry, actual qu

Re: [Firebird-devel] MetadataFromBlr diagnostics

2014-03-06 Thread Dimitry Sibiryakov
06.03.2014 17:39, Alex Peshkoff wrote: > Yes, as soon as we stop to call BLR-oriented functions to implement > SQLDA-oriented API calls converting Sqlda->BLR->IMessageMetadata instead > Sqlda->IMessageMetadata directly makes absolutely no sense. Funny things I see in current sources: sqlda is c

Re: [Firebird-devel] MetadataFromBlr diagnostics

2014-03-06 Thread Carlos H. Cantu
Title: Re: [Firebird-devel] MetadataFromBlr diagnostics Btw, I would like to have the ability of customizing the error message of check constraints and foreign keys violations. There is a ticket open for this yet. []s Carlos http://www.firebirdnews.org FireBase - http://www.FireBase.com.br

Re: [Firebird-devel] MetadataFromBlr diagnostics

2014-03-06 Thread W O
Many error messages are not enough descriptive for the application's developer. By example, when trying to save a row: "data truncated" is not enough. We have no idea which is the field problematic and the table can have 20, 30, 40 or more fields. So, we need to look each field, one for one, until

Re: [Firebird-devel] MetadataFromBlr diagnostics

2014-03-06 Thread Alex Peshkoff
On 03/06/14 20:31, Dimitry Sibiryakov wrote: > 06.03.2014 17:25, Alex Peshkoff wrote: >> I must say that with correctly working Sqlda->BLR converter > Actually, this is exactly thing that I'm going to kill. > Yes, as soon as we stop to call BLR-oriented functions to implement SQLDA-oriented A

Re: [Firebird-devel] MetadataFromBlr diagnostics

2014-03-06 Thread Dimitry Sibiryakov
06.03.2014 17:25, Alex Peshkoff wrote: > I must say that with correctly working Sqlda->BLR converter Actually, this is exactly thing that I'm going to kill. -- WBR, SD. -- Subversion Kills Productivity. Get off Su

Re: [Firebird-devel] MetadataFromBlr diagnostics

2014-03-06 Thread Alex Peshkoff
On 03/06/14 20:00, Dimitry Sibiryakov wrote: > 06.03.2014 16:53, Alex Peshkoff wrote: >> Sorry, under average user I've meant average developer... > MetadataFromBlr is used in old message API only. Is developer don't use > this API, he > won't get these error messages. > It's also used when c

Re: [Firebird-devel] MetadataFromBlr diagnostics

2014-03-06 Thread Jim Starkey
On 3/6/2014 10:39 AM, Alex Peshkoff wrote: > On 03/06/14 19:30, Dimitry Sibiryakov wrote: >> 06.03.2014 16:21, Alex Peshkoff wrote: >>> BTW, when using new interface message about bad SQLDA looks silly. >>> Who has an idea what to do with it? >> Replace them with complaints about BLR. > Also f

Re: [Firebird-devel] MetadataFromBlr diagnostics

2014-03-06 Thread Dimitry Sibiryakov
06.03.2014 16:53, Alex Peshkoff wrote: > Sorry, under average user I've meant average developer... MetadataFromBlr is used in old message API only. Is developer don't use this API, he won't get these error messages. -- WBR, SD. ---

Re: [Firebird-devel] MetadataFromBlr diagnostics

2014-03-06 Thread Alex Peshkoff
On 03/06/14 19:45, Dimitry Sibiryakov wrote: > 06.03.2014 16:39, Alex Peshkoff wrote: >> Also far from ideal. Average user may does not know what is BLR. > That's why average user should forward error messages to application > developers who > used messages API and know what BLR is. Sorry, un

Re: [Firebird-devel] MetadataFromBlr diagnostics

2014-03-06 Thread Dimitry Sibiryakov
06.03.2014 16:39, Alex Peshkoff wrote: > Also far from ideal. Average user may does not know what is BLR. That's why average user should forward error messages to application developers who used messages API and know what BLR is. > Something like invalid format of requested from server data

Re: [Firebird-devel] MetadataFromBlr diagnostics

2014-03-06 Thread Alex Peshkoff
On 03/06/14 19:30, Dimitry Sibiryakov wrote: > 06.03.2014 16:21, Alex Peshkoff wrote: >> BTW, when using new interface message about bad SQLDA looks silly. >> Who has an idea what to do with it? > Replace them with complaints about BLR. Also far from ideal. Average user may does not know what

Re: [Firebird-devel] MetadataFromBlr diagnostics

2014-03-06 Thread Dimitry Sibiryakov
06.03.2014 16:21, Alex Peshkoff wrote: > BTW, when using new interface message about bad SQLDA looks silly. > Who has an idea what to do with it? Replace them with complaints about BLR. I'll prepare another version of path which should solve the rest. -- WBR, SD. ---

Re: [Firebird-devel] MetadataFromBlr diagnostics

2014-03-06 Thread Alex Peshkoff
On 03/06/14 18:27, Dimitry Sibiryakov wrote: > Hello, All. > > I think that detailed error diagnostics is useful in release build too. > Actually, it is > even more useful there because release build is used by bigger number of > application > developers. So, I suggest to remove ifdefs th

[Firebird-devel] MetadataFromBlr diagnostics

2014-03-06 Thread Dimitry Sibiryakov
Hello, All. I think that detailed error diagnostics is useful in release build too. Actually, it is even more useful there because release build is used by bigger number of application developers. So, I suggest to remove ifdefs there. Opinions? -- WBR, SD. --