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
561b3985
Commit
561b3985
authored
Aug 23, 2015
by
Possum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typo fixes
parent
029b0bee
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
AbstractDriverException.php
lib/Doctrine/DBAL/Driver/AbstractDriverException.php
+1
-1
DB2Connection.php
lib/Doctrine/DBAL/Driver/IBMDB2/DB2Connection.php
+2
-2
AbstractSchemaManager.php
lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php
+1
-1
Index.php
lib/Doctrine/DBAL/Schema/Index.php
+1
-1
MultiTenantVisitor.php
...rine/DBAL/Sharding/SQLAzure/Schema/MultiTenantVisitor.php
+2
-2
No files found.
lib/Doctrine/DBAL/Driver/AbstractDriverException.php
View file @
561b3985
...
...
@@ -46,7 +46,7 @@ abstract class AbstractDriverException extends \Exception implements DriverExcep
* Constructor.
*
* @param string $message The driver error message.
* @param string|null $sqlState The SQLSTATE the driver is in at the time the error occured, if any.
* @param string|null $sqlState The SQLSTATE the driver is in at the time the error occur
r
ed, if any.
* @param integer|string|null $errorCode The driver specific error code if any.
*/
public
function
__construct
(
$message
,
$sqlState
=
null
,
$errorCode
=
null
)
...
...
lib/Doctrine/DBAL/Driver/IBMDB2/DB2Connection.php
View file @
561b3985
...
...
@@ -39,9 +39,9 @@ class DB2Connection implements Connection, ServerInfoAwareConnection
*/
public
function
__construct
(
array
$params
,
$username
,
$password
,
$driverOptions
=
array
())
{
$isPersist
a
nt
=
(
isset
(
$params
[
'persistent'
])
&&
$params
[
'persistent'
]
==
true
);
$isPersist
e
nt
=
(
isset
(
$params
[
'persistent'
])
&&
$params
[
'persistent'
]
==
true
);
if
(
$isPersist
a
nt
)
{
if
(
$isPersist
e
nt
)
{
$this
->
_conn
=
db2_pconnect
(
$params
[
'dbname'
],
$username
,
$password
,
$driverOptions
);
}
else
{
$this
->
_conn
=
db2_connect
(
$params
[
'dbname'
],
$username
,
$password
,
$driverOptions
);
...
...
lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php
View file @
561b3985
...
...
@@ -152,7 +152,7 @@ abstract class AbstractSchemaManager
*
* In contrast to other libraries and to the old version of Doctrine,
* this column definition does try to contain the 'primary' field for
* the reason that it is not portable ac
c
ross different RDBMS. Use
* the reason that it is not portable across different RDBMS. Use
* {@see listTableIndexes($tableName)} to retrieve the primary key
* of a table. We're a RDBMS specifies more details these are held
* in the platformDetails array.
...
...
lib/Doctrine/DBAL/Schema/Index.php
View file @
561b3985
...
...
@@ -215,7 +215,7 @@ class Index extends AbstractAsset implements Constraint
}
if
(
!
$this
->
isUnique
()
&&
!
$this
->
isPrimary
())
{
// this is a special case: If the current key is neither primary or unique, any uniqe or
// this is a special case: If the current key is neither primary or unique, any uniq
u
e or
// primary key will always have the same effect for the index and there cannot be any constraint
// overlaps. This means a primary or unique index can always fulfill the requirements of just an
// index that has no constraints.
...
...
lib/Doctrine/DBAL/Sharding/SQLAzure/Schema/MultiTenantVisitor.php
View file @
561b3985
...
...
@@ -41,8 +41,8 @@ use Doctrine\DBAL\Schema\Index;
* - You always have to work with `filtering=On` when using federations with this
* multi-tenant approach.
* - Primary keys are either using globally unique ids (GUID, Table Generator)
* or you explicitly add the ten
e
nt_id in every UPDATE or DELETE statement
* (otherwise they will affect the same-id rows from other ten
e
nts as well).
* or you explicitly add the ten
a
nt_id in every UPDATE or DELETE statement
* (otherwise they will affect the same-id rows from other ten
a
nts as well).
* SQLAzure throws errors when you try to create IDENTIY columns on federated
* tables.
*
...
...
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