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
4758f426
Commit
4758f426
authored
Jul 22, 2017
by
Marco Pivetta
Committed by
GitHub
Jul 22, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2768 from roelvanduijnhoven/patch-1
Add all missing MariaDb keywords to MySQL
parents
0a17b498
5f94969d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
4 deletions
+18
-4
MySQLKeywords.php
lib/Doctrine/DBAL/Platforms/Keywords/MySQLKeywords.php
+18
-4
No files found.
lib/Doctrine/DBAL/Platforms/Keywords/MySQLKeywords.php
View file @
4758f426
...
@@ -43,6 +43,7 @@ class MySQLKeywords extends KeywordList
...
@@ -43,6 +43,7 @@ class MySQLKeywords extends KeywordList
protected
function
getKeywords
()
protected
function
getKeywords
()
{
{
return
array
(
return
array
(
'ACCESSIBLE'
,
'ADD'
,
'ADD'
,
'ALL'
,
'ALL'
,
'ALTER'
,
'ALTER'
,
...
@@ -118,6 +119,7 @@ class MySQLKeywords extends KeywordList
...
@@ -118,6 +119,7 @@ class MySQLKeywords extends KeywordList
'FOREIGN'
,
'FOREIGN'
,
'FROM'
,
'FROM'
,
'FULLTEXT'
,
'FULLTEXT'
,
'GENERAL'
,
'GOTO'
,
'GOTO'
,
'GRANT'
,
'GRANT'
,
'GROUP'
,
'GROUP'
,
...
@@ -128,6 +130,7 @@ class MySQLKeywords extends KeywordList
...
@@ -128,6 +130,7 @@ class MySQLKeywords extends KeywordList
'HOUR_SECOND'
,
'HOUR_SECOND'
,
'IF'
,
'IF'
,
'IGNORE'
,
'IGNORE'
,
'IGNORE_SERVER_IDS'
,
'IN'
,
'IN'
,
'INDEX'
,
'INDEX'
,
'INFILE'
,
'INFILE'
,
...
@@ -156,6 +159,7 @@ class MySQLKeywords extends KeywordList
...
@@ -156,6 +159,7 @@ class MySQLKeywords extends KeywordList
'LEFT'
,
'LEFT'
,
'LIKE'
,
'LIKE'
,
'LIMIT'
,
'LIMIT'
,
'LINEAR'
,
'LINES'
,
'LINES'
,
'LOAD'
,
'LOAD'
,
'LOCALTIME'
,
'LOCALTIME'
,
...
@@ -166,7 +170,10 @@ class MySQLKeywords extends KeywordList
...
@@ -166,7 +170,10 @@ class MySQLKeywords extends KeywordList
'LONGTEXT'
,
'LONGTEXT'
,
'LOOP'
,
'LOOP'
,
'LOW_PRIORITY'
,
'LOW_PRIORITY'
,
'MASTER_HEARTBEAT_PERIOD'
,
'MASTER_SSL_VERIFY_SERVER_CERT'
,
'MATCH'
,
'MATCH'
,
'MAXVALUE'
,
'MEDIUMBLOB'
,
'MEDIUMBLOB'
,
'MEDIUMINT'
,
'MEDIUMINT'
,
'MEDIUMTEXT'
,
'MEDIUMTEXT'
,
...
@@ -176,8 +183,8 @@ class MySQLKeywords extends KeywordList
...
@@ -176,8 +183,8 @@ class MySQLKeywords extends KeywordList
'MOD'
,
'MOD'
,
'MODIFIES'
,
'MODIFIES'
,
'NATURAL'
,
'NATURAL'
,
'NOT'
,
'NO_WRITE_TO_BINLOG'
,
'NO_WRITE_TO_BINLOG'
,
'NOT'
,
'NULL'
,
'NULL'
,
'NUMERIC'
,
'NUMERIC'
,
'ON'
,
'ON'
,
...
@@ -189,6 +196,7 @@ class MySQLKeywords extends KeywordList
...
@@ -189,6 +196,7 @@ class MySQLKeywords extends KeywordList
'OUT'
,
'OUT'
,
'OUTER'
,
'OUTER'
,
'OUTFILE'
,
'OUTFILE'
,
'PARTITION'
,
'PRECISION'
,
'PRECISION'
,
'PRIMARY'
,
'PRIMARY'
,
'PROCEDURE'
,
'PROCEDURE'
,
...
@@ -196,8 +204,10 @@ class MySQLKeywords extends KeywordList
...
@@ -196,8 +204,10 @@ class MySQLKeywords extends KeywordList
'RAID0'
,
'RAID0'
,
'RANGE'
,
'RANGE'
,
'READ'
,
'READ'
,
'READ_WRITE'
,
'READS'
,
'READS'
,
'REAL'
,
'REAL'
,
'RECURSIVE'
,
'REFERENCES'
,
'REFERENCES'
,
'REGEXP'
,
'REGEXP'
,
'RELEASE'
,
'RELEASE'
,
...
@@ -205,11 +215,13 @@ class MySQLKeywords extends KeywordList
...
@@ -205,11 +215,13 @@ class MySQLKeywords extends KeywordList
'REPEAT'
,
'REPEAT'
,
'REPLACE'
,
'REPLACE'
,
'REQUIRE'
,
'REQUIRE'
,
'RESIGNAL'
,
'RESTRICT'
,
'RESTRICT'
,
'RETURN'
,
'RETURN'
,
'REVOKE'
,
'REVOKE'
,
'RIGHT'
,
'RIGHT'
,
'RLIKE'
,
'RLIKE'
,
'ROWS'
,
'SCHEMA'
,
'SCHEMA'
,
'SCHEMAS'
,
'SCHEMAS'
,
'SECOND_MICROSECOND'
,
'SECOND_MICROSECOND'
,
...
@@ -218,17 +230,19 @@ class MySQLKeywords extends KeywordList
...
@@ -218,17 +230,19 @@ class MySQLKeywords extends KeywordList
'SEPARATOR'
,
'SEPARATOR'
,
'SET'
,
'SET'
,
'SHOW'
,
'SHOW'
,
'SIGNAL'
,
'SLOW'
,
'SMALLINT'
,
'SMALLINT'
,
'SONAME'
,
'SONAME'
,
'SPATIAL'
,
'SPATIAL'
,
'SPECIFIC'
,
'SPECIFIC'
,
'SQL'
,
'SQL'
,
'SQLEXCEPTION'
,
'SQLSTATE'
,
'SQLWARNING'
,
'SQL_BIG_RESULT'
,
'SQL_BIG_RESULT'
,
'SQL_CALC_FOUND_ROWS'
,
'SQL_CALC_FOUND_ROWS'
,
'SQL_SMALL_RESULT'
,
'SQL_SMALL_RESULT'
,
'SQLEXCEPTION'
,
'SQLSTATE'
,
'SQLWARNING'
,
'SSL'
,
'SSL'
,
'STARTING'
,
'STARTING'
,
'STRAIGHT_JOIN'
,
'STRAIGHT_JOIN'
,
...
...
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