[fpc-pascal] Re: SQLDB: logging all generated SQL?

Reinier Olislagers reinierolislagers at gmail.com
Thu Apr 26 11:15:05 CEST 2012

On 26-4-2012 10:58, LacaK wrote:
>> Can somebody tell me if that functionality is there and where to find
>> it? Perhaps something to do with TSQLConnection.LogEvents?
> Look into sqldb.pp at TSQLConnection property OnLog or at global
> variable GlobalDBLogHook.
> You can register procedure, which will receive log events and you can
> handle them as you want (write to form or into file) ...
> Look at sources ... ;-)

Thanks guys, doing exactly that right now (looking at sources) ;)...

I'll update my pasql command line interpreter and update the wiki...


More information about the fpc-pascal mailing list