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
f0f408c4
Commit
f0f408c4
authored
Jan 03, 2014
by
Benjamin Eberlei
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #488 from deeky666/fix-sqlanywhere16-integer-type-mapping
Fix integer type mapping in SQL Anywhere 16
parents
85f0fde5
b3cb9ed7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
SQLAnywherePlatform.php
lib/Doctrine/DBAL/Platforms/SQLAnywherePlatform.php
+1
-0
SQLAnywherePlatformTest.php
...Doctrine/Tests/DBAL/Platforms/SQLAnywherePlatformTest.php
+3
-0
No files found.
lib/Doctrine/DBAL/Platforms/SQLAnywherePlatform.php
View file @
f0f408c4
...
...
@@ -1500,6 +1500,7 @@ class SQLAnywherePlatform extends AbstractPlatform
'double'
=>
'float'
,
'float'
=>
'float'
,
'int'
=>
'integer'
,
'integer'
=>
'integer'
,
'unsigned int'
=>
'integer'
,
'numeric'
=>
'decimal'
,
'smallint'
=>
'smallint'
,
...
...
tests/Doctrine/Tests/DBAL/Platforms/SQLAnywherePlatformTest.php
View file @
f0f408c4
...
...
@@ -755,6 +755,9 @@ class SQLAnywherePlatformTest extends AbstractPlatformTestCase
public
function
testInitializesDoctrineTypeMappings
()
{
$this
->
assertTrue
(
$this
->
_platform
->
hasDoctrineTypeMappingFor
(
'integer'
));
$this
->
assertSame
(
'integer'
,
$this
->
_platform
->
getDoctrineTypeMapping
(
'integer'
));
$this
->
assertTrue
(
$this
->
_platform
->
hasDoctrineTypeMappingFor
(
'binary'
));
$this
->
assertSame
(
'binary'
,
$this
->
_platform
->
getDoctrineTypeMapping
(
'binary'
));
...
...
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