protected function isTransactableQuery( $sql ) {
return !in_array(
$this->getQueryVerb( $sql ),
- [ 'BEGIN', 'ROLLBACK', 'COMMIT', 'SET', 'SHOW', 'CREATE', 'ALTER', 'USE' ],
+ [ 'BEGIN', 'ROLLBACK', 'COMMIT', 'SET', 'SHOW', 'CREATE', 'ALTER', 'USE', 'SHOW' ],
true
);
}
* Actually run any "atomic section cancel" callbacks.
*
* @param int $trigger IDatabase::TRIGGER_* constant
- * @param AtomicSectionIdentifier[]|null $sectionId Section IDs to cancel,
+ * @param AtomicSectionIdentifier[]|null $sectionIds Section IDs to cancel,
* null on transaction rollback
*/
private function runOnAtomicSectionCancelCallbacks(