core/vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/OraclePlatform.php 1 location
|
@@ 256-269 (lines=14) @@
|
253 |
|
/** |
254 |
|
* {@inheritDoc} |
255 |
|
*/ |
256 |
|
protected function _getTransactionIsolationLevelSQL($level) |
257 |
|
{ |
258 |
|
switch ($level) { |
259 |
|
case TransactionIsolationLevel::READ_UNCOMMITTED: |
260 |
|
return 'READ UNCOMMITTED'; |
261 |
|
case TransactionIsolationLevel::READ_COMMITTED: |
262 |
|
return 'READ COMMITTED'; |
263 |
|
case TransactionIsolationLevel::REPEATABLE_READ: |
264 |
|
case TransactionIsolationLevel::SERIALIZABLE: |
265 |
|
return 'SERIALIZABLE'; |
266 |
|
default: |
267 |
|
return parent::_getTransactionIsolationLevelSQL($level); |
268 |
|
} |
269 |
|
} |
270 |
|
|
271 |
|
/** |
272 |
|
* {@inheritDoc} |
core/vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/SqlitePlatform.php 1 location
|
@@ 185-197 (lines=13) @@
|
182 |
|
/** |
183 |
|
* {@inheritDoc} |
184 |
|
*/ |
185 |
|
protected function _getTransactionIsolationLevelSQL($level) |
186 |
|
{ |
187 |
|
switch ($level) { |
188 |
|
case TransactionIsolationLevel::READ_UNCOMMITTED: |
189 |
|
return 0; |
190 |
|
case TransactionIsolationLevel::READ_COMMITTED: |
191 |
|
case TransactionIsolationLevel::REPEATABLE_READ: |
192 |
|
case TransactionIsolationLevel::SERIALIZABLE: |
193 |
|
return 1; |
194 |
|
default: |
195 |
|
return parent::_getTransactionIsolationLevelSQL($level); |
196 |
|
} |
197 |
|
} |
198 |
|
|
199 |
|
/** |
200 |
|
* {@inheritDoc} |