Re: Information hiding

Henrik Hempelmann <[email protected]>
Newsgroups gmane.comp.db.maxdb
Message-ID <[email protected]>
On 11.12.2006, at 19:43, Eckenfels. Bernd wrote:

> Hello,
>
> There is this "cannot switch to sdb owner" in dbmsrvctl which happens
> often on Linux at install time for various reasons. I had a look at  
> the
> maxdb-7.6 code to find out, what the reason for that can be. It is
> actually printed if RTE_SetSapdbOwnerAndGroupId() returns false. And I
> noticed that this function takes a errList (Msg_List) out parameter
> which is supposed to hold detailed information about the actual  
> problem.
>
> So a small fix which highly helps to debug setup problems would be to
> print out the content of errList in this printf. I think this is  
> somehow
> done with:
>    if ( ! localErrlist.IsEmpty() )
>             RTE_Message(localErrlist);
> But I am not sure.
>
> Is it please possible to make this modification and increase the
> serviceability of the software greatly?


Bernd,

we are in a transition to create&fill Msg_List objects in case of an  
error
and propagate these messages to the upper layers, so that SQL and admin
statements can print a detailed description of what caused the error
somewhere in the kernel.

This transition is not finished yet, so we have still a lot of functions
that won't generate message lists and other functions ignoring or  
'eating'
message lists on their way up to the user interface.

Your fix to send the output to the message file is an eligible short  
term
workaround for hidden message lists but will not help on our long  
term goal
to increase the supportability by giving direct feedback to user  
commands.

Mit freundlichen Grüßen,

    Henrik






-- 
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.