nextcloud-server/lib/private/DB
Joas Schilling 3cdfe7b0f4
Don't try a transaction for the migrator on MySQL
As per https://dev.mysql.com/doc/refman/8.0/en/implicit-commit.html
CREATE TABLE statements automatically commit always. The only reason
this worked in the past was that PHPs PDO connection didn't check the
actual state on commit, but only checked their internal state.
But in PHP8 this was fixed:
https://github.com/php/php-src/blob/PHP-8.0/UPGRADING#L446-L450
So now commit() fails because the internal PDO connection implicitly
commited already.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-01-08 16:25:40 +01:00
..
QueryBuilder Bump doctrine/dbal from 2.12.0 to 3.0.0 2021-01-08 11:45:19 +01:00
Adapter.php Bump doctrine/dbal from 2.12.0 to 3.0.0 2021-01-08 11:45:19 +01:00
AdapterMySQL.php
AdapterOCI8.php Update license headers for 19 2020-04-29 11:57:22 +02:00
AdapterPgSql.php Bump doctrine/dbal from 2.12.0 to 3.0.0 2021-01-08 11:45:19 +01:00
AdapterSqlite.php Bump doctrine/dbal from 2.12.0 to 3.0.0 2021-01-08 11:45:19 +01:00
Connection.php Bump doctrine/dbal from 2.12.0 to 3.0.0 2021-01-08 11:45:19 +01:00
ConnectionAdapter.php Bump doctrine/dbal from 2.12.0 to 3.0.0 2021-01-08 11:45:19 +01:00
ConnectionFactory.php Add visibility to all constants 2020-04-10 16:54:27 +02:00
MDB2SchemaManager.php Bump doctrine/dbal from 2.12.0 to 3.0.0 2021-01-08 11:45:19 +01:00
MDB2SchemaReader.php Remove "primary" option from schema builder argument $options as it is not used anymore and triggers an exception 2021-01-08 11:45:19 +01:00
MigrationException.php
MigrationService.php Bump doctrine/dbal from 2.12.0 to 3.0.0 2021-01-08 11:45:19 +01:00
Migrator.php Don't try a transaction for the migrator on MySQL 2021-01-08 16:25:40 +01: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 Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +01:00
MySQLMigrator.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
MySqlTools.php Bump doctrine/dbal from 2.12.0 to 3.0.0 2021-01-08 11:45:19 +01:00
OCSqlitePlatform.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
OracleConnection.php Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +01:00
OracleMigrator.php Bump doctrine/dbal from 2.12.0 to 3.0.0 2021-01-08 11:45:19 +01:00
PgSqlTools.php Bump doctrine/dbal from 2.12.0 to 3.0.0 2021-01-08 11:45:19 +01:00
PostgreSqlMigrator.php
PreparedStatement.php Bump doctrine/dbal from 2.12.0 to 3.0.0 2021-01-08 11:45:19 +01:00
ReconnectWrapper.php Bump doctrine/dbal from 2.12.0 to 3.0.0 2021-01-08 11:45:19 +01:00
ResultAdapter.php Bump doctrine/dbal from 2.12.0 to 3.0.0 2021-01-08 11:45:19 +01:00
SchemaWrapper.php Bump doctrine/dbal from 2.12.0 to 3.0.0 2021-01-08 11:45:19 +01:00
SetTransactionIsolationLevel.php
SQLiteMigrator.php Bump doctrine/dbal from 2.12.0 to 3.0.0 2021-01-08 11:45:19 +01:00
SQLiteSessionInit.php Bump doctrine/dbal from 2.12.0 to 3.0.0 2021-01-08 11:45:19 +01:00