#1 2013-11-12 16:55:06

Kobe
Member
Registered: 2013-04-08
Posts: 38

Log of SQL Statements

Hello,

Is there a way to configure the TSQLLog to show SQL Statements only in case of error of execution of it?

Offline

#2 2013-11-12 18:55:50

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,662
Website

Re: Log of SQL Statements

Not yet.

Could you please create a feature request in http://synopse.info/fossil/reportlist ?

Thanks.

Offline

#3 2013-11-13 10:08:03

Kobe
Member
Registered: 2013-04-08
Posts: 38

Re: Log of SQL Statements

Offline

#4 2014-12-12 19:47:56

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,662
Website

Re: Log of SQL Statements

ESQLDBException (and its descendants) will now append the current SQL statement to its error message, if TSQLDBConnectionProperties.LogSQLStatementOnException is defined.
See http://synopse.info/fossil/info/9416d466bf

This should implement the feature request as close as possible to the low-level data process.

Offline

Board footer

Powered by FluxBB