-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/combine queries for ptosc (#13)
* feat(PtOnlineSchemaChange): Initial support for automatically combining adjacent queries before converting to PTOSC command(s). * fix(PtOnlineSchemaChange): Limit combining to those known to be supported. * fix(PtOnlineSchemaChange): Do not attempt to rewrite table-rename queries since they are unsupported by PTOSC. * fix(PtOnlineSchemaChange): Correct regression when combinable queries differ by table name. feat(PtOnlineSchemaChange): Allow combining all those ALTER TABLE queries documented as such in Mysql docs.
- Loading branch information
1 parent
066f55e
commit 09967d2
Showing
8 changed files
with
273 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
namespace OrisIntel\OnlineMigrator; | ||
|
||
trait CombineIncompatible | ||
{ | ||
/** @var array containing migrate methods incompatible w/combining SQL */ | ||
public $combineIncompatible = true; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.