Hello Fred,

you wrote on Tue, 11 Jul 2023 22:21:43 +0000:

> >(As the initiator of the trouble, I'll probabely have the duty to attack
> > the chore, I'm afraid...)
> 
> I fear it too because my level of knowledge of db-msegui is very low.

Concerning your knowledge of that part see my previous comment...

Anyway, I did some scrutinizing of the pertinent code, and found that the
only place where mohamed's message might probably, possibly, arise, is the
"safe guarding" else clause in "msedbedit.pas" where the navigator buttons
are handled. To test an additional condition for filtering, the button
selection case statement was split in two, which pass through the values
that are not applicable. So, the original was alright and should be kept
as it is now.

The case is a bit different for the other occurrences of the "guarding"
exception, but due to several enumeration label redefinitions / renamings,
it is very confusing what should be accepted and what might constitute an
error. So I plead for keeping the "safe guard exception" for the unit
"mmysqlconn.pas" FOR NOW, as long as it does no harm. Of course, should a
problem arise, the case ought to be examined, even though the exception can
"in principle" be caught and handled by an application program, if need be.
But I agree that it is not at all elegant to have an application cater for
perfectly admissible conditions.

Concerning the unit "msebufdataset.pas", it should not be possible to
trigger the "safe guarding" exception, although the type of the value has
values capable of doing so. So, it might be advisable to also keep the
exception here, as it cannot normally do any harm, but could help finding
errors in unusual cases.

That's for now what I could find out about the cause of the troubling
message about the newly introduced error in msegui's db code.
I apologize for the trouble I caused.

-- 
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
-----------------------------------------------------------
Mit freundlichen Grüßen, S. Schicktanz
-----------------------------------------------------------




_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to