nextcloud/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 +01:00
..
QueryBuilder Prevent log_query to mess up regular execution flow 2020-12-02 14:10:35 +01:00
Adapter.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
AdapterMySQL.php Update license headers 2019-12-05 15:38:45 +01:00
AdapterOCI8.php Update license headers for 19 2020-04-29 11:57:22 +02:00
AdapterPgSql.php Remove @suppress SqlInjectionChecker 2020-09-16 15:53:56 +02:00
AdapterSqlite.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
Connection.php Don't try to update on NotNullConstraintViolationException, only on unique or foreign key 2020-11-10 15:36:27 +01:00
ConnectionFactory.php Add visibility to all constants 2020-04-10 16:54:27 +02:00
MDB2SchemaManager.php Fix "misplaced variables" warning of Psalm in PHPDoc statements 2020-08-17 17:46:57 +02:00
MDB2SchemaReader.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
MDB2SchemaWriter.php Update license headers for 19 2020-04-29 11:57:22 +02:00
MigrationException.php Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
MigrationService.php Revert "Revert "Installation goes brrrr"" 2020-11-11 20:12:13 +01:00
Migrator.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
MissingColumnInformation.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
MissingIndexInformation.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
MissingPrimaryKeyInformation.php Create primary keys on all tables and add a command to create the afterwards 2020-11-10 15:36:27 +01:00
MySQLMigrator.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
MySqlTools.php Update license headers for 19 2020-04-29 11:57:22 +02:00
OCSqlitePlatform.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
OracleConnection.php Psalm fixes 2020-10-30 19:27:53 +01:00
OracleMigrator.php Update license headers for 19 2020-04-29 11:57:22 +02:00
PgSqlTools.php Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
PostgreSqlMigrator.php Update license headers 2019-12-05 15:38:45 +01:00
ReconnectWrapper.php Update license headers for 19 2020-04-29 11:57:22 +02:00
SQLiteMigrator.php Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
SQLiteSessionInit.php Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
SchemaWrapper.php Don't drop the table anymore when we create it again 2020-11-16 19:34:38 +01:00
SetTransactionIsolationLevel.php Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00