-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MariaDB 10.2 initial support #2825
Merged
Merged
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
baa454c
Updated mariadb 10.2 support
belgattitude 1664051
Removed unused use statement
belgattitude 1f9deec
Fixed $this->assert*
belgattitude 4fff976
Test JSON default values and refactoring
belgattitude f5ca458
Removed debug comment
belgattitude d2ddd2f
Cleanup
belgattitude 0a34a67
More tests for escaping
belgattitude f6cb853
Updated tests
belgattitude 0d20c85
Added more tests for CURRENT_* defaults
belgattitude a4d3068
Minor cleanup
belgattitude c86b622
Fixed typings
belgattitude 61bed75
Fixed strict assert for default int values
belgattitude 2dda57a
Added final tests for default escaping
belgattitude d4c2be8
csfix: There must be a single space before the colon on return types
belgattitude 4ddc496
Fixes from @lcobucci review
belgattitude 6b9ead7
Review from @morozov about nulls
belgattitude 2c2169e
@morozov review: According to MySqlPlatform::getListTableColumnsSQL()…
belgattitude e3bec40
morozov review, revert regexp constant introduced after lcobucci revi…
belgattitude 065386d
morozov review: revert to MariaDb1027Platform name
belgattitude f81afb1
morozov removed type doc: AbstractPlatform cover everything
belgattitude 5422bae
Majkl578 fix bc-break with return type
belgattitude 4747fd0
Latest reviews fixes: morozov, Majkl578
belgattitude 4f876ef
RegExp change from @Majkl578 suggestion
belgattitude d57f69e
Updated from @Majkl578 review
belgattitude d2543ca
Updated comment for mariadb null handling
belgattitude b075331
Removes introduced quoting literal support
belgattitude 70924a8
Removed unused use statement
belgattitude 4ee52db
Removed unused use statement
belgattitude 36b98e2
CS fixes
belgattitude 9ca9589
CS fixes
belgattitude 345b650
Removes mariadb supports for TEXT/BLOB default values
belgattitude 63348cc
CS-FIX
belgattitude 335d58f
BC, removed return types on non-final classes
belgattitude 2d14ac5
Revert untouched file
belgattitude afee87d
Revert untouched file
belgattitude a07f3d3
Removes backslash escaping (still present)
belgattitude b1937b0
minor phpdoc fix
belgattitude 7f2cd3d
Fixed unused use statement
belgattitude 45ea287
Unescaping re-added, support limited to schema introspection (#2850 w…
belgattitude e9c9932
Improves readability of escape sequences
belgattitude a04d804
Fixed CS
belgattitude 6fa8549
Fixed CS
belgattitude 52b4692
Disable native JSON support for MariaDB 10.2.x
lcobucci ea56fce
Simplify platform detection test
lcobucci 628e846
Remove duplicated entry
lcobucci File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sort of breaks the purpose of the
$DB
variable - it's DB + driver now. Maybe adding 2nd optional variable$DRIVER
would be better in this case.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good, what name for the 2nd variable ?
`MARIADB_DRIVER' ?
Do you know where to set it as default (I assume not under env: MARIADB_DRIVER=mysql ? Not sure with travis jobs) ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simply
$DRIVER
would be enough. But I see there's alreadyDB=mysqli
which is not really a DB. Feel free to leave it as is it for now, we can handle this after this PR is merged. 😉There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I leave it like this then ;) @Majkl578 I'm about to drop some parts of this P/R, just detailed 3 questions in the last comment. Would be wonderful to have your advices on this.