nextcloud-server/lib/private/DB
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 +07:00
..
QueryBuilder Prevent log_query to mess up regular execution flow 2020-12-02 14:10:35 +07:00
Adapter.php Format code to a single space around binary operators 2020-10-05 20:25:24 +07:00
AdapterMySQL.php
AdapterOCI8.php
AdapterPgSql.php Remove @suppress SqlInjectionChecker 2020-09-16 15:53:56 +07:00
AdapterSqlite.php Format code to a single space around binary operators 2020-10-05 20:25:24 +07:00
Connection.php Don't try to update on NotNullConstraintViolationException, only on unique or foreign key 2020-11-10 15:36:27 +07:00
ConnectionFactory.php
MDB2SchemaManager.php Fix "misplaced variables" warning of Psalm in PHPDoc statements 2020-08-17 17:46:57 +07:00
MDB2SchemaReader.php
MDB2SchemaWriter.php
MigrationException.php
MigrationService.php Revert "Revert "Installation goes brrrr"" 2020-11-11 20:12:13 +07:00
Migrator.php Format code to a single space around binary operators 2020-10-05 20:25:24 +07:00
MissingColumnInformation.php
MissingIndexInformation.php
MissingPrimaryKeyInformation.php Create primary keys on all tables and add a command to create the afterwards 2020-11-10 15:36:27 +07:00
MySQLMigrator.php
MySqlTools.php
OCSqlitePlatform.php
OracleConnection.php Psalm fixes 2020-10-30 19:27:53 +07:00
OracleMigrator.php
PgSqlTools.php
PostgreSqlMigrator.php
ReconnectWrapper.php
SQLiteMigrator.php
SQLiteSessionInit.php
SchemaWrapper.php Don't drop the table anymore when we create it again 2020-11-16 19:34:38 +07:00
SetTransactionIsolationLevel.php