[bug_fixed] MissingConsts, Inlining, SilentException patch
Posted: 03.05.2006, 19:20
MissingConsts:
I missed two functions in ZMySQLUtils.
Inlining:
BDS 2006 requires the "Windows"-Unit to be included in the uses statement. I've IFDEF'ed the inclusion.
SilentException:
While working with a "select * from (select * from mytab, ... where ...) tab where tab..." I expirienced an annoying behaviour of the MySQL connection. It raises and catches an EZSQLException to find out if the table is a temporary table. Unfortunatelly the Debugger stops at that point. One solution would be to simply add EZSQLException to the non-watched exception classes. But that is nothing I want to do because then it becomes harder to find the "real" EZSQLExceptions.
A better solution is to throw a silent exception (derived from EAbort) in that case (the one I used in this patch).
I missed two functions in ZMySQLUtils.
Inlining:
BDS 2006 requires the "Windows"-Unit to be included in the uses statement. I've IFDEF'ed the inclusion.
SilentException:
While working with a "select * from (select * from mytab, ... where ...) tab where tab..." I expirienced an annoying behaviour of the MySQL connection. It raises and catches an EZSQLException to find out if the table is a temporary table. Unfortunatelly the Debugger stops at that point. One solution would be to simply add EZSQLException to the non-watched exception classes. But that is nothing I want to do because then it becomes harder to find the "real" EZSQLExceptions.
A better solution is to throw a silent exception (derived from EAbort) in that case (the one I used in this patch).