TODBCConnection.LogEvents values set at design time are ignored (sqldb odbcconn)
Original Reporter info from Mantis: nateloaf
-
Reporter name: Nathan Wild
Original Reporter info from Mantis: nateloaf
- Reporter name: Nathan Wild
Description:
Enabling any of the values in TODBCConnection.LogEvents at designtime has no effect. If they are enabled in code, logging appears to work as usual.
Steps to reproduce:
Drop TODBCConnection, TSQLTransaction and TSQLQuery on a form
Turn on all TODBCConnection.LogEvents and enable the OnLog handler.
Do stuff with the Query.
The OnLog event will never be called.
If you set TODBCConnection.LogEvents := LogAllEvents; (or enable specific ones) in code, it works fine.
Mantis conversion info:
- Mantis ID: 25867
- OS: Windows
- OS Build: 7
- Platform: x86
- Fixed in version: 3.0.0
- Fixed in revision: 27170 (#420e0165)
- Monitored by: » BigChimp (Reinier Olislagers)
- Target version: 3.0.0