Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
d2543cab
Unverified
Commit
d2543cab
authored
Oct 30, 2017
by
belgattitude
Committed by
Luís Cobucci
Nov 19, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated comment for mariadb null handling
parent
d57f69e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
MySqlSchemaManager.php
lib/Doctrine/DBAL/Schema/MySqlSchemaManager.php
+3
-6
No files found.
lib/Doctrine/DBAL/Schema/MySqlSchemaManager.php
View file @
d2543cab
...
@@ -216,15 +216,12 @@ class MySqlSchemaManager extends AbstractSchemaManager
...
@@ -216,15 +216,12 @@ class MySqlSchemaManager extends AbstractSchemaManager
* Return Doctrine/Mysql-compatible column default values for MariaDB 10.2.7+ servers.
* Return Doctrine/Mysql-compatible column default values for MariaDB 10.2.7+ servers.
*
*
* - Since MariaDb 10.2.7 column defaults stored in information_schema are now quoted
* - Since MariaDb 10.2.7 column defaults stored in information_schema are now quoted
* to distinguish them from expressions (see MDEV-10134
for a what is an expression
).
* to distinguish them from expressions (see MDEV-10134).
* - CURRENT_TIMESTAMP, CURRENT_TIME, CURRENT_DATE are stored in information_schema
* - CURRENT_TIMESTAMP, CURRENT_TIME, CURRENT_DATE are stored in information_schema
* as current_timestamp(), currdate(), currtime()
* as current_timestamp(), currdate(), currtime()
* - Literal escaping is normalized in information schema (store "''" instead of "\'")
* - Literal escaping is normalized in information schema (store "''" instead of "\'")
* - Note: columnDefault should only be null when column is not_nullable otherwise
* - Note: Quoted 'NULL' is not enforced by Maria, it is technically possible to have
* a string 'NULL' should be given. Unfortunately, it's not 100% correct in case of
* null instead (see https://jira.mariadb.org/browse/MDEV-14053)
* upgrade from previous versions: see https://jira.mariadb.org/browse/MDEV-14053.
* Otherwise we could simplify the condition === 'NULL' || === null by adding the parameter
* is_nullable.
*
*
* @link https://mariadb.com/kb/en/library/information-schema-columns-table/
* @link https://mariadb.com/kb/en/library/information-schema-columns-table/
* @link https://jira.mariadb.org/browse/MDEV-13132
* @link https://jira.mariadb.org/browse/MDEV-13132
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment