nextcloud/lib/private/DB/QueryBuilder
Vincent Petry a50bcdabcc
Prevent log_query to mess up regular execution flow
When the "log_query" debug config parameter is set, SQL queries are
logged. However, if an error occurs when converting the values to
string, it will abort the request.

This fix catches the error and continues instead.

Also added handler for DateTime value which is already known to cause
aborts here.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-12-02 14:10:35 +01:00
..
ExpressionBuilder Fix iLike() falsely turning escaped % and _ into wildcards 2020-11-06 16:22:13 +01:00
FunctionBuilder Add types to function builder 2020-11-16 19:46:24 +01:00
CompositeExpression.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Literal.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Parameter.php Update license headers 2019-12-05 15:38:45 +01:00
QueryBuilder.php Prevent log_query to mess up regular execution flow 2020-12-02 14:10:35 +01:00
QueryFunction.php Update license headers 2019-12-05 15:38:45 +01:00
QuoteHelper.php Update license headers 2019-12-05 15:38:45 +01:00