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
466b0be1
Commit
466b0be1
authored
Nov 01, 2006
by
zYne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated informix, mssql and pgsql connection drivers
parent
c1f8dddb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
3 deletions
+37
-3
Informix.php
lib/Doctrine/Connection/Informix.php
+11
-0
Mssql.php
lib/Doctrine/Connection/Mssql.php
+15
-3
Pgsql.php
lib/Doctrine/Connection/Pgsql.php
+11
-0
No files found.
lib/Doctrine/Connection/Informix.php
View file @
466b0be1
...
...
@@ -31,4 +31,15 @@ class Doctrine_Connection_Informix extends Doctrine_Connection {
* @var string $driverName the name of this connection driver
*/
protected
$driverName
=
'Informix'
;
/**
* the constructor
*
* @param Doctrine_Manager $manager
* @param PDO $pdo database handle
*/
public
function
__construct
(
Doctrine_Manager
$manager
,
PDO
$pdo
)
{
// initialize all driver options
parent
::
__construct
(
$manager
,
$pdo
);
}
}
lib/Doctrine/Connection/Mssql.php
View file @
466b0be1
...
...
@@ -31,10 +31,22 @@ class Doctrine_Connection_Mssql extends Doctrine_Connection {
* @var string $driverName the name of this connection driver
*/
protected
$driverName
=
'Mssql'
;
/**
* the constructor
*
* @param Doctrine_Manager $manager
* @param PDO $pdo database handle
*/
public
function
__construct
(
Doctrine_Manager
$manager
,
PDO
$pdo
)
{
// initialize all driver options
parent
::
__construct
(
$manager
,
$pdo
);
}
/**
* returns the next value in the given sequence
* @param string $sequence
* @return integer
*
* @param string $sequence name of the sequence
* @return integer the next value in the given sequence
*/
public
function
getNextID
(
$sequence
)
{
$this
->
query
(
"INSERT INTO
$sequence
(vapor) VALUES (0)"
);
...
...
lib/Doctrine/Connection/Pgsql.php
View file @
466b0be1
...
...
@@ -31,6 +31,17 @@ class Doctrine_Connection_Pgsql extends Doctrine_Connection_Common {
* @var string $driverName the name of this connection driver
*/
protected
$driverName
=
'Pgsql'
;
/**
* the constructor
*
* @param Doctrine_Manager $manager
* @param PDO $pdo database handle
*/
public
function
__construct
(
Doctrine_Manager
$manager
,
PDO
$pdo
)
{
// initialize all driver options
parent
::
__construct
(
$manager
,
$pdo
);
}
/**
* returns the next value in the given sequence
* @param string $sequence
...
...
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