File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/Symfony/Component/Lock Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -257,10 +257,11 @@ private function driverSupportsTableCreationInTransaction(): bool
257
257
$ platform = $ this ->conn ->getDatabasePlatform ();
258
258
259
259
switch (true ) {
260
- case $ platform instanceof \Doctrine \DBAL \Platforms \PostgreSQL94Platform:
261
260
case $ platform instanceof \Doctrine \DBAL \Platforms \PostgreSQLPlatform:
261
+ case $ platform instanceof \Doctrine \DBAL \Platforms \PostgreSQL94Platform:
262
262
case $ platform instanceof \Doctrine \DBAL \Platforms \SqlitePlatform:
263
263
case $ platform instanceof \Doctrine \DBAL \Platforms \SQLServerPlatform:
264
+ case $ platform instanceof \Doctrine \DBAL \Platforms \SQLServer2012Platform:
264
265
return true ;
265
266
default :
266
267
return false ;
Original file line number Diff line number Diff line change @@ -136,8 +136,10 @@ public function testCreatesTableInTransaction(string $platform)
136
136
public function providePlatforms ()
137
137
{
138
138
yield [\Doctrine \DBAL \Platforms \PostgreSQLPlatform::class];
139
+ yield [\Doctrine \DBAL \Platforms \PostgreSQL94Platform::class];
139
140
yield [\Doctrine \DBAL \Platforms \SqlitePlatform::class];
140
141
yield [\Doctrine \DBAL \Platforms \SQLServerPlatform::class];
142
+ yield [\Doctrine \DBAL \Platforms \SQLServer2012Platform::class];
141
143
}
142
144
143
145
public function testTableCreationInTransactionNotSupported ()
You can’t perform that action at this time.
0 commit comments